Lines Matching refs:errorCode
827 size_t errorCode; in FSE_decompress_usingDTable_generic() local
830 …errorCode = FSE_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
831 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
905 size_t errorCode; in FSE_decompress() local
910 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
911 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
912 if (errorCode >= cSrcSize) return (size_t)-FSE_ERROR_srcSize_wrong; /* too small input size */ in FSE_decompress()
913 ip += errorCode; in FSE_decompress()
914 cSrcSize -= errorCode; in FSE_decompress()
916 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
917 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1082 size_t errorCode; in HUF_decompress_usingDTable() local
1100 errorCode = FSE_initDStream(&bitD1, start1, length1); in HUF_decompress_usingDTable()
1101 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1102 errorCode = FSE_initDStream(&bitD2, start2, length2); in HUF_decompress_usingDTable()
1103 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1104 errorCode = FSE_initDStream(&bitD3, start3, length3); in HUF_decompress_usingDTable()
1105 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1106 errorCode = FSE_initDStream(&bitD4, start4, length4); in HUF_decompress_usingDTable()
1107 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress_usingDTable()
1175 size_t errorCode; in HUF_decompress() local
1177 errorCode = HUF_readDTable (DTable, cSrc, cSrcSize); in HUF_decompress()
1178 if (FSE_isError(errorCode)) return errorCode; in HUF_decompress()
1179 if (errorCode >= cSrcSize) return (size_t)-FSE_ERROR_srcSize_wrong; in HUF_decompress()
1180 ip += errorCode; in HUF_decompress()
1181 cSrcSize -= errorCode; in HUF_decompress()
1500 size_t errorCode; in ZSTD_decompressLiterals() local
1512 errorCode = HUF_decompress(op, litSize, ip+2, srcSize-2); in ZSTD_decompressLiterals()
1513 if (FSE_isError(errorCode)) return ERROR(GENERIC); in ZSTD_decompressLiterals()
1858 size_t errorCode, dumpsLength; in ZSTD_decompressSequences() local
1869 errorCode = ZSTDv01_decodeSeqHeaders(&nbSeq, &dumps, &dumpsLength, in ZSTD_decompressSequences()
1872 if (ZSTDv01_isError(errorCode)) return errorCode; in ZSTD_decompressSequences()
1873 ip += errorCode; in ZSTD_decompressSequences()
1884 errorCode = FSE_initDStream(&(seqState.DStream), ip, iend-ip); in ZSTD_decompressSequences()
1885 if (FSE_isError(errorCode)) return ERROR(corruption_detected); in ZSTD_decompressSequences()
1928 size_t errorCode; in ZSTD_decompressBlock() local
1931 errorCode = ZSTDv01_decodeLiteralsBlock(ctx, dst, maxDstSize, &litPtr, &litSize, src, srcSize); in ZSTD_decompressBlock()
1932 if (ZSTDv01_isError(errorCode)) return errorCode; in ZSTD_decompressBlock()
1933 ip += errorCode; in ZSTD_decompressBlock()
1934 srcSize -= errorCode; in ZSTD_decompressBlock()
1949 size_t errorCode=0; in ZSTDv01_decompressDCtx() local
1971 errorCode = ZSTD_decompressBlock(ctx, op, oend-op, ip, blockSize); in ZSTDv01_decompressDCtx()
1974 errorCode = ZSTD_copyUncompressedBlock(op, oend-op, ip, blockSize); in ZSTDv01_decompressDCtx()
1988 if (ZSTDv01_isError(errorCode)) return errorCode; in ZSTDv01_decompressDCtx()
1989 op += errorCode; in ZSTDv01_decompressDCtx()