Searched refs:buffer_end (Results 1 – 4 of 4) sorted by relevance
/coreutils/src/ |
D | head.c | 542 char *buffer_end = tmp->buffer + n_read; in elide_tail_lines_pipe() local 543 *buffer_end = line_end; in elide_tail_lines_pipe() 545 while ((p = rawmemchr (p, line_end)) < buffer_end) in elide_tail_lines_pipe() 611 char const *buffer_end = tmp->buffer + tmp->nbytes; in elide_tail_lines_pipe() local 613 while (n && (p = memchr (p, line_end, buffer_end - p))) in elide_tail_lines_pipe()
|
D | tail.c | 639 char const *buffer_end = tmp->buffer + n_read; in pipe_lines() local 641 while ((p = memchr (p, line_end, buffer_end - p))) in pipe_lines() 709 char const *buffer_end = tmp->buffer + tmp->nbytes; in pipe_lines() local 722 xwrite_stdout (beg, buffer_end - beg); in pipe_lines() 897 char *buffer_end = buffer + bytes_read; in start_lines() local 902 while ((p = memchr (p, line_end, buffer_end - p))) in start_lines() 907 if (p < buffer_end) in start_lines() 908 xwrite_stdout (p, buffer_end - p); in start_lines()
|
D | csplit.c | 348 char *buffer_end = line_start + b->bytes_used; in record_line_starts() local 349 *buffer_end = '\n'; in record_line_starts() 354 if (line_end == buffer_end) in record_line_starts() 363 idx_t bytes_left = buffer_end - line_start; in record_line_starts()
|
D | ptx.c | 1253 char const *buffer_end; /* end of buffered file for this occurs */ in define_all_fields() local 1267 buffer_end = text_buffers[occurs->file_index].end; in define_all_fields() 1326 SKIP_WHITE (before.start, buffer_end); in define_all_fields() 1341 SKIP_WHITE (tail.start, buffer_end); in define_all_fields()
|