Lines Matching refs:pos
61 POSITION pos;
72 pos = position(BOTTOM_PLUS_ONE);
73 if (pos == NULL_POSITION || pos == ch_length())
94 * starting at position pos in the input file.
98 * real line. If nblank > 0, the pos must be NULL_POSITION.
102 forw(n, pos, force, only_last, nblank)
104 POSITION pos;
130 if (top_scroll && n >= sc_height - 1 && pos != ch_length())
139 add_forw_pos(pos);
147 if (pos != position(BOTTOM_PLUS_ONE) || empty_screen())
155 add_forw_pos(pos);
182 pos = ch_zero();
188 pos = forw_line(pos);
189 if (pos == NULL_POSITION)
210 add_forw_pos(pos);
224 if (first_time && pos == NULL_POSITION && !top_scroll &&
276 back(n, pos, force, only_last)
278 POSITION pos;
293 pos = back_line(pos);
294 if (pos == NULL_POSITION)
306 add_back_pos(pos);
336 POSITION pos;
349 pos = position(BOTTOM_PLUS_ONE);
350 if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1)))
360 pos = ch_zero();
366 pos = position(BOTTOM_PLUS_ONE);
367 } while (pos == NULL_POSITION);
376 forw(n, pos, force, only_last, 0);
389 POSITION pos;
391 pos = position(TOP);
392 if (pos == NULL_POSITION && (!force || position(BOTTOM) == 0))
397 back(n, pos, force, only_last);