Searched refs:prevline (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/ |
D | uniq.c | 324 struct linebuffer *thisline, *prevline; in check_file() local 334 prevline = &lb2; in check_file() 337 initbuffer (prevline); in check_file() 387 SWAP_LINES (prevline, thisline); in check_file() 403 if (readlinebuffer_delim (prevline, stdin, delimiter) == 0) in check_file() 405 prevfield = find_field (prevline); in check_file() 406 prevlen = prevline->length - 1 - (prevfield - prevline->buffer); in check_file() 449 writeline (prevline, match, match_count); in check_file() 450 SWAP_LINES (prevline, thisline); in check_file() 458 writeline (prevline, false, match_count); in check_file()
|
D | join.c | 89 static struct line *prevline[2] = {nullptr, nullptr}; variable 452 if (line == prevline[which - 1]) in get_line() 474 if (prevline[which - 1]) in get_line() 475 check_order (prevline[which - 1], line, which); in get_line() 477 prevline[which - 1] = line; in get_line() 684 prevline[0] = nullptr; in join() 685 prevline[1] = nullptr; in join()
|