Lines Matching refs:readSize
422 size_t readSize; in LZ4IO_createDict() local
446 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict()
447 dictEnd = (dictEnd + readSize) % circularBufSize; in LZ4IO_createDict()
448 dictLen += readSize; in LZ4IO_createDict()
449 } while (readSize>0); in LZ4IO_createDict()
539 size_t readSize; in LZ4IO_compressFilename_extRess() local
567 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
569 filesize += readSize; in LZ4IO_compressFilename_extRess()
572 if (readSize < blockSize) { in LZ4IO_compressFilename_extRess()
574 …LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, ress.cdict, &pre… in LZ4IO_compressFilename_extRess()
597 while (readSize>0) { in LZ4IO_compressFilename_extRess()
601 outSize = LZ4F_compressUpdate(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, NULL); in LZ4IO_compressFilename_extRess()
611 readSize = fread(srcBuffer, (size_t)1, (size_t)blockSize, srcFile); in LZ4IO_compressFilename_extRess()
612 filesize += readSize; in LZ4IO_compressFilename_extRess()
921 size_t readSize; in LZ4IO_decompressLZ4F() local
927 readSize = fread(ress.srcBuffer, 1, nextToLoad, srcFile); in LZ4IO_decompressLZ4F()
928 if (!readSize) break; /* reached end of file or stream */ in LZ4IO_decompressLZ4F()
930 …while ((pos < readSize) || (decodedBytes == ress.dstBufferSize)) { /* still to read, or still to … in LZ4IO_decompressLZ4F()
932 size_t remaining = readSize - pos; in LZ4IO_decompressLZ4F()