Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c789 size_t errorCode; in FSE_decompress_usingDTable_generic() local
792errorCode = FSE_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
793 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
867 size_t errorCode; in FSE_decompress() local
872 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
873 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
874 if (errorCode >= cSrcSize) return (size_t)-FSE_ERROR_srcSize_wrong; /* too small input size */ in FSE_decompress()
875 ip += errorCode; in FSE_decompress()
876 cSrcSize -= errorCode; in FSE_decompress()
878 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
H A Dzstd_v05.c1385 size_t errorCode; in FSEv05_decompress_usingDTable_generic() local
1388errorCode = BITv05_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Siz… in FSEv05_decompress_usingDTable_generic()
1389 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress_usingDTable_generic()
1462 size_t errorCode; in FSEv05_decompress() local
1467 errorCode = FSEv05_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSEv05_decompress()
1468 if (FSEv05_isError(errorCode)) return errorCode; in FSEv05_decompress()
1469 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSEv05_decompress()
1470 ip += errorCode; in FSEv05_decompress()
1471 cSrcSize -= errorCode; in FSEv05_decompress()
1473 errorCode = FSEv05_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv05_decompress()
[all …]
H A Dzstd_v02.c1289 size_t errorCode; in FSE_decompress_usingDTable_generic() local
1292errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
1293 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1367 size_t errorCode; in FSE_decompress() local
1372 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
1373 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1374 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress()
1375 ip += errorCode; in FSE_decompress()
1376 cSrcSize -= errorCode; in FSE_decompress()
1378 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
H A Dzstd_v03.c1289 size_t errorCode; in FSE_decompress_usingDTable_generic() local
1292errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
1293 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1367 size_t errorCode; in FSE_decompress() local
1372 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
1373 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1374 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress()
1375 ip += errorCode; in FSE_decompress()
1376 cSrcSize -= errorCode; in FSE_decompress()
1378 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
H A Dzstd_v04.c1274 size_t errorCode; in FSE_decompress_usingDTable_generic() local
1277errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by maxCompressed Size */ in FSE_decompress_usingDTable_generic()
1278 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress_usingDTable_generic()
1355 size_t errorCode; in FSE_decompress() local
1360 errorCode = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress()
1361 if (FSE_isError(errorCode)) return errorCode; in FSE_decompress()
1362 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSE_decompress()
1363 ip += errorCode; in FSE_decompress()
1364 cSrcSize -= errorCode; in FSE_decompress()
1366 errorCode = FSE_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSE_decompress()
[all …]
H A Dzstd_v06.c1526 …{ size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by ma… in FSEv06_decompress_usingDTable_generic() local
1527 if (FSEv06_isError(errorCode)) return errorCode; } in FSEv06_decompress_usingDTable_generic()
1612 { size_t const errorCode = FSEv06_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv06_decompress() local
1613 if (FSEv06_isError(errorCode)) return errorCode; } in FSEv06_decompress()
2048 { size_t const errorCode = BITv06_initDStream(&bitD, cSrc, cSrcSize); in HUFv06_decompress1X2_usingDTable() local
2049 if (HUFv06_isError(errorCode)) return errorCode; } in HUFv06_decompress1X2_usingDTable()
2064 size_t const errorCode = HUFv06_readDTableX2 (DTable, cSrc, cSrcSize); in HUFv06_decompress1X2() local
2065 if (HUFv06_isError(errorCode)) return errorCode; in HUFv06_decompress1X2()
2066 if (errorCode >= cSrcSize) return ERROR(srcSize_wrong); in HUFv06_decompress1X2()
2067 ip += errorCode; in HUFv06_decompress1X2()
[all …]
H A Dzstd_v07.c1547 …{ size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); /* replaced last arg by ma… in FSEv07_decompress_usingDTable_generic() local
1548 if (FSEv07_isError(errorCode)) return errorCode; } in FSEv07_decompress_usingDTable_generic()
1633 { size_t const errorCode = FSEv07_buildDTable (dt, counting, maxSymbolValue, tableLog); in FSEv07_decompress() local
1634 if (FSEv07_isError(errorCode)) return errorCode; } in FSEv07_decompress()
1825 { size_t const errorCode = BITv07_initDStream(&bitD, cSrc, cSrcSize); in HUFv07_decompress1X2_usingDTable_internal() local
1826 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress1X2_usingDTable_internal()
1905 { size_t const errorCode = BITv07_initDStream(&bitD1, istart1, length1); in HUFv07_decompress4X2_usingDTable_internal() local
1906 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress4X2_usingDTable_internal()
1907 { size_t const errorCode = BITv07_initDStream(&bitD2, istart2, length2); in HUFv07_decompress4X2_usingDTable_internal() local
1908 if (HUFv07_isError(errorCode)) return errorCode; } in HUFv07_decompress4X2_usingDTable_internal()
[all …]
H A Dzstd_v04.h122 unsigned ZBUFFv04_isError(size_t errorCode);
123 const char* ZBUFFv04_getErrorName(size_t errorCode);
H A Dzstd_v06.h152 ZSTDLIBv06_API unsigned ZBUFFv06_isError(size_t errorCode);
153 ZSTDLIBv06_API const char* ZBUFFv06_getErrorName(size_t errorCode);
H A Dzstd_v05.h140 unsigned ZBUFFv05_isError(size_t errorCode);
141 const char* ZBUFFv05_getErrorName(size_t errorCode);
H A Dzstd_v07.h168 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 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
H A Dzbuff.h163 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 Delement_declarations.c222 enum XML_Error errorCode = XML_GetErrorCode(parser); in main() local
223 if (errorCode == XML_ERROR_ABORTED) { in main()
224 errorCode = XML_ERROR_NO_MEMORY; in main()
228 XML_GetCurrentLineNumber(parser), XML_ErrorString(errorCode)); in main()
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c98 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
575 { size_t const errorCode = ZSTD_compressBegin_usingCDict_deprecated(esr.zc, esr.dict); in ZDICT_countEStats() local
576 …if (ZSTD_isError(errorCode)) { DISPLAYLEVEL(1, "warning : ZSTD_compressBegin_usingCDict failed \n"… in ZDICT_countEStats()
679 size_t pos = 0, errorCode; in ZDICT_analyzeEntropy() local
748errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax, /* useLowPr… in ZDICT_analyzeEntropy()
749 if (FSE_isError(errorCode)) { in ZDICT_analyzeEntropy()
750 eSize = errorCode; in ZDICT_analyzeEntropy()
754 Offlog = (U32)errorCode; in ZDICT_analyzeEntropy()
757errorCode = FSE_normalizeCount(matchLengthNCount, mlLog, matchLengthCount, total, MaxML, /* useLow… in ZDICT_analyzeEntropy()
[all …]
/freebsd/contrib/expat/tests/
H A Dcommon.h104 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 Dcommon.c223 _expect_failure(const char *text, enum XML_Error errorCode, in _expect_failure() argument
230 if (XML_GetErrorCode(g_parser) != errorCode) in _expect_failure()
/freebsd/sys/contrib/zstd/lib/
H A Dzdict.h271 ZDICTLIB_API unsigned ZDICT_isError(size_t errorCode);
272 ZDICTLIB_API const char* ZDICT_getErrorName(size_t errorCode);
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_msg.c804 int64_t errorCode, const char *details, in ossl_cmp_error_new() argument
821 if ((msg->body->value.error->errorCode = ASN1_INTEGER_new()) == NULL) in ossl_cmp_error_new()
823 if (!ASN1_INTEGER_set_int64(msg->body->value.error->errorCode, errorCode)) in ossl_cmp_error_new()
825 if (errorCode > 0 in ossl_cmp_error_new()
826 && (uint64_t)errorCode < ((uint64_t)ERR_SYSTEM_FLAG << 1)) { in ossl_cmp_error_new()
827 lib = ERR_lib_error_string((unsigned long)errorCode); in ossl_cmp_error_new()
828 reason = ERR_reason_error_string((unsigned long)errorCode); in ossl_cmp_error_new()
H A Dcmp_server.c175 fail_info = 0, errorCode = 0; in delayed_delivery() local
194 errorCode = ERR_GET_REASON(err); in delayed_delivery()
202 msg = ossl_cmp_error_new(srv_ctx->ctx, si, errorCode, details, in delayed_delivery()
391 errorContent->errorCode, errorContent->errorDetails); in process_error()
H A Dcmp_client.c241 if (emc->errorCode != NULL in send_receive_check()
243 ASN1_INTEGER_get(emc->errorCode)) in send_receive_check()
487 const char *txt, int errorCode, const char *details) in ossl_cmp_exchange_error() argument
499 if ((error = ossl_cmp_error_new(ctx, si, errorCode, details, 0)) == NULL) in ossl_cmp_exchange_error()
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_cmp_certreq_new.pod41 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/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c475 { 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()
722 … { size_t const errorCode = ZSTD_decompressStream(zwd->zbd, &zwd->outBuffer, &zwd->inBuffer); in z_inflateSetDictionary() local
724 (int)errorCode, (int)zwd->inBuffer.size, (int)zwd->outBuffer.size); in z_inflateSetDictionary()
725 if (zwd->inBuffer.pos < zwd->outBuffer.size || ZSTD_isError(errorCode)) { in z_inflateSetDictionary()
727 ZSTD_getErrorName(errorCode)); in z_inflateSetDictionary()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c505 …size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue… in FSE_normalizeCount() local
506 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c504 …size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue… in FSE_normalizeCount() local
505 if (FSE_isError(errorCode)) return errorCode; in FSE_normalizeCount()

12