/freebsd-13-stable/sys/contrib/zstd/lib/deprecated/ |
H A D | zbuff_common.c | 23 unsigned ZBUFF_isError(size_t errorCode) { return ERR_isError(errorCode); } argument 26 const char* ZBUFF_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } argument
|
H A D | 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/ |
H A D | zstd_v04.h | 33 or an errorCode if it fails (which can be tested using ZSTDv01_isError()) 122 unsigned ZBUFFv04_isError(size_t errorCode); 123 const char* ZBUFFv04_getErrorName(size_t errorCode);
|
H A D | zstd_v01.c | 646 * If srcSize is too small, the function will return an errorCode; 831 size_t errorCode; local 834 errorCode = FSE_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 835 if (FSE_isError(errorCode)) return errorCode; 909 size_t errorCode; local 914 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); 915 if (FSE_isError(errorCode)) return errorCode; 916 if (errorCode > 1086 size_t errorCode; local 1179 size_t errorCode; local 1504 size_t errorCode; local 1862 size_t errorCode, dumpsLength; local 1932 size_t errorCode; local 1953 size_t errorCode=0; local [all...] |
H A D | zstd_v05.h | 32 or an errorCode if it fails (which can be tested using ZSTDv05_isError()) */ 63 size_t ZSTDv05_freeDCtx(ZSTDv05_DCtx* dctx); /*!< @return : errorCode */ 140 unsigned ZBUFFv05_isError(size_t errorCode); 141 const char* ZBUFFv05_getErrorName(size_t errorCode);
|
H A D | zstd_v07.h | 48 or an errorCode if it fails (which can be tested using ZSTDv07_isError()) */ 76 ZSTDLIBv07_API size_t ZSTDv07_freeDCtx(ZSTDv07_DCtx* dctx); /*!< @return : errorCode */ 168 ZSTDLIBv07_API unsigned ZBUFFv07_isError(size_t errorCode); 169 ZSTDLIBv07_API const char* ZBUFFv07_getErrorName(size_t errorCode);
|
H A D | zstd_v05.c | 347 errorCode, which can be tested using ZSTDv05_isError() 639 or an errorCode, which can be tested using FSEv05_isError() 654 or an errorCode, which can be tested using FSEv05_isError() */ 662 or an errorCode, which can be tested using FSEv05_isError() */ 788 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1441 size_t errorCode; local 1444 errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1445 if (FSEv05_isError(errorCode)) return errorCode; 1518 size_t errorCode; local 1973 { size_t const errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); local 1988 size_t errorCode; local 2014 size_t errorCode; local 2098 size_t errorCode; local 2351 size_t errorCode; local 2396 size_t errorCode; local 2918 size_t errorCode; local 3316 size_t errorCode, dumpsLength=0; local 3672 size_t hSize, offcodeHeaderSize, matchlengthHeaderSize, errorCode, litlengthHeaderSize; local 3737 size_t errorCode; local 4050 ZBUFFv05_isError(size_t errorCode) argument 4051 ZBUFFv05_getErrorName(size_t errorCode) argument [all...] |
H A D | zstd_v03.c | 389 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1355 size_t errorCode; local 1358 errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1359 if (FSE_isError(errorCode)) return errorCode; 1433 size_t errorCode; local 1438 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); 1439 if (FSE_isError(errorCode)) return errorCode; 1440 if (errorCode > 1733 size_t errorCode; local 1819 size_t errorCode; local 2095 size_t errorCode; local 2828 size_t errorCode, dumpsLength; local [all...] |
H A D | zstd_v06.h | 41 or an errorCode if it fails (which can be tested using ZSTDv06_isError()) */ 74 ZSTDLIBv06_API size_t ZSTDv06_freeDCtx(ZSTDv06_DCtx* dctx); /*!< @return : errorCode */ 152 ZSTDLIBv06_API unsigned ZBUFFv06_isError(size_t errorCode); 153 ZSTDLIBv06_API const char* ZBUFFv06_getErrorName(size_t errorCode);
|
H A D | zstd_v06.c | 363 errorCode, which can be tested using ZSTDv06_isError() 711 or an errorCode, which can be tested using FSEv06_isError(). 723 return : 0, or an errorCode, which can be tested using FSEv06_isError() */ 730 or an errorCode, which can be tested using FSEv06_isError() */ 891 * @return : size of stream (== srcSize) or an errorCode if a problem is detected 1586 { size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ local 1587 if (FSEv06_isError(errorCode)) return errorCode; } 1672 { size_t const errorCode = FSEv06_buildDTable (dt, counting, maxSymbolValue, tableLog); local 1673 if (FSEv06_isError(errorCode)) retur 2108 { size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); local 2124 size_t const errorCode = HUFv06_readDTableX2 (DTable, cSrc, cSrcSize); local 2148 size_t errorCode; local 2233 size_t const errorCode = HUFv06_readDTableX2 (DTable, cSrc, cSrcSize); local 2483 { size_t const errorCode = BITv06_initDStream(&bitD, istart, cSrcSize); local 2523 size_t errorCode; local 2730 ZBUFFv06_isError(size_t errorCode) argument 2732 ZBUFFv06_getErrorName(size_t errorCode) argument 3121 { size_t const errorCode = HUFv06_decompress1X4_usingDTable(dctx->litBuffer, litSize, istart+lhSize, litCSize, dctx->hufTableX4); local 3476 { size_t const errorCode = BITv06_initDStream(&(seqState.DStream), ip, iend-ip); local 3825 { size_t const errorCode = FSEv06_buildDTable(dctx->OffTable, offcodeNCount, offcodeMaxValue, offcodeLog); local 3836 { size_t const errorCode = FSEv06_buildDTable(dctx->MLTable, matchlengthNCount, matchlengthMaxValue, matchlengthLog); local 3847 { size_t const errorCode = FSEv06_buildDTable(dctx->LLTable, litlengthNCount, litlengthMaxValue, litlengthLog); local 3881 { size_t const errorCode = ZSTDv06_decompressBegin(dctx); local 3885 size_t const errorCode = ZSTDv06_decompress_insertDictionary(dctx, dict, dictSize); local [all...] |
H A D | zstd_v02.c | 386 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1354 size_t errorCode; local 1357 errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1358 if (FSE_isError(errorCode)) return errorCode; 1432 size_t errorCode; local 1437 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); 1438 if (FSE_isError(errorCode)) return errorCode; 1439 if (errorCode > 1736 size_t errorCode; local 1822 size_t errorCode; local 2098 size_t errorCode; local 2455 size_t errorCode; local 3187 size_t errorCode, dumpsLength; local [all...] |
H A D | zstd_v04.c | 304 errorCode, which can be tested using ZSTD_isError() (For example, if it's not a ZSTD header) 482 or an errorCode, which can be tested using FSE_isError() 495 or an errorCode, which can be tested using FSE_isError() */ 503 or an errorCode, which can be tested using FSE_isError() */ 659 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1334 size_t errorCode; local 1337 errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1338 if (FSE_isError(errorCode)) return errorCode; 1415 size_t errorCode; local 1884 size_t errorCode; local 1970 size_t errorCode; local 2242 size_t errorCode; local 2964 size_t errorCode, dumpsLength; local 3591 ZBUFFv04_isError(size_t errorCode) argument 3592 ZBUFFv04_getErrorName(size_t errorCode) argument [all...] |
H A D | zstd_v07.c | 112 errorCode, which can be tested using ZSTDv07_isError() 559 * @return : size of stream (== srcSize) or an errorCode if a problem is detected 757 or an errorCode, which can be tested using FSEv07_isError(). 769 return : 0, or an errorCode, which can be tested using FSEv07_isError() */ 776 or an errorCode, which can be tested using FSEv07_isError() */ 1606 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ local 1607 if (FSEv07_isError(errorCode)) return errorCode; } 1692 { size_t const errorCode = FSEv07_buildDTable (dt, counting, maxSymbolValue, tableLog); local 1693 if (FSEv07_isError(errorCode)) retur 1884 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); local 1964 { size_t const errorCode = BITv07_initDStream(&bitD1, istart1, length1); local 1966 { size_t const errorCode = BITv07_initDStream(&bitD2, istart2, length2); local 1968 { size_t const errorCode = BITv07_initDStream(&bitD3, istart3, length3); local 1970 { size_t const errorCode = BITv07_initDStream(&bitD4, istart4, length4); local 2287 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); local 2374 { size_t const errorCode = BITv07_initDStream(&bitD1, istart1, length1); local 2376 { size_t const errorCode = BITv07_initDStream(&bitD2, istart2, length2); local 2378 { size_t const errorCode = BITv07_initDStream(&bitD3, istart3, length3); local 2380 { size_t const errorCode = BITv07_initDStream(&bitD4, istart4, length4); local 2629 ZBUFFv07_isError(size_t errorCode) argument 2631 ZBUFFv07_getErrorName(size_t errorCode) argument 3351 { size_t const errorCode = HUFv07_decompress1X4_usingDTable(dctx->litBuffer, litSize, istart+lhSize, litCSize, dctx->hufTable); local 3699 { size_t const errorCode = BITv07_initDStream(&(seqState.DStream), ip, iend-ip); local 4112 { size_t const errorCode = FSEv07_buildDTable(dctx->OffTable, offcodeNCount, offcodeMaxValue, offcodeLog); local 4122 { size_t const errorCode = FSEv07_buildDTable(dctx->MLTable, matchlengthNCount, matchlengthMaxValue, matchlengthLog); local 4132 { size_t const errorCode = FSEv07_buildDTable(dctx->LLTable, litlengthNCount, litlengthMaxValue, litlengthLog); local 4172 { size_t const errorCode = ZSTDv07_decompressBegin(dctx); local 4176 size_t const errorCode = ZSTDv07_decompress_insertDictionary(dctx, dict, dictSize); local 4210 { size_t const errorCode = ZSTDv07_decompressBegin_usingDict(dctx, dictContent, dictSize); local [all...] |
/freebsd-13-stable/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.h | 115 ZDICTLIB_API unsigned ZDICT_isError(size_t errorCode); 116 ZDICTLIB_API const char* ZDICT_getErrorName(size_t errorCode);
|
H A D | zdict.c | 93 unsigned ZDICT_isError(size_t errorCode) { return ERR_isError(errorCode); } argument 95 const char* ZDICT_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } argument 623 { size_t const errorCode = ZSTD_compressBegin_usingCDict(esr.zc, esr.dict); local 624 if (ZSTD_isError(errorCode)) { DISPLAYLEVEL(1, "warning : ZSTD_compressBegin_usingCDict failed \n"); return; } 727 size_t pos = 0, errorCode; local 788 errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax, /* useLowProbCount */ 1); 789 if (FSE_isError(errorCode)) { 790 eSize = errorCode; [all...] |
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/ |
H A D | zstd_zlibwrapper.c | 377 LOG_WRAPPERC("ERROR: ZSTD_resetCStream errorCode=%s\n", 460 { size_t errorCode; local 464 errorCode = ZWRAP_freeCCtx(zwc); 465 if (ZSTD_isError(errorCode)) return Z_STREAM_ERROR; 705 { size_t const errorCode = ZSTD_decompressStream(zwd->zbd, &zwd->outBuffer, &zwd->inBuffer); local 706 LOG_WRAPPERD("inflateSetDictionary ZSTD_decompressStream errorCode=%d srcSize=%d dstCapacity=%d\n", 707 (int)errorCode, (int)zwd->inBuffer.size, (int)zwd->outBuffer.size); 708 if (zwd->inBuffer.pos < zwd->outBuffer.size || ZSTD_isError(errorCode)) { 710 ZSTD_getErrorName(errorCode)); 744 LOG_WRAPPERD("ZLIB inflateInit errorCode [all...] |
/freebsd-13-stable/sys/contrib/zstd/lib/compress/ |
H A D | fse_compress.c | 476 size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue, lowProbCount); local 477 if (FSE_isError(errorCode)) return errorCode;
|
/freebsd-13-stable/sys/contrib/zstd/programs/ |
H A D | benchzstd.c | 829 { int const errorCode = BMK_loadFiles(dictBuffer, dictBufferSize, local 832 if (errorCode) { 852 { int const errorCode = BMK_loadFiles(srcBuffer, benchedSize, local 855 if (errorCode) {
|
H A D | fileio.c | 1194 LZ4F_errorCode_t const errorCode = LZ4F_createCompressionContext(&ctx, LZ4F_VERSION); local 1195 if (LZ4F_isError(errorCode)) 2319 LZ4F_errorCode_t const errorCode = LZ4F_createDecompressionContext(&dCtx, LZ4F_VERSION); local 2323 if (LZ4F_isError(errorCode)) {
|
/freebsd-13-stable/crypto/heimdal/kdc/ |
H A D | announce.c | 210 DNSServiceErrorType errorCode __attribute__((unused)),
|
/freebsd-13-stable/contrib/expat/tests/ |
H A D | runtests.c | 166 _expect_failure(const char *text, enum XML_Error errorCode, argument 173 if (XML_GetErrorCode(g_parser) != errorCode) 177 #define expect_failure(text, errorCode, errorMessage) \ 178 _expect_failure((text), (errorCode), (errorMessage), __FILE__, __LINE__)
|
/freebsd-13-stable/sys/contrib/openzfs/module/zstd/lib/ |
H A D | zstd.c | 978 or an errorCode, which can be tested using FSE_isError() */ 990 or an errorCode, which can be tested using FSE_isError(). */ 1003 @return : 0, or an errorCode, which can be tested using FSE_isError() */ 1010 or an errorCode, which can be tested using FSE_isError() */ 1062 or an errorCode, which can be tested using FSE_isError(). 1076 return : 0, or an errorCode, which can be tested using FSE_isError() */ 1083 or an errorCode, which can be tested using FSE_isError() */ 1566 * @return : size of stream (== srcSize), or an errorCode if a problem is detected 1847 size_t errorCode = BIT_initCStream(&bitStream, dstBuffer, maxDstSize); 1871 If there is an error, it returns an errorCode (whic 7952 size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue); local [all...] |