Searched refs:NULL_POSITION (Results 1 - 21 of 21) sorted by relevance

/freebsd-10.0-release/contrib/less/
H A Dinput.c56 if (curr_pos == NULL_POSITION)
59 return (NULL_POSITION);
76 return (NULL_POSITION);
88 return (NULL_POSITION);
113 return (NULL_POSITION);
136 return (NULL_POSITION);
148 return (NULL_POSITION);
186 return (NULL_POSITION);
231 return (NULL_POSITION);
258 if (curr_pos == NULL_POSITION || curr_po
[all...]
H A Dforwback.c64 if (ch_length() == NULL_POSITION)
77 return (pos == NULL_POSITION || pos == ch_length());
94 return (pos == NULL_POSITION || pos == 0);
118 * real line. If nblank > 0, the pos must be NULL_POSITION.
209 if (pos == NULL_POSITION)
218 if (!force && position(TOP) != NULL_POSITION)
245 pos == NULL_POSITION && !top_scroll &&
308 if (pos == NULL_POSITION)
363 if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1)))
380 } while (pos == NULL_POSITION);
[all...]
H A Dposition.c99 table[i] = NULL_POSITION;
121 scrpos.pos = NULL_POSITION;
125 if (scrpos.pos != NULL_POSITION)
165 if (table[i] != NULL_POSITION && table[i] != 0)
189 if (table[i] != NULL_POSITION)
198 scrpos->pos = NULL_POSITION;
H A Dlinenum.c277 if (pos == NULL_POSITION)
330 if (cpos == NULL_POSITION)
362 if (cpos == NULL_POSITION)
377 * Return NULL_POSITION if we can't figure it out.
409 return (NULL_POSITION);
417 return (NULL_POSITION);
418 if (cpos == NULL_POSITION)
419 return (NULL_POSITION);
427 return (NULL_POSITION);
435 return (NULL_POSITION);
[all...]
H A Djump.c53 if (pos == NULL_POSITION)
80 if (pos != NULL_POSITION && ch_seek(pos) == 0)
126 if ((len = ch_length()) == NULL_POSITION)
131 if ((len = ch_length()) == NULL_POSITION)
224 if (tpos == NULL_POSITION || pos >= tpos)
234 if (bpos != NULL_POSITION && pos <= bpos)
249 if (pos == NULL_POSITION)
275 if (pos == NULL_POSITION)
H A Dprompt.c168 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1)
170 if (pos == NULL_POSITION)
193 return (curr_byte(where) != NULL_POSITION);
205 return (linenums && ch_length() != NULL_POSITION);
219 return (curr_byte(where) != NULL_POSITION &&
227 return (ch_length() != NULL_POSITION);
265 if (pos != NULL_POSITION)
283 if (len == NULL_POSITION)
325 if (len == NULL_POSITION || len == ch_zero() ||
343 if (pos != NULL_POSITION
[all...]
H A Dsearch.c54 static struct hilite hilite_anchor = { NULL, NULL_POSITION, NULL_POSITION };
55 static struct hilite filter_anchor = { NULL, NULL_POSITION, NULL_POSITION };
246 if (pos == NULL_POSITION)
270 if (start_attnpos == NULL_POSITION)
274 start_attnpos = end_attnpos = NULL_POSITION;
287 if (pos == NULL_POSITION)
291 (epos == NULL_POSITION || epos > old_start_attnpos))
338 prep_startpos = prep_endpos = NULL_POSITION;
[all...]
H A Dmark.c43 marks[i].m_scrpos.pos = NULL_POSITION;
121 if (m->m_scrpos.pos == NULL_POSITION)
170 if (scrpos.pos == NULL_POSITION)
195 if (m == &marks[LASTMARK] && m->m_scrpos.pos == NULL_POSITION)
235 return (NULL_POSITION);
240 return (NULL_POSITION);
256 marks[i].m_scrpos.pos = NULL_POSITION;
H A Dbrac.c46 if (pos == NULL_POSITION || ch_seek(pos))
H A Dlsystem.c265 if (mpos == NULL_POSITION)
268 if (tpos == NULL_POSITION)
276 else if (bpos == NULL_POSITION)
330 while (epos == NULL_POSITION || spos++ <= epos)
H A Dch.c226 if ((len = ch_length()) != NULL_POSITION && pos >= len)
398 if (!tried && ch_fsize == NULL_POSITION)
486 if (pos < ch_zero() || (len != NULL_POSITION && pos > len))
526 if (len != NULL_POSITION)
579 return (NULL_POSITION);
581 return (NULL_POSITION);
596 return (NULL_POSITION);
680 ch_fsize = NULL_POSITION;
713 ch_fsize = NULL_POSITION;
846 thisfile->fsize = NULL_POSITION;
[all...]
H A Dmain.c28 public POSITION start_attnpos = NULL_POSITION;
29 public POSITION end_attnpos = NULL_POSITION;
280 if (initial_scrpos.pos == NULL_POSITION)
H A Dtags.c205 return (NULL_POSITION); /* No gtags loaded! */
413 return (NULL_POSITION);
424 if (pos == NULL_POSITION)
430 return (NULL_POSITION);
670 return (NULL_POSITION); /* No gtags loaded! */
H A Dline.c194 if (start_attnpos != NULL_POSITION &&
589 if (highest_hilite != NULL_POSITION &&
1142 if (curr_pos == NULL_POSITION || ch_seek(curr_pos) ||
1144 return (NULL_POSITION);
1191 if (curr_pos == NULL_POSITION || curr_pos <= ch_zero() ||
1193 return (NULL_POSITION);
H A Difile.c48 { NULL_POSITION, 0 } };
117 p->h_scrpos.pos = NULL_POSITION;
271 * If no position has been associated with the file, return NULL_POSITION.
H A Dcommand.c654 if (initial_scrpos.pos == NULL_POSITION)
979 highest_hilite = until_hilite ? curr_len : NULL_POSITION;
1595 if (pos != NULL_POSITION)
1616 if (pos != NULL_POSITION)
H A Ddecode.c674 if (len == NULL_POSITION || len < 3)
H A Dless.h226 #define NULL_POSITION ((POSITION)(-1)) macro
H A Doptfunc.c313 if (edit_tagfile() || (pos = tagsearch()) == NULL_POSITION)
H A Dedit.c167 if (scrpos.pos != NULL_POSITION)
H A Dfilename.c514 return (NULL_POSITION);

Completed in 214 milliseconds