Lines Matching defs:ZSTD_CONTENTSIZE_UNKNOWN

131  *            - ZSTD_CONTENTSIZE_UNKNOWN if the size cannot be determined
135 * When `return==ZSTD_CONTENTSIZE_UNKNOWN`, data to decompress could be any size.
149 #define ZSTD_CONTENTSIZE_UNKNOWN (0ULL - 1)
470 * In order to mean "unknown content size", pass constant ZSTD_CONTENTSIZE_UNKNOWN.
471 * ZSTD_CONTENTSIZE_UNKNOWN is default value for any new frame.
473 * It's discarded at the end of the frame, and replaced by ZSTD_CONTENTSIZE_UNKNOWN.
1314 * - if the decompressed size cannot be determined: ZSTD_CONTENTSIZE_UNKNOWN
1318 * When `return==ZSTD_CONTENTSIZE_UNKNOWN`, data to decompress could be any size.
1646 * `srcSize` can be unknown, in which case use ZSTD_CONTENTSIZE_UNKNOWN.
2179 * ZSTD_CONTENTSIZE_UNKNOWN. Note that, for compatibility with older programs,
2217 * If srcSize is not known at init time, use value ZSTD_CONTENTSIZE_UNKNOWN.
2249 * value ZSTD_CONTENTSIZE_UNKNOWN.
2262 * Note: ZSTD_resetCStream() interprets pledgedSrcSize == 0 as ZSTD_CONTENTSIZE_UNKNOWN, but
2263 * ZSTD_CCtx_setPledgedSrcSize() does not do the same, so ZSTD_CONTENTSIZE_UNKNOWN must be
2269 * If pledgedSrcSize is not known at reset time, use macro ZSTD_CONTENTSIZE_UNKNOWN.
2272 * but it will change to mean "empty" in future version, so use macro ZSTD_CONTENTSIZE_UNKNOWN instead.
2390 ZSTDLIB_STATIC_API size_t ZSTD_copyCCtx(ZSTD_CCtx* cctx, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /*< note: if pledgedSrcSize is not known, use ZSTD_CONTENTSIZE_UNKNOWN */
2397 size_t ZSTD_compressBegin_advanced(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize); /*< pledgedSrcSize : If srcSize is not known at init time, use ZSTD_CONTENTSIZE_UNKNOWN */
2399 size_t ZSTD_compressBegin_usingCDict_advanced(ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compression parameters are already set within cdict. pledgedSrcSize must be correct. If srcSize is not known, use macro ZSTD_CONTENTSIZE_UNKNOWN */
2476 unsigned long long frameContentSize; /* if == ZSTD_CONTENTSIZE_UNKNOWN, it means this field is not available. 0 means "empty" */
2495 ZSTDLIB_STATIC_API size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSize); /*< when frame content size is not known, pass in frameContentSize == ZSTD_CONTENTSIZE_UNKNOWN */