Lines Matching refs:lines
34 long lines;
73 static int try_lseek(int fd, long bytes, long lines) in try_lseek() argument
92 while (lines && pos) { in try_lseek()
113 else if (list->data[offset] == '\n' && !++lines) { in try_lseek()
134 long bytes = TT.bytes, lines = TT.lines; in do_tail() local
144 if (bytes<0 || lines<0) { in do_tail()
149 if (CFG_TAIL_SEEK && try_lseek(fd, bytes, lines)) return; in do_tail()
176 if (linepop) lines++; in do_tail()
179 if (lines > 0) { in do_tail()
187 lines--; in do_tail()
203 while (bytes > 1 || lines > 1) { in do_tail()
205 if (toybuf[offset++] == '\n') lines--; in do_tail()
223 TT.lines = atolx(*(args++)); in tail_main()
228 TT.lines = -10; in tail_main()