Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c366 { U32 const magic = MEM_readLE32(buffer); in ZSTD_isFrame()
419 && (MEM_readLE32(src) != ZSTD_MAGICNUMBER) ) { in ZSTD_getFrameHeader_advanced()
420 if ((MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { in ZSTD_getFrameHeader_advanced()
425 zfhPtr->frameContentSize = MEM_readLE32((const char *)src + ZSTD_FRAMEIDSIZE); in ZSTD_getFrameHeader_advanced()
465 case 3 : dictID = MEM_readLE32(ip+pos); pos+=4; break; in ZSTD_getFrameHeader_advanced()
474 case 2 : frameContentSize = MEM_readLE32(ip+pos); break; in ZSTD_getFrameHeader_advanced()
525 sizeU32 = MEM_readLE32((BYTE const*)src + ZSTD_FRAMEIDSIZE); in readSkippableFrameSize()
545 U32 const magicNumber = MEM_readLE32(src); in ZSTD_findDecompressedSize()
640 && (MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { in ZSTD_findFrameSizeInfo()
860 checkRead = MEM_readLE32(ip); in ZSTD_decompressFrame()
[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.c100 U32 const lhc = MEM_readLE32(istart); in ZSTD_decodeLiteralsBlock()
/linux-6.1.9/lib/zstd/common/
Dmem.h61 MEM_STATIC U32 MEM_readLE32(const void* memPtr);
167 MEM_STATIC U32 MEM_readLE32(const void *memPtr) in MEM_readLE32() function
190 return (size_t)MEM_readLE32(memPtr); in MEM_readLEST()
Dentropy_common.c89 bitStream = MEM_readLE32(ip); in FSE_readNCount_body()
116 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
147 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
195 bitStream = MEM_readLE32(ip) >> bitCount; in FSE_readNCount_body()
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c3208 bs->rep[0] = MEM_readLE32(dictPtr+0); in ZSTD_loadCEntropy()
3209 bs->rep[1] = MEM_readLE32(dictPtr+4); in ZSTD_loadCEntropy()
3210 bs->rep[2] = MEM_readLE32(dictPtr+8); in ZSTD_loadCEntropy()
3256 assert(MEM_readLE32(dictPtr) == ZSTD_MAGIC_DICTIONARY); in ZSTD_loadZstdDictionary()
3258 dictID = params->fParams.noDictIDFlag ? 0 : MEM_readLE32(dictPtr + 4 /* skip magic number */ ); in ZSTD_loadZstdDictionary()
3296 if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) { in ZSTD_compress_insertDictionary()
Dzstd_compress_internal.h661 MEM_STATIC size_t ZSTD_hash3Ptr(const void* ptr, U32 h) { return ZSTD_hash3(MEM_readLE32(ptr), h); … in ZSTD_hash3Ptr()