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

/freebsd-13-stable/contrib/less/
H A Dinput.c58 if (curr_pos == NULL_POSITION)
61 return (NULL_POSITION);
81 return (NULL_POSITION);
93 return (NULL_POSITION);
118 return (NULL_POSITION);
141 return (NULL_POSITION);
154 return (NULL_POSITION);
193 return (NULL_POSITION);
250 return (NULL_POSITION);
285 if (curr_pos == NULL_POSITION || curr_po
[all...]
H A Dposition.c100 table[i] = NULL_POSITION;
122 scrpos.pos = NULL_POSITION;
126 if (scrpos.pos != NULL_POSITION)
166 if (table[i] != NULL_POSITION && table[i] != 0)
198 if (table[i] == NULL_POSITION) {
199 scrpos->pos = NULL_POSITION;
212 if (table[i] != NULL_POSITION)
223 scrpos->pos = NULL_POSITION;
H A Djump.c53 if (pos == NULL_POSITION)
77 if (end != NULL_POSITION && end > 0)
98 if (pos != NULL_POSITION && ch_seek(pos) == 0)
127 if (scrpos.pos == NULL_POSITION)
148 if ((len = ch_length()) == NULL_POSITION)
153 if ((len = ch_length()) == NULL_POSITION)
247 if (tpos == NULL_POSITION || pos >= tpos)
257 if (bpos != NULL_POSITION && pos <= bpos)
272 if (pos == NULL_POSITION)
298 if (pos == NULL_POSITION)
[all...]
H A Dlinenum.c279 if (pos == NULL_POSITION)
332 if (cpos == NULL_POSITION)
363 if (cpos == NULL_POSITION)
378 * Return NULL_POSITION if we can't figure it out.
410 return (NULL_POSITION);
418 return (NULL_POSITION);
419 if (cpos == NULL_POSITION)
420 return (NULL_POSITION);
428 return (NULL_POSITION);
436 return (NULL_POSITION);
[all...]
H A Dforwback.c76 if (ch_length() == NULL_POSITION)
89 return (pos == NULL_POSITION || pos == ch_length());
106 return (pos == NULL_POSITION || pos == 0);
130 * real line. If nblank > 0, the pos must be NULL_POSITION.
230 if (pos == NULL_POSITION)
238 if (!force && position(TOP) != NULL_POSITION)
265 pos == NULL_POSITION && !top_scroll &&
337 if (pos == NULL_POSITION)
392 if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1)))
409 } while (pos == NULL_POSITION);
[all...]
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);
208 return (linenums && ch_length() != NULL_POSITION);
222 return (curr_byte(where) != NULL_POSITION &&
230 return (ch_length() != NULL_POSITION);
269 if (pos != NULL_POSITION)
287 if (len == NULL_POSITION)
334 if (len == NULL_POSITION || len == ch_zero() ||
352 if (pos != NULL_POSITION
[all...]
H A Dsearch.c288 if (pos == NULL_POSITION)
313 if (start_attnpos == NULL_POSITION)
317 start_attnpos = end_attnpos = NULL_POSITION;
330 if (pos == NULL_POSITION)
334 (epos == NULL_POSITION || epos > old_start_attnpos))
395 prep_startpos = prep_endpos = NULL_POSITION;
539 return (n != NULL && (epos == NULL_POSITION || epos > n->r.hl_startpos));
623 start_attnpos != NULL_POSITION &&
625 (epos == NULL_POSITION || epos >= start_attnpos))
1046 if (scrpos.pos == NULL_POSITION)
[all...]
H A Dbrac.c46 if (pos == NULL_POSITION || ch_seek(pos))
H A Dlsystem.c272 if (mpos == NULL_POSITION)
275 if (tpos == NULL_POSITION)
283 else if (bpos == NULL_POSITION)
336 while (epos == NULL_POSITION || spos++ <= epos)
H A Dch.c226 if ((len = ch_length()) != NULL_POSITION && pos >= len)
329 (curr_pos != NULL_POSITION && st.st_size < curr_pos)))
395 if (!tried && ch_fsize == NULL_POSITION)
484 if (pos < ch_zero() || (len != NULL_POSITION && pos > len))
524 if (len != NULL_POSITION)
603 return (NULL_POSITION);
605 return (NULL_POSITION);
620 return (NULL_POSITION);
704 ch_fsize = NULL_POSITION;
737 ch_fsize = NULL_POSITION;
[all...]
H A Dmark.c82 cmark(&marks[i], NULL_IFILE, NULL_POSITION, -1);
187 if (m->m_scrpos.pos == NULL_POSITION)
222 if (scrpos.pos == NULL_POSITION)
243 if (m->m_scrpos.pos == NULL_POSITION)
248 m->m_scrpos.pos = NULL_POSITION;
263 if (scrpos.pos == NULL_POSITION)
289 if (m == &marks[LASTMARK] && m->m_scrpos.pos == NULL_POSITION)
323 return (NULL_POSITION);
328 return (NULL_POSITION);
366 marks[i].m_scrpos.pos = NULL_POSITION;
[all...]
H A Dmain.c28 public POSITION start_attnpos = NULL_POSITION;
29 public POSITION end_attnpos = NULL_POSITION;
276 if (initial_scrpos.pos == NULL_POSITION)
H A Dtags.c209 return (NULL_POSITION); /* No gtags loaded! */
438 return (NULL_POSITION);
449 if (pos == NULL_POSITION)
455 return (NULL_POSITION);
697 return (NULL_POSITION); /* No gtags loaded! */
H A Difile.c51 { NULL_POSITION, 0 } };
121 p->h_scrpos.pos = NULL_POSITION;
313 * If no position has been associated with the file, return NULL_POSITION.
H A Dline.c313 if (start_attnpos != NULL_POSITION &&
688 if (highest_hilite != NULL_POSITION && pos > highest_hilite)
1302 if (curr_pos == NULL_POSITION || ch_seek(curr_pos) ||
1304 return (NULL_POSITION);
1351 if (curr_pos == NULL_POSITION || curr_pos <= ch_zero() ||
1353 return (NULL_POSITION);
1425 for (line = 0; line < sc_height && pos != NULL_POSITION; line++)
H A Dcommand.c739 if (initial_scrpos.pos == NULL_POSITION)
1153 highest_hilite = until_hilite ? curr_len : NULL_POSITION;
1810 if (pos != NULL_POSITION)
1835 if (pos != NULL_POSITION)
H A Dless.h235 #define NULL_POSITION ((POSITION)(-1)) macro
H A Ddecode.c843 if (len == NULL_POSITION || len < 3)
H A Dedit.c187 if (scrpos.pos != NULL_POSITION)
H A Doptfunc.c337 if (edit_tagfile() || (pos = tagsearch()) == NULL_POSITION)
H A Dfilename.c516 return (NULL_POSITION);

Completed in 121 milliseconds