/freebsd-current/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-current/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 | 642 * If srcSize is too small, the function will return an errorCode; 827 size_t errorCode; local 830 errorCode = FSE_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 831 if (FSE_isError(errorCode)) return errorCode; 905 size_t errorCode; local 910 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); 911 if (FSE_isError(errorCode)) return errorCode; 912 if (errorCode > 1082 size_t errorCode; local 1175 size_t errorCode; local 1500 size_t errorCode; local 1858 size_t errorCode, dumpsLength; local 1928 size_t errorCode; local 1949 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 | 344 errorCode, which can be tested using ZSTDv05_isError() 636 or an errorCode, which can be tested using FSEv05_isError() 651 or an errorCode, which can be tested using FSEv05_isError() */ 659 or an errorCode, which can be tested using FSEv05_isError() */ 784 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1437 size_t errorCode; local 1440 errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1441 if (FSEv05_isError(errorCode)) return errorCode; 1514 size_t errorCode; local 1969 { size_t const errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); local 1984 size_t errorCode; local 2010 size_t errorCode; local 2094 size_t errorCode; local 2347 size_t errorCode; local 2392 size_t errorCode; local 2914 size_t errorCode; local 3312 size_t errorCode, dumpsLength=0; local 3668 size_t hSize, offcodeHeaderSize, matchlengthHeaderSize, errorCode, litlengthHeaderSize; local 3733 size_t errorCode; local 4046 ZBUFFv05_isError(size_t errorCode) argument 4047 ZBUFFv05_getErrorName(size_t errorCode) argument [all...] |
H A D | zstd_v03.c | 385 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1351 size_t errorCode; local 1354 errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1355 if (FSE_isError(errorCode)) return errorCode; 1429 size_t errorCode; local 1434 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); 1435 if (FSE_isError(errorCode)) return errorCode; 1436 if (errorCode > 1729 size_t errorCode; local 1815 size_t errorCode; local 2091 size_t errorCode; local 2824 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 | 360 errorCode, which can be tested using ZSTDv06_isError() 708 or an errorCode, which can be tested using FSEv06_isError(). 720 return : 0, or an errorCode, which can be tested using FSEv06_isError() */ 727 or an errorCode, which can be tested using FSEv06_isError() */ 887 * @return : size of stream (== srcSize) or an errorCode if a problem is detected 1582 { size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ local 1583 if (FSEv06_isError(errorCode)) return errorCode; } 1668 { size_t const errorCode = FSEv06_buildDTable (dt, counting, maxSymbolValue, tableLog); local 1669 if (FSEv06_isError(errorCode)) retur 2104 { size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); local 2120 size_t const errorCode = HUFv06_readDTableX2 (DTable, cSrc, cSrcSize); local 2144 size_t errorCode; local 2229 size_t const errorCode = HUFv06_readDTableX2 (DTable, cSrc, cSrcSize); local 2479 { size_t const errorCode = BITv06_initDStream(&bitD, istart, cSrcSize); local 2519 size_t errorCode; local 2726 ZBUFFv06_isError(size_t errorCode) argument 2728 ZBUFFv06_getErrorName(size_t errorCode) argument 3117 { size_t const errorCode = HUFv06_decompress1X4_usingDTable(dctx->litBuffer, litSize, istart+lhSize, litCSize, dctx->hufTableX4); local 3472 { size_t const errorCode = BITv06_initDStream(&(seqState.DStream), ip, iend-ip); local 3821 { size_t const errorCode = FSEv06_buildDTable(dctx->OffTable, offcodeNCount, offcodeMaxValue, offcodeLog); local 3832 { size_t const errorCode = FSEv06_buildDTable(dctx->MLTable, matchlengthNCount, matchlengthMaxValue, matchlengthLog); local 3843 { size_t const errorCode = FSEv06_buildDTable(dctx->LLTable, litlengthNCount, litlengthMaxValue, litlengthLog); local 3877 { size_t const errorCode = ZSTDv06_decompressBegin(dctx); local 3881 size_t const errorCode = ZSTDv06_decompress_insertDictionary(dctx, dict, dictSize); local [all...] |
H A D | zstd_v02.c | 382 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1350 size_t errorCode; local 1353 errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1354 if (FSE_isError(errorCode)) return errorCode; 1428 size_t errorCode; local 1433 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); 1434 if (FSE_isError(errorCode)) return errorCode; 1435 if (errorCode > 1732 size_t errorCode; local 1818 size_t errorCode; local 2094 size_t errorCode; local 2451 size_t errorCode; local 3183 size_t errorCode, dumpsLength; local [all...] |
H A D | zstd_v04.c | 301 errorCode, which can be tested using ZSTD_isError() (For example, if it's not a ZSTD header) 479 or an errorCode, which can be tested using FSE_isError() 492 or an errorCode, which can be tested using FSE_isError() */ 500 or an errorCode, which can be tested using FSE_isError() */ 655 * @result : size of stream (== srcSize) or an errorCode if a problem is detected 1330 size_t errorCode; local 1333 errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ 1334 if (FSE_isError(errorCode)) return errorCode; 1411 size_t errorCode; local 1880 size_t errorCode; local 1966 size_t errorCode; local 2238 size_t errorCode; local 2960 size_t errorCode, dumpsLength; local 3587 ZBUFFv04_isError(size_t errorCode) argument 3588 ZBUFFv04_getErrorName(size_t errorCode) argument [all...] |
H A D | zstd_v07.c | 112 errorCode, which can be tested using ZSTDv07_isError() 555 * @return : size of stream (== srcSize) or an errorCode if a problem is detected 753 or an errorCode, which can be tested using FSEv07_isError(). 765 return : 0, or an errorCode, which can be tested using FSEv07_isError() */ 772 or an errorCode, which can be tested using FSEv07_isError() */ 1602 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ local 1603 if (FSEv07_isError(errorCode)) return errorCode; } 1688 { size_t const errorCode = FSEv07_buildDTable (dt, counting, maxSymbolValue, tableLog); local 1689 if (FSEv07_isError(errorCode)) retur 1880 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); local 1960 { size_t const errorCode = BITv07_initDStream(&bitD1, istart1, length1); local 1962 { size_t const errorCode = BITv07_initDStream(&bitD2, istart2, length2); local 1964 { size_t const errorCode = BITv07_initDStream(&bitD3, istart3, length3); local 1966 { size_t const errorCode = BITv07_initDStream(&bitD4, istart4, length4); local 2283 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); local 2370 { size_t const errorCode = BITv07_initDStream(&bitD1, istart1, length1); local 2372 { size_t const errorCode = BITv07_initDStream(&bitD2, istart2, length2); local 2374 { size_t const errorCode = BITv07_initDStream(&bitD3, istart3, length3); local 2376 { size_t const errorCode = BITv07_initDStream(&bitD4, istart4, length4); local 2625 ZBUFFv07_isError(size_t errorCode) argument 2627 ZBUFFv07_getErrorName(size_t errorCode) argument 3347 { size_t const errorCode = HUFv07_decompress1X4_usingDTable(dctx->litBuffer, litSize, istart+lhSize, litCSize, dctx->hufTable); local 3695 { size_t const errorCode = BITv07_initDStream(&(seqState.DStream), ip, iend-ip); local 4108 { size_t const errorCode = FSEv07_buildDTable(dctx->OffTable, offcodeNCount, offcodeMaxValue, offcodeLog); local 4118 { size_t const errorCode = FSEv07_buildDTable(dctx->MLTable, matchlengthNCount, matchlengthMaxValue, matchlengthLog); local 4128 { size_t const errorCode = FSEv07_buildDTable(dctx->LLTable, litlengthNCount, litlengthMaxValue, litlengthLog); local 4168 { size_t const errorCode = ZSTDv07_decompressBegin(dctx); local 4172 size_t const errorCode = ZSTDv07_decompress_insertDictionary(dctx, dict, dictSize); local 4206 { size_t const errorCode = ZSTDv07_decompressBegin_usingDict(dctx, dictContent, dictSize); local [all...] |
/freebsd-current/contrib/expat/tests/ |
H A D | common.h | 104 extern void _expect_failure(const char *text, enum XML_Error errorCode, 108 # define expect_failure(text, errorCode, errorMessage) \ 109 _expect_failure((text), (errorCode), (errorMessage), __FILE__, __LINE__)
|
H A D | common.c | 213 _expect_failure(const char *text, enum XML_Error errorCode, argument 220 if (XML_GetErrorCode(g_parser) != errorCode)
|
/freebsd-current/contrib/expat/examples/ |
H A D | element_declarations.c | 220 enum XML_Error errorCode = XML_GetErrorCode(parser); local 221 if (errorCode == XML_ERROR_ABORTED) { 222 errorCode = XML_ERROR_NO_MEMORY; 226 XML_GetCurrentLineNumber(parser), XML_ErrorString(errorCode));
|
/freebsd-current/sys/contrib/zstd/lib/ |
H A D | zdict.h | 260 ZDICTLIB_API unsigned ZDICT_isError(size_t errorCode); 261 ZDICTLIB_API const char* ZDICT_getErrorName(size_t errorCode);
|
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 98 unsigned ZDICT_isError(size_t errorCode) { return ERR_isError(errorCode); } argument 100 const char* ZDICT_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } argument 648 { size_t const errorCode = ZSTD_compressBegin_usingCDict(esr.zc, esr.dict); local 649 if (ZSTD_isError(errorCode)) { DISPLAYLEVEL(1, "warning : ZSTD_compressBegin_usingCDict failed \n"); return; } 752 size_t pos = 0, errorCode; local 820 errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax, /* useLowProbCount */ 1); 821 if (FSE_isError(errorCode)) { 822 eSize = errorCode; [all...] |
/freebsd-current/crypto/openssl/test/ |
H A D | cmp_server_test.c | 100 || !TEST_int_eq(ASN1_INTEGER_get(errorContent->errorCode),
|
/freebsd-current/crypto/openssl/crypto/cmp/ |
H A D | cmp_msg.c | 719 int64_t errorCode, const char *details, 736 if ((msg->body->value.error->errorCode = ASN1_INTEGER_new()) == NULL) 738 if (!ASN1_INTEGER_set_int64(msg->body->value.error->errorCode, errorCode)) 740 if (errorCode > 0 741 && (uint64_t)errorCode < ((uint64_t)ERR_SYSTEM_FLAG << 1)) { 742 lib = ERR_lib_error_string((unsigned long)errorCode); 743 reason = ERR_reason_error_string((unsigned long)errorCode); 718 ossl_cmp_error_new(OSSL_CMP_CTX *ctx, const OSSL_CMP_PKISI *si, int64_t errorCode, const char *details, int unprotected) argument
|
H A D | cmp_local.h | 350 * errorCode INTEGER OPTIONAL, 358 ASN1_INTEGER *errorCode; member in struct:ossl_cmp_errormsgcontent_st 887 int64_t errorCode, const char *details, 931 const char *txt, int errorCode, const char *detail);
|
/freebsd-current/crypto/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 319 const ASN1_INTEGER *errorCode, 342 if (errorCode == NULL) 343 BIO_printf(bio_err, "errorCode absent\n"); 345 BIO_printf(bio_err, "errorCode: %ld\n", ASN1_INTEGER_get(errorCode)); 317 process_error(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *error, const OSSL_CMP_PKISI *statusInfo, const ASN1_INTEGER *errorCode, const OSSL_CMP_PKIFREETEXT *errorDetails) argument
|
/freebsd-current/crypto/openssl/fuzz/ |
H A D | cmp.c | 135 const ASN1_INTEGER *errorCode, 133 process_error(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *error, const OSSL_CMP_PKISI *statusInfo, const ASN1_INTEGER *errorCode, const OSSL_CMP_PKIFREETEXT *errorDetails) argument
|
/freebsd-current/sys/contrib/zstd/zlibWrapper/ |
H A D | zstd_zlibwrapper.c | 386 LOG_WRAPPERC("ERROR: ZSTD_CCtx_reset errorCode=%s\n", 392 LOG_WRAPPERC("ERROR: ZSTD_CCtx_setPledgedSrcSize errorCode=%s\n", 475 { size_t errorCode; local 479 errorCode = ZWRAP_freeCCtx(zwc); 480 if (ZSTD_isError(errorCode)) return Z_STREAM_ERROR; 720 { size_t const errorCode = ZSTD_decompressStream(zwd->zbd, &zwd->outBuffer, &zwd->inBuffer); local 721 LOG_WRAPPERD("inflateSetDictionary ZSTD_decompressStream errorCode=%d srcSize=%d dstCapacity=%d\n", 722 (int)errorCode, (int)zwd->inBuffer.size, (int)zwd->outBuffer.size); 723 if (zwd->inBuffer.pos < zwd->outBuffer.size || ZSTD_isError(errorCode)) { 725 ZSTD_getErrorName(errorCode)); [all...] |
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | fse_compress.c | 473 size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue); local 474 if (FSE_isError(errorCode)) return errorCode;
|