Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dtac-pipe.c22 #define BUFFER_SIZE (8) macro
61 char *buf = (char *) malloc (BUFFER_SIZE); in buf_init_from_stdin()
72 bytes_read = full_read (STDIN_FILENO, buf, BUFFER_SIZE); in buf_init_from_stdin()
86 if (bytes_read < BUFFER_SIZE) in buf_init_from_stdin()
Dwc.c47 #define BUFFER_SIZE (16 * 1024) macro
265 char buf[BUFFER_SIZE + 1]; in wc_lines()
266 ssize_t bytes_read = read (fd, buf, BUFFER_SIZE); in wc_lines()
307 char buf[BUFFER_SIZE + 1]; in wc()
389 (bytes_read = read (fd, buf, BUFFER_SIZE)); in wc()
416 ((bytes_read = read (fd, buf + prev, BUFFER_SIZE - prev)) in wc()
451 if (n == (size_t) -2 && plim - p < BUFFER_SIZE in wc()
555 for (ssize_t bytes_read; (bytes_read = read (fd, buf, BUFFER_SIZE)); ) in wc()