Lines Matching refs:bytes
212 uintmax_t bytes, in write_counts() argument
238 printf (format_int, number_width, umaxtostr (bytes, buf)); in write_counts()
260 intmax_t lines = 0, bytes = 0; in wc_lines() local
268 return (struct wc_lines) { bytes_read == 0 ? 0 : errno, lines, bytes }; in wc_lines()
270 bytes += bytes_read; in wc_lines()
308 intmax_t lines, words, chars, bytes, linelength; in wc() local
312 lines = words = chars = bytes = linelength = 0; in wc()
369 bytes = end_pos < current_pos ? 0 : end_pos - current_pos; in wc()
370 if (bytes && 0 <= lseek (fd, bytes, SEEK_CUR)) in wc()
373 bytes = 0; in wc()
381 bytes = hi_pos - current_pos; in wc()
390 bytes += bytes_read) in wc()
405 bytes = w.bytes; in wc()
426 bytes += bytes_read; in wc()
563 bytes += bytes_read; in wc()
608 chars = bytes; in wc()
611 write_counts (lines, words, chars, bytes, linelength, file_x); in wc()
616 total_bytes_overflow |= ckd_add (&total_bytes, total_bytes, bytes); in wc()