HomeSort by: relevance | last modified time | path
    Searched refs:NULL_POSITION (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/distrib/utils/more/
input.c 71 if (curr_pos == NULL_POSITION || ch_seek(curr_pos))
72 return (NULL_POSITION);
76 return (NULL_POSITION);
82 return (NULL_POSITION);
118 return (NULL_POSITION);
141 if (curr_pos == NULL_POSITION || curr_pos <= (off_t)0 ||
143 return (NULL_POSITION);
164 return (NULL_POSITION);
166 return (NULL_POSITION);
177 return (NULL_POSITION);
    [all...]
position.c 127 for (a = 0; a < sc_height && table[a] == NULL_POSITION; a++);
130 table[a] = NULL_POSITION;
151 table[i] = NULL_POSITION;
prim.c 81 if (pos == NULL_POSITION || pos == ch_length())
160 if (pos == NULL_POSITION) {
166 if (position(TOP) == NULL_POSITION) {
223 if (pos == NULL_POSITION)
271 if (pos == NULL_POSITION)
296 if (pos == NULL_POSITION)
414 if ((len = ch_length()) == NULL_POSITION)
475 if (tpos != NULL_POSITION && pos < tpos) {
525 marks[i] = NULL_POSITION;
575 if (pos == NULL_POSITION)
    [all...]
less.h 35 #define NULL_POSITION ((off_t)(-1))
line.c 422 if (curr_pos == NULL_POSITION || ch_seek(curr_pos) ||
424 return (NULL_POSITION);
466 if (curr_pos == NULL_POSITION || curr_pos <= (off_t)0 ||
468 return (NULL_POSITION);
linenum.c 277 if (pos == NULL_POSITION)
325 if (sigs || cpos == NULL_POSITION)
357 if (sigs || cpos == NULL_POSITION)
389 if ((pos = position(where)) == NULL_POSITION)
main.c 91 initial_pos = NULL_POSITION;
186 if (initial_pos != NULL_POSITION)
201 if (quit_at_eof || position(TOP) == NULL_POSITION)
command.c 163 if (position(TOP) == NULL_POSITION) {
164 if (forw_line((off_t)0) == NULL_POSITION)
193 if ((pos = position(BOTTOM)) != NULL_POSITION) {
219 (pos = position(BOTTOM)) != NULL_POSITION &&
242 if (cp > cmdbuf && position(TOP) == NULL_POSITION) {
ch.c 424 ch_fsize = NULL_POSITION;
  /src/external/bsd/less/dist/
position.c 96 table[i] = NULL_POSITION;
117 scrpos.pos = NULL_POSITION;
121 if (scrpos.pos != NULL_POSITION)
155 if (table[i] != NULL_POSITION && table[i] != 0)
184 if (table[i] == NULL_POSITION) {
185 scrpos->pos = NULL_POSITION;
198 if (table[i] != NULL_POSITION)
209 scrpos->pos = NULL_POSITION;
input.c 50 int hl_before = (chop_line() && disp_pos != NULL_POSITION) ?
99 if (curr_pos == NULL_POSITION)
102 return (NULL_POSITION);
122 return (NULL_POSITION);
134 return (NULL_POSITION);
159 return (NULL_POSITION);
191 return (NULL_POSITION);
194 wrap_pos = NULL_POSITION;
206 return (NULL_POSITION);
247 return (NULL_POSITION);
    [all...]
jump.c 59 if (pos == NULL_POSITION)
82 if (end != NULL_POSITION && end > 0)
101 if (pos != NULL_POSITION && ch_seek(pos) == 0)
129 if (scrpos.pos == NULL_POSITION)
147 if ((len = ch_length()) == NULL_POSITION)
152 if ((len = ch_length()) == NULL_POSITION)
240 if (tpos == NULL_POSITION || pos >= tpos)
250 if (bpos != NULL_POSITION && pos <= bpos)
265 if (pos == NULL_POSITION)
291 if (pos == NULL_POSITION)
    [all...]
forwback.c 80 if (ch_length() == NULL_POSITION)
93 return (pos == NULL_POSITION || pos == ch_length());
109 return (pos == NULL_POSITION || pos == 0);
190 if (pos == NULL_POSITION)
213 * real line. If nblank > 0, the pos must be NULL_POSITION.
236 if (pos != NULL_POSITION && (hilite_search == OPT_ONPLUS || is_filtering() || status_col)) {
304 if (pos == NULL_POSITION)
312 if (!force && position(TOP) != NULL_POSITION)
339 pos == NULL_POSITION && !top_scroll &&
409 if (pos != NULL_POSITION && (hilite_search == OPT_ONPLUS || is_filtering() || status_col))
    [all...]
linenum.c 273 if (pos == NULL_POSITION)
326 if (cpos == NULL_POSITION)
357 if (cpos == NULL_POSITION)
372 * Return NULL_POSITION if we can't figure it out.
402 return (NULL_POSITION);
410 return (NULL_POSITION);
411 if (cpos == NULL_POSITION)
412 return (NULL_POSITION);
420 return (NULL_POSITION);
428 return (NULL_POSITION);
    [all...]
prompt.c 157 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1)
159 if (pos == NULL_POSITION)
179 return (curr_byte(where) != NULL_POSITION);
194 return (linenums && ch_length() != NULL_POSITION);
208 return (curr_byte(where) != NULL_POSITION &&
216 return (ch_length() != NULL_POSITION);
251 if (pos != NULL_POSITION)
269 if (len == NULL_POSITION)
316 if (len == NULL_POSITION || len == ch_zero() ||
334 if (pos != NULL_POSITION && len > 0
    [all...]
search.c 274 if (pos == NULL_POSITION)
300 if (start_attnpos == NULL_POSITION)
304 start_attnpos = end_attnpos = NULL_POSITION;
317 if (pos == NULL_POSITION)
321 (epos == NULL_POSITION || epos > old_start_attnpos))
381 prep_startpos = prep_endpos = NULL_POSITION;
495 if (epos != NULL_POSITION && epos <= n->r.hl_startpos)
570 start_attnpos != NULL_POSITION &&
572 (epos == NULL_POSITION || epos >= start_attnpos))
992 if (scrpos.pos == NULL_POSITION)
    [all...]
brac.c 41 if (pos == NULL_POSITION || ch_seek(pos))
lsystem.c 263 if (mpos == NULL_POSITION)
266 if (tpos == NULL_POSITION)
274 else if (bpos == NULL_POSITION)
323 while (epos == NULL_POSITION || spos++ <= epos)
ch.c 229 if ((len = ch_length()) != NULL_POSITION && pos >= len)
384 if (!tried && ch_fsize == NULL_POSITION)
470 if (pos < ch_zero() || (len != NULL_POSITION && pos > len))
509 if (len != NULL_POSITION)
585 return (NULL_POSITION);
587 return (NULL_POSITION);
601 return (NULL_POSITION);
681 ch_fsize = NULL_POSITION;
719 ch_fsize = NULL_POSITION;
818 if (ch_fsize != NULL_POSITION && ch_fsize < ch_fpos
    [all...]
mark.c 81 cmark(&marks[i], NULL_IFILE, NULL_POSITION, -1);
177 if (m->m_scrpos.pos == NULL_POSITION)
207 if (scrpos.pos == NULL_POSITION)
226 if (m->m_scrpos.pos == NULL_POSITION)
231 m->m_scrpos.pos = NULL_POSITION;
245 if (scrpos.pos == NULL_POSITION)
269 if (m == &marks[LASTMARK] && m->m_scrpos.pos == NULL_POSITION)
301 return (NULL_POSITION);
306 return (NULL_POSITION);
340 marks[i].m_scrpos.pos = NULL_POSITION;
    [all...]
line.c 256 line_pos = NULL_POSITION;
346 else if (start_attnpos != NULL_POSITION &&
700 if (pos == NULL_POSITION)
717 if (highest_hilite != NULL_POSITION && pos != NULL_POSITION && pos > highest_hilite)
769 if (line_pos == NULL_POSITION)
1340 if (curr_pos == NULL_POSITION || ch_seek(curr_pos) ||
1342 return (NULL_POSITION);
1385 if (curr_pos == NULL_POSITION || curr_pos <= ch_zero() ||
1387 return (NULL_POSITION);
    [all...]
main.c 29 public POSITION start_attnpos = NULL_POSITION;
30 public POSITION end_attnpos = NULL_POSITION;
274 if (initial_scrpos.pos == NULL_POSITION)
tags.c 200 return (NULL_POSITION); /* No gtags loaded! */
426 return (NULL_POSITION);
437 if (pos == NULL_POSITION)
443 return (NULL_POSITION);
679 return (NULL_POSITION); /* No gtags loaded! */
ifile.c 53 { NULL_POSITION, 0 } };
112 p->h_scrpos.pos = NULL_POSITION;
281 * If no position has been associated with the file, return NULL_POSITION.
edit.c 259 if (pos == NULL_POSITION)
309 if (sig != SIGPIPE || ch_length() != NULL_POSITION)
365 if (scrpos.pos != NULL_POSITION)

Completed in 49 milliseconds

1 2