Searched refs:total_bytes (Results 1 – 4 of 4) sorted by relevance
45 uintmax_t total_bytes = 0; /* The number of bytes. */ in bsd_sum_stream() local83 if (total_bytes + sum < total_bytes) in bsd_sum_stream()88 total_bytes += sum; in bsd_sum_stream()99 if (total_bytes + sum < total_bytes) in bsd_sum_stream()104 total_bytes += sum; in bsd_sum_stream()107 *length = total_bytes; in bsd_sum_stream()122 uintmax_t total_bytes = 0; in sysv_sum_stream() local159 if (total_bytes + sum < total_bytes) in sysv_sum_stream()164 total_bytes += sum; in sysv_sum_stream()171 if (total_bytes + sum < total_bytes) in sysv_sum_stream()[all …]
222 uintmax_t total_bytes = 0; in crc_sum_stream() local233 if (! cksum_fp (stream, &crc, &total_bytes)) in crc_sum_stream()236 *length = total_bytes; in crc_sum_stream()238 for (; total_bytes; total_bytes >>= 8) in crc_sum_stream()239 crc = (crc << 8) ^ crctab[0][((crc >> 24) ^ total_bytes) & 0xFF]; in crc_sum_stream()
59 static uintmax_t total_bytes; variable616 total_bytes_overflow |= ckd_add (&total_bytes, total_bytes, bytes); in wc()749 total_lines = total_words = total_chars = total_bytes = max_line_length = 0; in main()963 total_bytes = UINTMAX_MAX; in main()968 write_counts (total_lines, total_words, total_chars, total_bytes, in main()
755 size_t total_bytes = 0; /* Total characters in all buffers. */ in pipe_bytes() local774 total_bytes += tmp->nbytes; in pipe_bytes()791 if (total_bytes - first->nbytes > n_bytes) in pipe_bytes()794 total_bytes -= first->nbytes; in pipe_bytes()815 for (tmp = first; total_bytes - tmp->nbytes > n_bytes; tmp = tmp->next) in pipe_bytes()816 total_bytes -= tmp->nbytes; in pipe_bytes()820 if (total_bytes > n_bytes) in pipe_bytes()821 i = total_bytes - n_bytes; in pipe_bytes()