Lines Matching refs:MEM_readLE32
366 { 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()
893 { U32 const magicNumber = MEM_readLE32(src); in ZSTD_decompressMultiFrame()
1062 …if ((MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { /* ski… in ZSTD_decompressContinue()
1175 U32 const check32 = MEM_readLE32(src); in ZSTD_decompressContinue()
1189 …dctx->expected = MEM_readLE32(dctx->headerBuffer + ZSTD_FRAMEIDSIZE); /* note : dctx->expected c… in ZSTD_decompressContinue()
1229 assert(MEM_readLE32(dict) == ZSTD_MAGIC_DICTIONARY); /* dict must be valid */ in ZSTD_loadDEntropy()
1300 U32 const rep = MEM_readLE32(dictPtr); dictPtr += 4; in ZSTD_loadDEntropy()
1312 { U32 const magic = MEM_readLE32(dict); in ZSTD_decompress_insertDictionary()
1316 dctx->dictID = MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE); in ZSTD_decompress_insertDictionary()
1393 if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) return 0; in ZSTD_getDictID_fromDict()
1394 return MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE); in ZSTD_getDictID_fromDict()
1907 …if ((MEM_readLE32(zds->headerBuffer) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) {… in ZSTD_decompressStream()
1908 zds->expected = MEM_readLE32(zds->headerBuffer + ZSTD_FRAMEIDSIZE); in ZSTD_decompressStream()