Home
last modified time | relevance | path

Searched refs:ZSTD_f_zstd1 (Results 1 – 7 of 7) sorted by relevance

/external/zstd/tests/fuzz/
Dzstd_frame_info.c41 ZSTD_getFrameHeader_advanced(&zfh, src, size, ZSTD_f_zstd1); in LLVMFuzzerTestOneInput()
/external/zstd/lib/decompress/
Dzstd_decompress.c93 assert( (format == ZSTD_f_zstd1) || (format == ZSTD_f_zstd1_magicless) ); in ZSTD_startingInputLength()
100 dctx->format = ZSTD_f_zstd1; in ZSTD_DCtx_resetParameters()
242 return ZSTD_frameHeaderSize_internal(src, srcSize, ZSTD_f_zstd1); in ZSTD_frameHeaderSize()
336 return ZSTD_getFrameHeader_advanced(zfhPtr, src, srcSize, ZSTD_f_zstd1); in ZSTD_getFrameHeader()
389 while (srcSize >= ZSTD_startingInputLength(ZSTD_f_zstd1)) { in ZSTD_findDecompressedSize()
908 if (dctx->format == ZSTD_f_zstd1) { /* allows header */ in ZSTD_decompressContinue()
1427 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1429 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_dParam_getBounds()
/external/zstd/tests/
Dfullbench.c540 … frameHeaderSize = ZSTD_frameHeaderSize(dstBuff, ZSTD_FRAMEHEADERSIZE_PREFIX(ZSTD_f_zstd1)); in benchMem()
561 CONTROL(cSize > ZSTD_FRAMEHEADERSIZE_PREFIX(ZSTD_f_zstd1)); in benchMem()
564 …t const frameHeaderSize = ZSTD_frameHeaderSize(dstBuff, ZSTD_FRAMEHEADERSIZE_PREFIX(ZSTD_f_zstd1)); in benchMem()
/external/zstd/lib/
Dzstd.h1066 #define ZSTD_FRAMEHEADERSIZE_PREFIX(format) ((format) == ZSTD_f_zstd1 ? 5 : 1) /* minimum input s…
1067 #define ZSTD_FRAMEHEADERSIZE_MIN(format) ((format) == ZSTD_f_zstd1 ? 6 : 2)
1196ZSTD_f_zstd1 = 0, /* zstd frame format, specified in zstd_compression_format.md (default… enumerator
/external/zstd/zlibWrapper/
Dzstd_zlibwrapper.c34 #define ZSTD_HEADERSIZE ZSTD_FRAMEHEADERSIZE_MIN(ZSTD_f_zstd1)
/external/zstd/lib/compress/
Dzstd_compress.c428 ZSTD_STATIC_ASSERT(ZSTD_f_zstd1 < ZSTD_f_zstd1_magicless); in ZSTD_cParam_getBounds()
429 bounds.lowerBound = ZSTD_f_zstd1; in ZSTD_cParam_getBounds()
2932 if (params->format == ZSTD_f_zstd1) { in ZSTD_writeFrameHeader()
/external/zstd/programs/
Dfileio.c2820 if (numBytesRead < ZSTD_FRAMEHEADERSIZE_MIN(ZSTD_f_zstd1)) { in FIO_analyzeFrames()