/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v01.c | 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() [all …]
|
H A D | zstd_v05.c | 1437 size_t errorCode; in FSEv05_decompress_usingDTable_generic() local 1440 …errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Siz… in FSEv05_decompress_usingDTable_generic() 1441 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress_usingDTable_generic() 1514 size_t errorCode; in FSEv05_decompress() local 1519 errorCode = FSEv05_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSEv05_decompress() 1520 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress() 1521 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSEv05_decompress() 1522 ip += errorCode; in FSEv05_decompress() 1523 cSrcSize -= errorCode; in FSEv05_decompress() 1525 errorCode = FSEv05_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv05_decompress() [all …]
|
H A D | zstd_v02.c | 1350 size_t errorCode; in FSE_decompress_usingDTable_generic() local 1353 …errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic() 1354 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic() 1428 size_t errorCode; in FSE_decompress() local 1433 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress() 1434 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress() 1435 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress() 1436 ip += errorCode; in FSE_decompress() 1437 cSrcSize -= errorCode; in FSE_decompress() 1439 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress() [all …]
|
H A D | zstd_v03.c | 1351 size_t errorCode; in FSE_decompress_usingDTable_generic() local 1354 …errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic() 1355 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic() 1429 size_t errorCode; in FSE_decompress() local 1434 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress() 1435 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress() 1436 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress() 1437 ip += errorCode; in FSE_decompress() 1438 cSrcSize -= errorCode; in FSE_decompress() 1440 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress() [all …]
|
H A D | zstd_v06.c | 1582 …{ 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 …]
|
H A D | zstd_v04.c | 1330 size_t errorCode; in FSE_decompress_usingDTable_generic() local 1333 …errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic() 1334 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic() 1411 size_t errorCode; in FSE_decompress() local 1416 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress() 1417 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress() 1418 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress() 1419 ip += errorCode; in FSE_decompress() 1420 cSrcSize -= errorCode; in FSE_decompress() 1422 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress() [all …]
|
H A D | zstd_v07.c | 1602 …{ 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 …]
|
H A D | zstd_v04.h | 122 unsigned ZBUFFv04_isError(size_t errorCode); 123 const char* ZBUFFv04_getErrorName(size_t errorCode);
|
H A D | zstd_v05.h | 140 unsigned ZBUFFv05_isError(size_t errorCode); 141 const char* ZBUFFv05_getErrorName(size_t errorCode);
|
H A D | zstd_v06.h | 152 ZSTDLIBv06_API unsigned ZBUFFv06_isError(size_t errorCode); 153 ZSTDLIBv06_API const char* ZBUFFv06_getErrorName(size_t errorCode);
|
H A D | zstd_v07.h | 168 ZSTDLIBv07_API unsigned ZBUFFv07_isError(size_t errorCode); 169 ZSTDLIBv07_API const char* ZBUFFv07_getErrorName(size_t errorCode);
|
/freebsd/sys/contrib/zstd/lib/deprecated/ |
H A D | 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
|
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/contrib/expat/examples/ |
H A D | element_declarations.c | 221 enum XML_Error errorCode = XML_GetErrorCode(parser); in main() 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() 220 enum XML_Error errorCode = XML_GetErrorCode(parser); main() local
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 98 unsigned ZDICT_isError(size_t errorCode) { return ERR_isError(errorCode); } in ZDICT_isError() argument 100 const char* ZDICT_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); } in ZDICT_getErrorName() argument 648 { size_t const errorCode = ZSTD_compressBegin_usingCDict(esr.zc, esr.dict); in ZDICT_countEStats() local 649 …if (ZSTD_isError(errorCode)) { DISPLAYLEVEL(1, "warning : ZSTD_compressBegin_usingCDict failed \n"… in ZDICT_countEStats() 752 size_t pos = 0, errorCode; in ZDICT_analyzeEntropy() local 820 …errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax, /* useLowPr… in ZDICT_analyzeEntropy() 821 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy() 822 eSize = errorCode; in ZDICT_analyzeEntropy() 826 Offlog = (U32)errorCode; in ZDICT_analyzeEntropy() 829 …errorCode = FSE_normalizeCount(matchLengthNCount, mlLog, matchLengthCount, total, MaxML, /* useLow… in ZDICT_analyzeEntropy() [all …]
|
/freebsd/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) \ argument 109 _expect_failure((text), (errorCode), (errorMessage), __FILE__, __LINE__)
|
H A D | common.c | 214 _expect_failure(const char *text, enum XML_Error errorCode, in _expect_failure() 221 if (XML_GetErrorCode(g_parser) != errorCode) in _expect_failure() 213 _expect_failure(const char * text,enum XML_Error errorCode,const char * errorMessage,const char * file,int lineno) _expect_failure() argument
|
/freebsd/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/crypto/openssl/crypto/cmp/ |
H A D | cmp_msg.c | 719 int64_t errorCode, const char *details, in ossl_cmp_error_new() argument 736 if ((msg->body->value.error->errorCode = ASN1_INTEGER_new()) == NULL) in ossl_cmp_error_new() 738 if (!ASN1_INTEGER_set_int64(msg->body->value.error->errorCode, errorCode)) in ossl_cmp_error_new() 740 if (errorCode > 0 in ossl_cmp_error_new() 741 && (uint64_t)errorCode < ((uint64_t)ERR_SYSTEM_FLAG << 1)) { in ossl_cmp_error_new() 742 lib = ERR_lib_error_string((unsigned long)errorCode); in ossl_cmp_error_new() 743 reason = ERR_reason_error_string((unsigned long)errorCode); in ossl_cmp_error_new()
|
H A D | cmp_client.c | 217 if (emc->errorCode != NULL in send_receive_check() 219 ASN1_INTEGER_get(emc->errorCode)) > 0) in send_receive_check() 385 const char *txt, int errorCode, const char *details) in ossl_cmp_exchange_error() argument 396 if ((error = ossl_cmp_error_new(ctx, si, errorCode, details, 0)) == NULL) in ossl_cmp_exchange_error()
|
H A D | cmp_local.h | 358 ASN1_INTEGER *errorCode; member 887 int64_t errorCode, const char *details, 931 const char *txt, int errorCode, const char *detail);
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | ossl_cmp_certreq_new.pod | 41 int64_t errorCode, const char *details, 145 I<si>, I<errorCode>, and optional I<details>. 146 If I<errorCode> is positive and in the range of an OpenSSL error code,
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 319 const ASN1_INTEGER *errorCode, in process_error() argument 342 if (errorCode == NULL) in process_error() 345 BIO_printf(bio_err, "errorCode: %ld\n", ASN1_INTEGER_get(errorCode)); in process_error()
|
/freebsd/sys/contrib/zstd/zlibWrapper/ |
H A D | zstd_zlibwrapper.c | 475 { size_t errorCode; in z_deflateEnd() local 479 errorCode = ZWRAP_freeCCtx(zwc); in z_deflateEnd() 480 if (ZSTD_isError(errorCode)) return Z_STREAM_ERROR; in z_deflateEnd() 720 … { size_t const errorCode = ZSTD_decompressStream(zwd->zbd, &zwd->outBuffer, &zwd->inBuffer); in z_inflateSetDictionary() local 722 (int)errorCode, (int)zwd->inBuffer.size, (int)zwd->outBuffer.size); in z_inflateSetDictionary() 723 if (zwd->inBuffer.pos < zwd->outBuffer.size || ZSTD_isError(errorCode)) { in z_inflateSetDictionary() 725 ZSTD_getErrorName(errorCode)); in z_inflateSetDictionary()
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | benchzstd.c | 833 { int const errorCode = BMK_loadFiles(dictBuffer, dictBufferSize, in BMK_benchFilesAdvanced() local 836 if (errorCode) { in BMK_benchFilesAdvanced() 856 { int const errorCode = BMK_loadFiles(srcBuffer, benchedSize, in BMK_benchFilesAdvanced() local 859 if (errorCode) { in BMK_benchFilesAdvanced()
|