Searched refs:line_buf (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/ |
D | nl.c | 119 static struct linebuffer line_buf; variable 346 if (1 < line_buf.length || ++blank_lines == blank_join) in proc_text() 358 if (1 < line_buf.length) in proc_text() 367 switch (re_search (current_regex, line_buf.buffer, line_buf.length - 1, in proc_text() 368 0, line_buf.length - 1, nullptr)) in proc_text() 382 fwrite (line_buf.buffer, sizeof (char), line_buf.length, stdout); in proc_text() 390 size_t len = line_buf.length - 1; in check_section() 393 || memcmp (line_buf.buffer, section_del, 2)) in check_section() 396 && !memcmp (line_buf.buffer, header_del, header_del_len)) in check_section() 399 && !memcmp (line_buf.buffer, body_del, body_del_len)) in check_section() [all …]
|
D | cat.c | 61 static char line_buf[LINE_COUNTER_BUF_LEN] = variable 70 static char *line_num_print = line_buf + LINE_COUNTER_BUF_LEN - 8; 73 static char *line_num_start = line_buf + LINE_COUNTER_BUF_LEN - 3; 76 static char *line_num_end = line_buf + LINE_COUNTER_BUF_LEN - 3; 144 if (line_num_start > line_buf) in next_line_num() 147 *line_buf = '>'; in next_line_num()
|