Lines Matching refs:readSize
557 size_t readSize;
579 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile);
580 dictEnd = (dictEnd + readSize) % circularBufSize;
581 dictLen += readSize;
582 } while (readSize>0);
673 size_t readSize;
700 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile);
702 filesize += readSize;
705 if (readSize < blockSize) {
707 size_t const cSize = LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, ress.cdict, &prefs);
731 while (readSize>0) {
732 size_t const outSize = LZ4F_compressUpdate(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, NULL);
744 readSize = fread(srcBuffer, (size_t)1, (size_t)blockSize, srcFile);
745 filesize += readSize;
1095 size_t readSize;
1101 readSize = fread(ress.srcBuffer, 1, nextToLoad, srcFile);
1102 if (!readSize) break; /* reached end of file or stream */
1104 while ((pos < readSize) || (decodedBytes == ress.dstBufferSize)) { /* still to read, or still to flush */
1106 size_t remaining = readSize - pos;
1128 /* can be out because readSize == 0, which could be an fread() error */