Lines Matching refs:MEM_readLE32

369     {   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()
686 && (MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { in ZSTD_findFrameSizeInfo()
925 checkRead = MEM_readLE32(ip); in ZSTD_decompressFrame()
958 { U32 const magicNumber = MEM_readLE32(src); in ZSTD_decompressMultiFrame()
1127 …if ((MEM_readLE32(src) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) { /* ski… in ZSTD_decompressContinue()
1240 U32 const check32 = MEM_readLE32(src); in ZSTD_decompressContinue()
1254 …dctx->expected = MEM_readLE32(dctx->headerBuffer + ZSTD_FRAMEIDSIZE); /* note : dctx->expected c… in ZSTD_decompressContinue()
1294 assert(MEM_readLE32(dict) == ZSTD_MAGIC_DICTIONARY); /* dict must be valid */ in ZSTD_loadDEntropy()
1365 U32 const rep = MEM_readLE32(dictPtr); dictPtr += 4; in ZSTD_loadDEntropy()
1377 { U32 const magic = MEM_readLE32(dict); in ZSTD_decompress_insertDictionary()
1381 dctx->dictID = MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE); in ZSTD_decompress_insertDictionary()
1458 if (MEM_readLE32(dict) != ZSTD_MAGIC_DICTIONARY) return 0; in ZSTD_getDictID_fromDict()
1459 return MEM_readLE32((const char*)dict + ZSTD_FRAMEIDSIZE); in ZSTD_getDictID_fromDict()
1972 …if ((MEM_readLE32(zds->headerBuffer) & ZSTD_MAGIC_SKIPPABLE_MASK) == ZSTD_MAGIC_SKIPPABLE_START) {… in ZSTD_decompressStream()
1973 zds->expected = MEM_readLE32(zds->headerBuffer + ZSTD_FRAMEIDSIZE); in ZSTD_decompressStream()