Searched refs:toRead (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/sys/contrib/zstd/examples/
H A Dstreaming_compression.c47 size_t const toRead = buffInSize; local
49 size_t read = fread_orDie(buffIn, toRead, fin);
51 * If the read may not be finished (read == toRead) we use
56 int const lastChunk = (read < toRead);
H A Dstreaming_decompression.c35 size_t const toRead = buffInSize; local
39 while ( (read = fread_orDie(buffIn, toRead, fin)) ) {
H A Dmultiple_streaming_compression.c69 size_t const toRead = ress.buffInSize; local
71 while ( (read = fread_orDie(ress.buffIn, toRead, fin)) ) {
75 int const lastChunk = (read < toRead);
H A Dstreaming_compression_thread_pool.c64 size_t const toRead = buffInSize; local
66 size_t read = fread_orDie(buffIn, toRead, fin);
68 * If the read may not be finished (read == toRead) we use
73 int const lastChunk = (read < toRead);
/freebsd-13-stable/sys/contrib/zstd/programs/
H A Dfileio.c2107 size_t const toRead = toDecode - ress->srcBufferLoaded; local
2109 ress->srcBufferLoaded += fread(startPosition, 1, toRead, finput);
2154 size_t const toRead = toDecode - ress->srcBufferLoaded; /* > 0 */ local
2156 size_t const readSize = fread(startPosition, 1, toRead, finput);
2412 size_t const toRead = 4; local
2414 if (ress.srcBufferLoaded < toRead) /* load up to 4 bytes for header */
2416 (size_t)1, toRead - ress.srcBufferLoaded, srcFile);
2425 if (ress.srcBufferLoaded < toRead) {

Completed in 119 milliseconds