Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c369 { U32 const magic = MEM_readLE32(buffer); in ZSTD_isFrame()
383 { U32 const magic = MEM_readLE32(buffer); in ZSTD_isSkippableFrame()
435 && (MEM_readLE32(src) != ZSTD_MAGICNUMBER) ) { in ZSTD_getFrameHeader_advanced()
436 if ((MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { in ZSTD_getFrameHeader_advanced()
441 zfhPtr->frameContentSize = MEM_readLE32((const char *)src + ZSTD_FRAMEIDSIZE); in ZSTD_getFrameHeader_advanced()
481 case 3 : dictID = MEM_readLE32(ip+pos); pos+=4; break; in ZSTD_getFrameHeader_advanced()
490 case 2 : frameContentSize = MEM_readLE32(ip+pos); break; in ZSTD_getFrameHeader_advanced()
540 sizeU32 = MEM_readLE32((BYTE const*)src + ZSTD_FRAMEIDSIZE); in readSkippableFrameSize()
564 U32 const magicNumber = MEM_readLE32(src); in ZSTD_readSkippableFrame()
591 U32 const magicNumber = MEM_readLE32(src); in ZSTD_findDecompressedSize()
[all …]
Dzstd_ddict.c99 { U32 const magic = MEM_readLE32(ddict->dictContent); in ZSTD_loadEntropy_intoDDict()
106 ddict->dictID = MEM_readLE32((const char*)ddict->dictContent + ZSTD_FRAMEIDSIZE); in ZSTD_loadEntropy_intoDDict()
Dzstd_decompress_block.c141 U32 const lhc = MEM_readLE32(istart); in ZSTD_decodeLiteralsBlock()
/linux-6.12.1/lib/zstd/common/
Dentropy_common.c88 bitStream = MEM_readLE32(ip); in FSE_readNCount_body()
115 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
146 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
194 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
Dmem.h63 MEM_STATIC U32 MEM_readLE32(const void* memPtr);
169 MEM_STATIC U32 MEM_readLE32(const void *memPtr) in MEM_readLE32() function
192 return (size_t)MEM_readLE32(memPtr); in MEM_readLEST()
/linux-6.12.1/lib/zstd/compress/
Dzstd_compress.c4291 bs->rep[0] = MEM_readLE32(dictPtr+0); in ZSTD_loadCEntropy()
4292 bs->rep[1] = MEM_readLE32(dictPtr+4); in ZSTD_loadCEntropy()
4293 bs->rep[2] = MEM_readLE32(dictPtr+8); in ZSTD_loadCEntropy()
4338 assert(MEM_readLE32(dictPtr) == ZSTD_MAGIC_DICTIONARY); in ZSTD_loadZstdDictionary()
4340 dictID = params->fParams.noDictIDFlag ? 0 : MEM_readLE32(dictPtr + 4 /* skip magic number */ ); in ZSTD_loadZstdDictionary()
4378 if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) { in ZSTD_compress_insertDictionary()
Dzstd_compress_internal.h787 MEM_STATIC size_t ZSTD_hash3Ptr(const void* ptr, U32 h) { return ZSTD_hash3(MEM_readLE32(ptr), h); … in ZSTD_hash3Ptr()