Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-12-stable/sys/contrib/zstd/lib/legacy/
Dzstd_v01.c825 size_t errorCode; in FSE_decompress_usingDTable_generic() local
828errorCode = FSE_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
829 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
903 size_t errorCode; in FSE_decompress() local
908 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
909 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
910 if (errorCode >= cSrcSize) return (size_t)-FSE_ERROR_srcSize_wrong; /* too small input size */ in FSE_decompress()
911 ip += errorCode; in FSE_decompress()
912 cSrcSize -= errorCode; in FSE_decompress()
914 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
Dzstd_v05.c1434 size_t errorCode; in FSEv05_decompress_usingDTable_generic() local
1437errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Siz… in FSEv05_decompress_usingDTable_generic()
1438 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress_usingDTable_generic()
1511 size_t errorCode; in FSEv05_decompress() local
1516 errorCode = FSEv05_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSEv05_decompress()
1517 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress()
1518 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSEv05_decompress()
1519 ip += errorCode; in FSEv05_decompress()
1520 cSrcSize -= errorCode; in FSEv05_decompress()
1522 errorCode = FSEv05_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv05_decompress()
[all …]
Dzstd_v02.c1339 size_t errorCode; in FSE_decompress_usingDTable_generic() local
1342errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
1343 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1417 size_t errorCode; in FSE_decompress() local
1422 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
1423 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1424 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress()
1425 ip += errorCode; in FSE_decompress()
1426 cSrcSize -= errorCode; in FSE_decompress()
1428 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
Dzstd_v03.c1340 size_t errorCode; in FSE_decompress_usingDTable_generic() local
1343errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
1344 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1418 size_t errorCode; in FSE_decompress() local
1423 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
1424 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1425 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress()
1426 ip += errorCode; in FSE_decompress()
1427 cSrcSize -= errorCode; in FSE_decompress()
1429 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
Dzstd_v06.c1582 …{ size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by ma… in FSEv06_decompress_usingDTable_generic() local
1583 if (FSEv06_isError(errorCode)) return errorCode; } in FSEv06_decompress_usingDTable_generic()
1668 { size_t const errorCode = FSEv06_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv06_decompress() local
1669 if (FSEv06_isError(errorCode)) return errorCode; } in FSEv06_decompress()
2104 { size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); in HUFv06_decompress1X2_usingDTable() local
2105 if (HUFv06_isError(errorCode)) return errorCode; } in HUFv06_decompress1X2_usingDTable()
2120 size_t const errorCode = HUFv06_readDTableX2 (DTable, cSrc, cSrcSize); in HUFv06_decompress1X2() local
2121 if (HUFv06_isError(errorCode)) return errorCode; in HUFv06_decompress1X2()
2122 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); in HUFv06_decompress1X2()
2123 ip += errorCode; in HUFv06_decompress1X2()
[all …]
Dzstd_v04.c1381 size_t errorCode; in FSE_decompress_usingDTable_generic() local
1384errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
1385 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1462 size_t errorCode; in FSE_decompress() local
1467 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
1468 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1469 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress()
1470 ip += errorCode; in FSE_decompress()
1471 cSrcSize -= errorCode; in FSE_decompress()
1473 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
Dzstd_v07.c1602 …{ size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by ma… in FSEv07_decompress_usingDTable_generic() local
1603 if (FSEv07_isError(errorCode)) return errorCode; } in FSEv07_decompress_usingDTable_generic()
1688 { size_t const errorCode = FSEv07_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv07_decompress() local
1689 if (FSEv07_isError(errorCode)) return errorCode; } in FSEv07_decompress()
1880 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); in HUFv07_decompress1X2_usingDTable_internal() local
1881 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress1X2_usingDTable_internal()
1960 { size_t const errorCode = BITv07_initDStream(&bitD1, istart1, length1); in HUFv07_decompress4X2_usingDTable_internal() local
1961 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress4X2_usingDTable_internal()
1962 { size_t const errorCode = BITv07_initDStream(&bitD2, istart2, length2); in HUFv07_decompress4X2_usingDTable_internal() local
1963 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress4X2_usingDTable_internal()
[all …]
Dzstd_v04.h117 unsigned ZBUFFv04_isError(size_t errorCode);
118 const char* ZBUFFv04_getErrorName(size_t errorCode);
Dzstd_v06.h147 ZSTDLIBv06_API unsigned ZBUFFv06_isError(size_t errorCode);
148 ZSTDLIBv06_API const char* ZBUFFv06_getErrorName(size_t errorCode);
Dzstd_v07.h163 ZSTDLIBv07_API unsigned ZBUFFv07_isError(size_t errorCode);
164 ZSTDLIBv07_API const char* ZBUFFv07_getErrorName(size_t errorCode);
Dzstd_v05.h135 unsigned ZBUFFv05_isError(size_t errorCode);
136 const char* ZBUFFv05_getErrorName(size_t errorCode);
/freebsd-12-stable/sys/contrib/zstd/lib/deprecated/
Dzbuff_common.c23 unsigned ZBUFF_isError(size_t errorCode) { return ERR_isError(errorCode); } in ZBUFF_isError() argument
26 const char* ZBUFF_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } in ZBUFF_getErrorName() argument
Dzbuff.h162 ZBUFF_DEPRECATED("use ZSTD_isError") unsigned ZBUFF_isError(size_t errorCode);
163 ZBUFF_DEPRECATED("use ZSTD_getErrorName") const char* ZBUFF_getErrorName(size_t errorCode);
/freebsd-12-stable/sys/contrib/zstd/lib/dictBuilder/
Dzdict.c91 unsigned ZDICT_isError(size_t errorCode) { return ERR_isError(errorCode); } in ZDICT_isError() argument
93 const char* ZDICT_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } in ZDICT_getErrorName() argument
600 { size_t const errorCode = ZSTD_copyCCtx(esr.zc, esr.ref, 0); in ZDICT_countEStats() local
601 … if (ZSTD_isError(errorCode)) { DISPLAYLEVEL(1, "warning : ZSTD_copyCCtx failed \n"); return; } in ZDICT_countEStats()
703 size_t pos = 0, errorCode; in ZDICT_analyzeEntropy() local
769 errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax); in ZDICT_analyzeEntropy()
770 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
775 Offlog = (U32)errorCode; in ZDICT_analyzeEntropy()
778 errorCode = FSE_normalizeCount(matchLengthNCount, mlLog, matchLengthCount, total, MaxML); in ZDICT_analyzeEntropy()
779 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
[all …]
Dzdict.h60 ZDICTLIB_API unsigned ZDICT_isError(size_t errorCode);
61 ZDICTLIB_API const char* ZDICT_getErrorName(size_t errorCode);
/freebsd-12-stable/sys/contrib/zstd/tests/
Dzbufftest.c313 size_t errorCode; in fuzzerTests() local
403 errorCode = 1; in fuzzerTests()
404 for (totalCSize = 0, totalGenSize = 0 ; errorCode ; ) { in fuzzerTests()
408errorCode = ZBUFF_decompressContinue(zd, dstBuffer+totalGenSize, &dstBuffSize, cBuffer+totalCSize,… in fuzzerTests()
409 … CHECK (ZBUFF_isError(errorCode), "decompression error : %s", ZBUFF_getErrorName(errorCode)); in fuzzerTests()
413 CHECK (errorCode != 0, "frame not fully decoded"); in fuzzerTests()
DroundTripCrash.c37 static void crash(int errorCode){ in crash() argument
42 exit(errorCode); in crash()
Dfuzzer.c1456 …{ size_t const errorCode = ZSTD_compressCCtx(ctx, dstBuffer, tooSmallSize, sampleBuffer, sampleSiz… in fuzzerTests() local
1457 …CHECK(!ZSTD_isError(errorCode), "ZSTD_compressCCtx should have failed ! (buffer too small : %u < %… in fuzzerTests()
1491 …{ size_t const errorCode = ZSTD_decompress(dstBuffer, dstBufferSize, cBufferTooSmall, tooSmallSize… in fuzzerTests() local
1492 … CHECK(!ZSTD_isError(errorCode), "ZSTD_decompress should have failed ! (truncated src buffer)"); } in fuzzerTests()
1503 { size_t const errorCode = ZSTD_decompress(dstBuffer, tooSmallSize, cBuffer, cSize); in fuzzerTests() local
1504 …CHECK(!ZSTD_isError(errorCode), "ZSTD_decompress should have failed : %u > %u (dst buffer too smal… in fuzzerTests()
/freebsd-12-stable/sys/contrib/zstd/programs/
Ddibio.c85 unsigned DiB_isError(size_t errorCode) { return ERR_isError(errorCode); } in DiB_isError() argument
87 const char* DiB_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } in DiB_getErrorName() argument
Dfileio.c657 LZ4F_errorCode_t const errorCode = LZ4F_createCompressionContext(&ctx, LZ4F_VERSION); in FIO_compressLz4Frame() local
658 if (LZ4F_isError(errorCode)) in FIO_compressLz4Frame()
1444 LZ4F_errorCode_t const errorCode = LZ4F_createDecompressionContext(&dCtx, LZ4F_VERSION); in FIO_decompressLz4Frame() local
1447 if (LZ4F_isError(errorCode)) { in FIO_decompressLz4Frame()
/freebsd-12-stable/usr.sbin/ctm/mkCTM/
DmkCTM121 if {[lindex $errorCode 2] == 4} {
127 puts "errorCode $errorCode"
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
Dzstd_zlibwrapper.c389 { size_t errorCode; in z_deflateEnd() local
393 errorCode = ZWRAP_freeCCtx(zwc); in z_deflateEnd()
394 if (ZSTD_isError(errorCode)) return Z_STREAM_ERROR; in z_deflateEnd()
634 … { size_t const errorCode = ZSTD_decompressStream(zwd->zbd, &zwd->outBuffer, &zwd->inBuffer); in z_inflateSetDictionary() local
636 (int)errorCode, (int)zwd->inBuffer.size, (int)zwd->outBuffer.size); in z_inflateSetDictionary()
637 if (zwd->inBuffer.pos < zwd->outBuffer.size || ZSTD_isError(errorCode)) { in z_inflateSetDictionary()
639 ZSTD_getErrorName(errorCode)); in z_inflateSetDictionary()
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
Dfse_compress.c621 …size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue… in FSE_normalizeCount() local
622 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
/freebsd-12-stable/contrib/llvm-project/lld/MachO/
DSyntheticSections.cpp1250 explicit ErrorCodeWrapper(std::error_code ec) : errorCode(ec.value()) {} in ErrorCodeWrapper()
1251 explicit ErrorCodeWrapper(int ec) : errorCode(ec) {} in ErrorCodeWrapper()
1252 operator int() const { return errorCode; } in operator int()
1255 int errorCode; member in ErrorCodeWrapper
/freebsd-12-stable/crypto/heimdal/kdc/
Dannounce.c210 DNSServiceErrorType errorCode __attribute__((unused)), in dnsCallback() argument

12