Lines Matching refs:result

768     convert a `size_t` function result into a `ZSTD_ErrorCode` enum type,
1031 The result of FSE_normalizeCount() will be saved into a table,
1041 The result of the function is the number of bytes written into 'buffer'.
1099 The result of FSE_readNCount() is the number of bytes read from 'rBuffer'.
1110 FSE_decompress_usingDTable() result will tell how many bytes were regenerated (<=`dstCapacity`).
1398 BIT_DStream_overflow = 3 } BIT_DStream_status; /* result of BIT_reloadDStream() */
1412 * A reload guarantee a minimum of ((8*sizeof(bitD->bitContainer))-7) bits when its result is BIT_DStream_unfinished.
1624 /* if start > regMask, bitstream is corrupted, and result is undefined */
1646 * bitstream is likely corrupted, and result is undefined */
1726 BIT_DStream_status result = BIT_DStream_unfinished;
1729 result = BIT_DStream_endOfBuffer;
1734 return result;
1850 Note that BIT_initCStream() can produce an error code, so its result should be tested, using FSE_isError();
1922 BIT_reloadDStream() result tells if there is still some more data to read from DStream.
1926 BIT_DStream_tooFar : Dstream went too far. Decompression result is corrupted.
1945 /* faster, but works only if nbBits is always >= 1 (otherwise, result will be corrupted) */
2000 * Fractional get rounded up (i.e : a symbol with a normalized frequency of 3 gives the same result as a frequency of 2)
2418 * Buffer overflow errors may potentially occur if code modifications result in
3261 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function result is an error code */
3386 * Larger tables result in better and slower compression.
3392 * More attempts result in better and slower compression.
3441 * Deviating far from default value will likely result in a compression ratio decrease.
3536 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
3734 ZSTD_e_continue=0, /* collect more data, encoder decides when to output compressed result, for optimal compression ratio */
3973 * - `srcSize` is too small, and as a result, the frame header could not be decoded (only possible if `srcSize < ZSTD_FRAMEHEADERSIZE_MAX`).
3992 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
4015 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
4028 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
4047 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
4063 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
4077 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
4313 * Always ensure result fits within application's authorized limits.
4563 * it will result in compression ratio degradation.
4655 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
4662 * @result : 0, or an error code (which can be tested with ZSTD_isError()).
5032 @result : 0 : successful decoding, the `ZSTD_frameHeader` structure is correctly filled.
5033 >0 : `srcSize` is too small, please provide at least @result bytes on next attempt.
5072 @result of ZSTD_decompressContinue() is the number of bytes regenerated within 'dst' (necessarily <= dstCapacity).
5153 - When a block is considered not compressible enough, ZSTD_compressBlock() result will be 0 (zero) !
5334 "seed" can be used to alter the result predictably.
5338 "seed" can be used to alter the result predictably.
5405 /* Default result type for XXH functions are primitive unsigned 32 and 64 bits.
5407 * These functions allow transformation of hash result into and from its canonical format.
6297 /*! Default XXH result types are basic unsigned 32 and 64 bits.
6299 * These functions allow transformation of hash result into and from its canonical format.
7200 int result;
7203 result = POOL_resize_internal(ctx, numThreads);
7206 return result;
7357 * provides error code string from function result (useful for debugging) */
7361 * convert a `size_t` function result into a proper ZSTD_errorCode enum */
8524 /* check result */
8753 /* fill result into tree (val, nbBits) */
13122 * Note that the result from this function is only compatible with the "normal"
16395 size_t result;
16398 result = ZSTD_compressCCtx(&ctxBody, dst, dstCapacity, src, srcSize, compressionLevel);
16400 return result;
17156 size_t const result = ZSTD_compressStream2_simpleArgs(cctx,
17160 FORWARD_IF_ERROR(result, "ZSTD_compressStream2_simpleArgs failed");
17161 if (result != 0) { /* compression not completed, due to lack of output space */
20565 /* no need to check length, result known */
20656 ZSTD_match_t* matches, /* store result (found matches) in this table (presumed large enough) */
20889 ZSTD_match_t* matches, /* store result (match found, increasing size) in this table */
21942 /* check result */
22945 ZSTDv01_isError() : tells if the result of ZSTDv01_decompress() is an error
23043 ZSTDv02_isError() : tells if the result of ZSTDv02_decompress() is an error
23140 ZSTDv03_isError() : tells if the result of ZSTDv03_decompress() is an error
23237 ZSTDv04_isError() : tells if the result of ZSTDv04_decompress() is an error
23384 unsigned ZSTDv05_isError(size_t code); /*!< tells if a `size_t` function result is an error code */
23561 ZSTDLIBv06_API unsigned ZSTDv06_isError(size_t code); /*!< tells if a `size_t` function result is an error code */
23739 ZSTDLIBv07_API unsigned ZSTDv07_isError(size_t code); /*!< tells if a `size_t` function result is an error code */
23960 { size_t result;
23963 result = ZSTDv05_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize);
23965 return result;
23970 { size_t result;
23973 result = ZSTDv06_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize);
23975 return result;
23980 { size_t result;
23983 result = ZSTDv07_decompress_usingDict(zd, dst, dstCapacity, src, compressedSize, dict, dictSize);
23985 return result;
24945 size_t const result = ZSTD_getFrameHeader_advanced(&(dctx->fParams), src, headerSize, dctx->format);
24946 if (ZSTD_isError(result)) return result; /* invalid header */
24947 RETURN_ERROR_IF(result>0, srcSize_wrong, "headerSize too small");
25738 * - `srcSize` is too small, and as a result, frame header could not be decoded.
26336 /* result */