Home
last modified time | relevance | path

Searched refs:ZSTD_FRAMEIDSIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/lib/zstd/decompress/
Dzstd_decompress.c368 if (size < ZSTD_FRAMEIDSIZE) return 0; in ZSTD_isFrame()
382 if (size < ZSTD_FRAMEIDSIZE) return 0; in ZSTD_isSkippableFrame()
441 zfhPtr->frameContentSize = MEM_readLE32((const char *)src + ZSTD_FRAMEIDSIZE); in ZSTD_getFrameHeader_advanced()
540 sizeU32 = MEM_readLE32((BYTE const*)src + ZSTD_FRAMEIDSIZE); in readSkippableFrameSize()
1126 assert(srcSize >= ZSTD_FRAMEIDSIZE); /* to read skippable magic number */ in ZSTD_decompressContinue()
1254 …dctx->expected = MEM_readLE32(dctx->headerBuffer + ZSTD_FRAMEIDSIZE); /* note : dctx->expected c… in ZSTD_decompressContinue()
1381 dctx->dictID = MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE); in ZSTD_decompress_insertDictionary()
1459 return MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE); in ZSTD_getDictID_fromDict()
1973 zds->expected = MEM_readLE32(zds->headerBuffer + ZSTD_FRAMEIDSIZE); in ZSTD_decompressStream()
Dzstd_ddict.c106 ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE); in ZSTD_loadEntropy_intoDDict()
/linux-6.6.21/lib/zstd/common/
Dzstd_internal.h77 #define ZSTD_FRAMEIDSIZE 4 /* magic number size */ macro