Lines Matching refs:CHUNK
66 size_t const toRead = CHUNK; in Compress()
74 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in Compress()
75 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, read - src_pos) != 0) { in Compress()
81 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in Compress()
82 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, toRead) != 0) { in Compress()
93 cStream.avail_out = CHUNK; in Compress()
98 unsigned have = CHUNK - cStream.avail_out; in Compress()
136 size_t const toRead = CHUNK; in Compress()
144 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in Compress()
145 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, read - src_pos) != 0) { in Compress()
151 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in Compress()
152 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, toRead) != 0) { in Compress()
161 ZSTD_outBuffer output = {buffOut, CHUNK, 0}; in Compress()