Searched refs:lp (Results 1 – 3 of 3) sorted by relevance
134 line_ptr_decrement (const Buf *x, const Line_ptr *lp) in line_ptr_decrement() argument138 if (lp->ptr > x->p[lp->i].start) in line_ptr_decrement()140 lp_new.i = lp->i; in line_ptr_decrement()141 lp_new.ptr = lp->ptr - 1; in line_ptr_decrement()145 affirm (lp->i > 0); in line_ptr_decrement()146 lp_new.i = lp->i - 1; in line_ptr_decrement()147 lp_new.ptr = ONE_PAST_END (x, lp->i - 1) - 1; in line_ptr_decrement()153 line_ptr_increment (const Buf *x, const Line_ptr *lp) in line_ptr_increment() argument157 affirm (lp->ptr <= ONE_PAST_END (x, lp->i) - 1); in line_ptr_increment()158 if (lp->ptr < ONE_PAST_END (x, lp->i) - 1) in line_ptr_increment()[all …]
258 char const *lp = line->buffer; in find_field() local264 while (i < size && field_sep (lp[i])) in find_field()266 while (i < size && !field_sep (lp[i])) in find_field()
280 lp=$(printf "%s\n%s\n" "$p1" "$p2" | LANG=C sort -n | tail -n1)281 if [ "$lp" = "$p2" ]; then