| /freebsd-13-stable/sys/contrib/zstd/lib/deprecated/ |
| HD | zbuff_common.c | 23 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
|
| HD | zbuff.h | 163 ZBUFF_DEPRECATED("use ZSTD_isError") unsigned ZBUFF_isError(size_t errorCode); 164 ZBUFF_DEPRECATED("use ZSTD_getErrorName") const char* ZBUFF_getErrorName(size_t errorCode);
|
| /freebsd-13-stable/sys/contrib/zstd/lib/legacy/ |
| HD | zstd_v01.c | 831 size_t errorCode; in FSE_decompress_usingDTable_generic() local 834 …errorCode = FSE_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic() 835 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic() 909 size_t errorCode; in FSE_decompress() local 914 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress() 915 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress() 916 if (errorCode >= cSrcSize) return (size_t)-FSE_ERROR_srcSize_wrong; /* too small input size */ in FSE_decompress() 917 ip += errorCode; in FSE_decompress() 918 cSrcSize -= errorCode; in FSE_decompress() 920 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress() [all …]
|
| HD | zstd_v05.c | 1441 size_t errorCode; in FSEv05_decompress_usingDTable_generic() local 1444 …errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Siz… in FSEv05_decompress_usingDTable_generic() 1445 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress_usingDTable_generic() 1518 size_t errorCode; in FSEv05_decompress() local 1523 errorCode = FSEv05_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSEv05_decompress() 1524 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress() 1525 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSEv05_decompress() 1526 ip += errorCode; in FSEv05_decompress() 1527 cSrcSize -= errorCode; in FSEv05_decompress() 1529 errorCode = FSEv05_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv05_decompress() [all …]
|
| HD | zstd_v02.c | 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() [all …]
|
| HD | zstd_v03.c | 1355 size_t errorCode; in FSE_decompress_usingDTable_generic() local 1358 …errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic() 1359 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic() 1433 size_t errorCode; in FSE_decompress() local 1438 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress() 1439 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress() 1440 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress() 1441 ip += errorCode; in FSE_decompress() 1442 cSrcSize -= errorCode; in FSE_decompress() 1444 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress() [all …]
|
| HD | zstd_v04.c | 1334 size_t errorCode; in FSE_decompress_usingDTable_generic() local 1337 …errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic() 1338 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic() 1415 size_t errorCode; in FSE_decompress() local 1420 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress() 1421 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress() 1422 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress() 1423 ip += errorCode; in FSE_decompress() 1424 cSrcSize -= errorCode; in FSE_decompress() 1426 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress() [all …]
|
| HD | zstd_v06.c | 1586 …{ size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by ma… in FSEv06_decompress_usingDTable_generic() local 1587 if (FSEv06_isError(errorCode)) return errorCode; } in FSEv06_decompress_usingDTable_generic() 1672 { size_t const errorCode = FSEv06_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv06_decompress() local 1673 if (FSEv06_isError(errorCode)) return errorCode; } in FSEv06_decompress() 2108 { size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); in HUFv06_decompress1X2_usingDTable() local 2109 if (HUFv06_isError(errorCode)) return errorCode; } in HUFv06_decompress1X2_usingDTable() 2124 size_t const errorCode = HUFv06_readDTableX2 (DTable, cSrc, cSrcSize); in HUFv06_decompress1X2() local 2125 if (HUFv06_isError(errorCode)) return errorCode; in HUFv06_decompress1X2() 2126 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); in HUFv06_decompress1X2() 2127 ip += errorCode; in HUFv06_decompress1X2() [all …]
|
| HD | zstd_v07.c | 1606 …{ size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by ma… in FSEv07_decompress_usingDTable_generic() local 1607 if (FSEv07_isError(errorCode)) return errorCode; } in FSEv07_decompress_usingDTable_generic() 1692 { size_t const errorCode = FSEv07_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv07_decompress() local 1693 if (FSEv07_isError(errorCode)) return errorCode; } in FSEv07_decompress() 1884 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); in HUFv07_decompress1X2_usingDTable_internal() local 1885 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress1X2_usingDTable_internal() 1964 { size_t const errorCode = BITv07_initDStream(&bitD1, istart1, length1); in HUFv07_decompress4X2_usingDTable_internal() local 1965 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress4X2_usingDTable_internal() 1966 { size_t const errorCode = BITv07_initDStream(&bitD2, istart2, length2); in HUFv07_decompress4X2_usingDTable_internal() local 1967 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress4X2_usingDTable_internal() [all …]
|
| HD | zstd_v04.h | 122 unsigned ZBUFFv04_isError(size_t errorCode); 123 const char* ZBUFFv04_getErrorName(size_t errorCode);
|
| HD | zstd_v07.h | 168 ZSTDLIBv07_API unsigned ZBUFFv07_isError(size_t errorCode); 169 ZSTDLIBv07_API const char* ZBUFFv07_getErrorName(size_t errorCode);
|
| HD | zstd_v05.h | 140 unsigned ZBUFFv05_isError(size_t errorCode); 141 const char* ZBUFFv05_getErrorName(size_t errorCode);
|
| HD | zstd_v06.h | 152 ZSTDLIBv06_API unsigned ZBUFFv06_isError(size_t errorCode); 153 ZSTDLIBv06_API const char* ZBUFFv06_getErrorName(size_t errorCode);
|
| /freebsd-13-stable/contrib/expat/examples/ |
| HD | element_declarations.c | 221 enum XML_Error errorCode = XML_GetErrorCode(parser); in main() local 222 if (errorCode == XML_ERROR_ABORTED) { in main() 223 errorCode = XML_ERROR_NO_MEMORY; in main() 227 XML_GetCurrentLineNumber(parser), XML_ErrorString(errorCode)); in main()
|
| /freebsd-13-stable/sys/contrib/zstd/lib/dictBuilder/ |
| HD | zdict.c | 93 unsigned ZDICT_isError(size_t errorCode) { return ERR_isError(errorCode); } in ZDICT_isError() argument 95 const char* ZDICT_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } in ZDICT_getErrorName() argument 623 { size_t const errorCode = ZSTD_compressBegin_usingCDict(esr.zc, esr.dict); in ZDICT_countEStats() local 624 …if (ZSTD_isError(errorCode)) { DISPLAYLEVEL(1, "warning : ZSTD_compressBegin_usingCDict failed \n"… in ZDICT_countEStats() 727 size_t pos = 0, errorCode; in ZDICT_analyzeEntropy() local 788 …errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax, /* useLowPr… in ZDICT_analyzeEntropy() 789 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy() 790 eSize = errorCode; in ZDICT_analyzeEntropy() 794 Offlog = (U32)errorCode; in ZDICT_analyzeEntropy() 797 …errorCode = FSE_normalizeCount(matchLengthNCount, mlLog, matchLengthCount, total, MaxML, /* useLow… in ZDICT_analyzeEntropy() [all …]
|
| HD | zdict.h | 115 ZDICTLIB_API unsigned ZDICT_isError(size_t errorCode); 116 ZDICTLIB_API const char* ZDICT_getErrorName(size_t errorCode);
|
| /freebsd-13-stable/contrib/expat/tests/ |
| HD | common.h | 104 extern void _expect_failure(const char *text, enum XML_Error errorCode, 108 # define expect_failure(text, errorCode, errorMessage) \ argument 109 _expect_failure((text), (errorCode), (errorMessage), __FILE__, __LINE__)
|
| HD | common.c | 222 _expect_failure(const char *text, enum XML_Error errorCode, in _expect_failure() argument 229 if (XML_GetErrorCode(g_parser) != errorCode) in _expect_failure()
|
| /freebsd-13-stable/sys/contrib/zstd/zlibWrapper/ |
| HD | zstd_zlibwrapper.c | 460 { size_t errorCode; in z_deflateEnd() local 464 errorCode = ZWRAP_freeCCtx(zwc); in z_deflateEnd() 465 if (ZSTD_isError(errorCode)) return Z_STREAM_ERROR; in z_deflateEnd() 705 … { size_t const errorCode = ZSTD_decompressStream(zwd->zbd, &zwd->outBuffer, &zwd->inBuffer); in z_inflateSetDictionary() local 707 (int)errorCode, (int)zwd->inBuffer.size, (int)zwd->outBuffer.size); in z_inflateSetDictionary() 708 if (zwd->inBuffer.pos < zwd->outBuffer.size || ZSTD_isError(errorCode)) { in z_inflateSetDictionary() 710 ZSTD_getErrorName(errorCode)); in z_inflateSetDictionary()
|
| /freebsd-13-stable/sys/contrib/zstd/programs/ |
| HD | benchzstd.c | 829 { int const errorCode = BMK_loadFiles(dictBuffer, dictBufferSize, in BMK_benchFilesAdvanced() local 832 if (errorCode) { in BMK_benchFilesAdvanced() 852 { int const errorCode = BMK_loadFiles(srcBuffer, benchedSize, in BMK_benchFilesAdvanced() local 855 if (errorCode) { in BMK_benchFilesAdvanced()
|
| HD | fileio.c | 1194 LZ4F_errorCode_t const errorCode = LZ4F_createCompressionContext(&ctx, LZ4F_VERSION); in FIO_compressLz4Frame() local 1195 if (LZ4F_isError(errorCode)) in FIO_compressLz4Frame() 2319 LZ4F_errorCode_t const errorCode = LZ4F_createDecompressionContext(&dCtx, LZ4F_VERSION); in FIO_decompressLz4Frame() local 2323 if (LZ4F_isError(errorCode)) { in FIO_decompressLz4Frame()
|
| /freebsd-13-stable/sys/contrib/zstd/lib/compress/ |
| HD | fse_compress.c | 476 …size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue… in FSE_normalizeCount() local 477 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
|
| /freebsd-13-stable/crypto/heimdal/kdc/ |
| HD | announce.c | 210 DNSServiceErrorType errorCode __attribute__((unused)), in dnsCallback() argument
|
| /freebsd-13-stable/sys/contrib/openzfs/module/zstd/lib/ |
| HD | zstd.c | 7950 …size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue… in FSE_normalizeCount() local 7951 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount() 23305 unsigned ZBUFFv04_isError(size_t errorCode); 23306 const char* ZBUFFv04_getErrorName(size_t errorCode); 23469 unsigned ZBUFFv05_isError(size_t errorCode); 23470 const char* ZBUFFv05_getErrorName(size_t errorCode); 23647 ZSTDLIBv06_API unsigned ZBUFFv06_isError(size_t errorCode); 23648 ZSTDLIBv06_API const char* ZBUFFv06_getErrorName(size_t errorCode); 23839 ZSTDLIBv07_API unsigned ZBUFFv07_isError(size_t errorCode); 23840 ZSTDLIBv07_API const char* ZBUFFv07_getErrorName(size_t errorCode);
|