Lines Matching refs:errorCode
1354 size_t errorCode; in FSE_decompress_usingDTable_generic() local
1357 …errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
1358 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1432 size_t errorCode; in FSE_decompress() local
1437 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
1438 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1439 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress()
1440 ip += errorCode; in FSE_decompress()
1441 cSrcSize -= errorCode; in FSE_decompress()
1443 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
1444 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1736 size_t errorCode; in HUF_decompress4X2_usingDTable() local
1763 errorCode = BIT_initDStream(&bitD1, istart1, length1); in HUF_decompress4X2_usingDTable()
1764 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X2_usingDTable()
1765 errorCode = BIT_initDStream(&bitD2, istart2, length2); in HUF_decompress4X2_usingDTable()
1766 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X2_usingDTable()
1767 errorCode = BIT_initDStream(&bitD3, istart3, length3); in HUF_decompress4X2_usingDTable()
1768 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X2_usingDTable()
1769 errorCode = BIT_initDStream(&bitD4, istart4, length4); in HUF_decompress4X2_usingDTable()
1770 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X2_usingDTable()
1822 size_t errorCode; in HUF_decompress4X2() local
1824 errorCode = HUF_readDTableX2 (DTable, cSrc, cSrcSize); in HUF_decompress4X2()
1825 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X2()
1826 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); in HUF_decompress4X2()
1827 ip += errorCode; in HUF_decompress4X2()
1828 cSrcSize -= errorCode; in HUF_decompress4X2()
2098 size_t errorCode; in HUF_decompress4X4_usingDTable() local
2125 errorCode = BIT_initDStream(&bitD1, istart1, length1); in HUF_decompress4X4_usingDTable()
2126 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X4_usingDTable()
2127 errorCode = BIT_initDStream(&bitD2, istart2, length2); in HUF_decompress4X4_usingDTable()
2128 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X4_usingDTable()
2129 errorCode = BIT_initDStream(&bitD3, istart3, length3); in HUF_decompress4X4_usingDTable()
2130 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X4_usingDTable()
2131 errorCode = BIT_initDStream(&bitD4, istart4, length4); in HUF_decompress4X4_usingDTable()
2132 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X4_usingDTable()
2455 size_t errorCode; in HUF_decompress4X6_usingDTable() local
2482 errorCode = BIT_initDStream(&bitD1, istart1, length1); in HUF_decompress4X6_usingDTable()
2483 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X6_usingDTable()
2484 errorCode = BIT_initDStream(&bitD2, istart2, length2); in HUF_decompress4X6_usingDTable()
2485 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X6_usingDTable()
2486 errorCode = BIT_initDStream(&bitD3, istart3, length3); in HUF_decompress4X6_usingDTable()
2487 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X6_usingDTable()
2488 errorCode = BIT_initDStream(&bitD4, istart4, length4); in HUF_decompress4X6_usingDTable()
2489 if (HUF_isError(errorCode)) return errorCode; in HUF_decompress4X6_usingDTable()
3187 size_t errorCode, dumpsLength; in ZSTD_decompressSequences() local
3198 errorCode = ZSTD_decodeSeqHeaders(&nbSeq, &dumps, &dumpsLength, in ZSTD_decompressSequences()
3201 if (ZSTD_isError(errorCode)) return errorCode; in ZSTD_decompressSequences()
3202 ip += errorCode; in ZSTD_decompressSequences()
3213 errorCode = BIT_initDStream(&(seqState.DStream), ip, iend-ip); in ZSTD_decompressSequences()
3214 if (ERR_isError(errorCode)) return ERROR(corruption_detected); in ZSTD_decompressSequences()