Home
last modified time | relevance | path

Searched refs:nextToLoad (Results 1 – 2 of 2) sorted by relevance

/lz4-3.4.0-2.7.6/tests/
DcheckFrame.c130 LZ4F_errorCode_t nextToLoad = 0; in frameCheck() local
148 if (!nextToLoad) { in frameCheck()
152nextToLoad = LZ4F_getFrameInfo(ress.ctx, &frameInfo, (char*)(ress.srcBuffer)+pos, &remaining); in frameCheck()
153 if (LZ4F_isError(nextToLoad)) in frameCheck()
155 LZ4F_getErrorName(nextToLoad)); in frameCheck()
161 remaining = nextToLoad; in frameCheck()
163nextToLoad = LZ4F_decompress(ress.ctx, ress.dstBuffer, &decodedBytes, (char*)(ress.srcBuffer)+pos,… in frameCheck()
164 …if (LZ4F_isError(nextToLoad)) EXM_THROW(24, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in frameCheck()
169 if (nextToLoad > (readSize - pos)) { in frameCheck()
177 remaining = nextToLoad; in frameCheck()
[all …]
/lz4-3.4.0-2.7.6/programs/
Dlz4io.c1057 LZ4F_errorCode_t nextToLoad; in LZ4IO_decompressLZ4F() local
1064nextToLoad = LZ4F_decompress_usingDict(ress.dCtx, ress.dstBuffer, &outSize, ress.srcBuffer, &inSiz… in LZ4IO_decompressLZ4F()
1065 … if (LZ4F_isError(nextToLoad)) EXM_THROW(62, "Header error : %s", LZ4F_getErrorName(nextToLoad)); in LZ4IO_decompressLZ4F()
1069 for (;nextToLoad;) { in LZ4IO_decompressLZ4F()
1075 if (nextToLoad > ress.srcBufferSize) nextToLoad = ress.srcBufferSize; in LZ4IO_decompressLZ4F()
1076 readSize = fread(ress.srcBuffer, 1, nextToLoad, srcFile); in LZ4IO_decompressLZ4F()
1083nextToLoad = LZ4F_decompress_usingDict(ress.dCtx, ress.dstBuffer, &decodedBytes, (char*)(ress.srcB… in LZ4IO_decompressLZ4F()
1084 …if (LZ4F_isError(nextToLoad)) EXM_THROW(66, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in LZ4IO_decompressLZ4F()
1095 if (!nextToLoad) break; in LZ4IO_decompressLZ4F()
1102 if (nextToLoad!=0) EXM_THROW(68, "Unfinished stream"); in LZ4IO_decompressLZ4F()