Lines Matching refs:errorCode
1437 size_t errorCode; in FSEv05_decompress_usingDTable_generic() local
1440 …errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Siz… in FSEv05_decompress_usingDTable_generic()
1441 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress_usingDTable_generic()
1514 size_t errorCode; in FSEv05_decompress() local
1519 errorCode = FSEv05_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSEv05_decompress()
1520 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress()
1521 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSEv05_decompress()
1522 ip += errorCode; in FSEv05_decompress()
1523 cSrcSize -= errorCode; in FSEv05_decompress()
1525 errorCode = FSEv05_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv05_decompress()
1526 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress()
1969 { size_t const errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); in HUFv05_decompress1X2_usingDTable() local
1970 if (HUFv05_isError(errorCode)) return errorCode; } in HUFv05_decompress1X2_usingDTable()
1984 size_t errorCode; in HUFv05_decompress1X2() local
1986 errorCode = HUFv05_readDTableX2 (DTable, cSrc, cSrcSize); in HUFv05_decompress1X2()
1987 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress1X2()
1988 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); in HUFv05_decompress1X2()
1989 ip += errorCode; in HUFv05_decompress1X2()
1990 cSrcSize -= errorCode; in HUFv05_decompress1X2()
2010 size_t errorCode; in HUFv05_decompress4X2_usingDTable() local
2037 errorCode = BITv05_initDStream(&bitD1, istart1, length1); in HUFv05_decompress4X2_usingDTable()
2038 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X2_usingDTable()
2039 errorCode = BITv05_initDStream(&bitD2, istart2, length2); in HUFv05_decompress4X2_usingDTable()
2040 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X2_usingDTable()
2041 errorCode = BITv05_initDStream(&bitD3, istart3, length3); in HUFv05_decompress4X2_usingDTable()
2042 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X2_usingDTable()
2043 errorCode = BITv05_initDStream(&bitD4, istart4, length4); in HUFv05_decompress4X2_usingDTable()
2044 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X2_usingDTable()
2094 size_t errorCode; in HUFv05_decompress4X2() local
2096 errorCode = HUFv05_readDTableX2 (DTable, cSrc, cSrcSize); in HUFv05_decompress4X2()
2097 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X2()
2098 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); in HUFv05_decompress4X2()
2099 ip += errorCode; in HUFv05_decompress4X2()
2100 cSrcSize -= errorCode; in HUFv05_decompress4X2()
2347 size_t errorCode; in HUFv05_decompress1X4_usingDTable() local
2351 errorCode = BITv05_initDStream(&bitD, istart, cSrcSize); in HUFv05_decompress1X4_usingDTable()
2352 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress1X4_usingDTable()
2392 size_t errorCode; in HUFv05_decompress4X4_usingDTable() local
2419 errorCode = BITv05_initDStream(&bitD1, istart1, length1); in HUFv05_decompress4X4_usingDTable()
2420 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X4_usingDTable()
2421 errorCode = BITv05_initDStream(&bitD2, istart2, length2); in HUFv05_decompress4X4_usingDTable()
2422 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X4_usingDTable()
2423 errorCode = BITv05_initDStream(&bitD3, istart3, length3); in HUFv05_decompress4X4_usingDTable()
2424 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X4_usingDTable()
2425 errorCode = BITv05_initDStream(&bitD4, istart4, length4); in HUFv05_decompress4X4_usingDTable()
2426 if (HUFv05_isError(errorCode)) return errorCode; in HUFv05_decompress4X4_usingDTable()
2914 size_t errorCode; in ZSTDv05_decodeLiteralsBlock() local
2928 …errorCode = HUFv05_decompress1X4_usingDTable(dctx->litBuffer, litSize, istart+lhSize, litCSize, dc… in ZSTDv05_decodeLiteralsBlock()
2929 if (HUFv05_isError(errorCode)) return ERROR(corruption_detected); in ZSTDv05_decodeLiteralsBlock()
3312 size_t errorCode, dumpsLength=0; in ZSTDv05_decompressSequences() local
3325 errorCode = ZSTDv05_decodeSeqHeaders(&nbSeq, &dumps, &dumpsLength, in ZSTDv05_decompressSequences()
3328 if (ZSTDv05_isError(errorCode)) return errorCode; in ZSTDv05_decompressSequences()
3329 ip += errorCode; in ZSTDv05_decompressSequences()
3341 errorCode = BITv05_initDStream(&(seqState.DStream), ip, iend-ip); in ZSTDv05_decompressSequences()
3342 if (ERR_isError(errorCode)) return ERROR(corruption_detected); in ZSTDv05_decompressSequences()
3668 size_t hSize, offcodeHeaderSize, matchlengthHeaderSize, errorCode, litlengthHeaderSize; in ZSTDv05_loadEntropy() local
3684 errorCode = FSEv05_buildDTable(dctx->OffTable, offcodeNCount, offcodeMaxValue, offcodeLog); in ZSTDv05_loadEntropy()
3685 if (FSEv05_isError(errorCode)) return ERROR(dictionary_corrupted); in ZSTDv05_loadEntropy()
3692 …errorCode = FSEv05_buildDTable(dctx->MLTable, matchlengthNCount, matchlengthMaxValue, matchlengthL… in ZSTDv05_loadEntropy()
3693 if (FSEv05_isError(errorCode)) return ERROR(dictionary_corrupted); in ZSTDv05_loadEntropy()
3700 errorCode = FSEv05_buildDTable(dctx->LLTable, litlengthNCount, litlengthMaxValue, litlengthLog); in ZSTDv05_loadEntropy()
3701 if (FSEv05_isError(errorCode)) return ERROR(dictionary_corrupted); in ZSTDv05_loadEntropy()
3733 size_t errorCode; in ZSTDv05_decompressBegin_usingDict() local
3734 errorCode = ZSTDv05_decompressBegin(dctx); in ZSTDv05_decompressBegin_usingDict()
3735 if (ZSTDv05_isError(errorCode)) return errorCode; in ZSTDv05_decompressBegin_usingDict()
3738 errorCode = ZSTDv05_decompress_insertDictionary(dctx, dict, dictSize); in ZSTDv05_decompressBegin_usingDict()
3739 if (ZSTDv05_isError(errorCode)) return ERROR(dictionary_corrupted); in ZSTDv05_decompressBegin_usingDict()
4046 unsigned ZBUFFv05_isError(size_t errorCode) { return ERR_isError(errorCode); } in ZBUFFv05_isError() argument
4047 const char* ZBUFFv05_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } in ZBUFFv05_getErrorName() argument