Home
last modified time | relevance | path

Searched refs:ZSTD_SKIPPABLEHEADERSIZE (Results 1 – 5 of 5) sorted by relevance

/external/zstd/contrib/seekable_format/
Dzstdseek_compress.c274 size_t const seekTableLen = ZSTD_SKIPPABLEHEADERSIZE + in ZSTD_seekable_seekTableSize()
314 CHECK_Z(ZSTD_stwrite32(fl, output, (U32)seekTableLen - ZSTD_SKIPPABLEHEADERSIZE, 4)); in ZSTD_seekable_writeSeekTable()
317 … unsigned long long const start = ZSTD_SKIPPABLEHEADERSIZE + sizePerFrame * fl->seekTableIndex; in ZSTD_seekable_writeSeekTable()
Dzstdseek_decompress.c283 U32 const frameSize = tableSize + ZSTD_seekTableFooterSize + ZSTD_SKIPPABLEHEADERSIZE; in ZSTD_seekable_loadSeekTable()
298 if (MEM_readLE32(zs->inBuff+4) + ZSTD_SKIPPABLEHEADERSIZE != frameSize) { in ZSTD_seekable_loadSeekTable()
/external/zstd/lib/decompress/
Dzstd_decompress.c265 if (srcSize < ZSTD_SKIPPABLEHEADERSIZE) in ZSTD_getFrameHeader_advanced()
266 return ZSTD_SKIPPABLEHEADERSIZE; /* magic number + frame length */ in ZSTD_getFrameHeader_advanced()
365 size_t const skippableHeaderSize = ZSTD_SKIPPABLEHEADERSIZE; in readSkippableFrameSize()
368 RETURN_ERROR_IF(srcSize < ZSTD_SKIPPABLEHEADERSIZE, srcSize_wrong, ""); in readSkippableFrameSize()
371 RETURN_ERROR_IF((U32)(sizeU32 + ZSTD_SKIPPABLEHEADERSIZE) < sizeU32, in readSkippableFrameSize()
480 if ((srcSize >= ZSTD_SKIPPABLEHEADERSIZE) in ZSTD_findFrameSizeInfo()
912 …dctx->expected = ZSTD_SKIPPABLEHEADERSIZE - srcSize; /* remaining to load to get full skippable f… in ZSTD_decompressContinue()
1033 assert(srcSize <= ZSTD_SKIPPABLEHEADERSIZE); in ZSTD_decompressContinue()
1034 …ZSTD_memcpy(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complet… in ZSTD_decompressContinue()
/external/zstd/lib/
Dzstd.h1069 #define ZSTD_SKIPPABLEHEADERSIZE 8 macro
/external/zstd/tests/
Dfuzzer.c1584 off += skipLen + ZSTD_SKIPPABLEHEADERSIZE; in basicUnitTests()