Lines Matching refs:chunk
106 int chunk; in GetCrc32() local
109 chunk = std::min(len, COPY_BUF_SIZE); in GetCrc32()
110 ret = read_all(fd, copybuf, chunk); in GetCrc32()
114 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in GetCrc32()
115 len -= chunk; in GetCrc32()
209 int chunk; in process_fill_chunk() local
237 chunk = std::min(len, COPY_BUF_SIZE); in process_fill_chunk()
238 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_fill_chunk()
239 len -= chunk; in process_fill_chunk()
258 int chunk = std::min(len, COPY_BUF_SIZE); in process_skip_chunk() local
259 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_skip_chunk()
260 len -= chunk; in process_skip_chunk()