Home
last modified time | relevance | path

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

/lib/zstd/compress/
Dzstd_fast.c170 const U32 rval = MEM_read32(ip2 - rep_offset1); in ZSTD_compressBlock_fast_noDict_generic()
177 if ((MEM_read32(ip2) == rval) & (rep_offset1 > 0)) { in ZSTD_compressBlock_fast_noDict_generic()
190 mval = MEM_read32(base + idx); in ZSTD_compressBlock_fast_noDict_generic()
192 mval = MEM_read32(ip0) ^ 1; /* guaranteed to not match. */ in ZSTD_compressBlock_fast_noDict_generic()
196 if (MEM_read32(ip0) == mval) { in ZSTD_compressBlock_fast_noDict_generic()
219 mval = MEM_read32(base + idx); in ZSTD_compressBlock_fast_noDict_generic()
221 mval = MEM_read32(ip0) ^ 1; /* guaranteed to not match. */ in ZSTD_compressBlock_fast_noDict_generic()
225 if (MEM_read32(ip0) == mval) { in ZSTD_compressBlock_fast_noDict_generic()
303 while ( (ip0 <= ilimit) && (MEM_read32(ip0) == MEM_read32(ip0 - rep_offset2)) ) { in ZSTD_compressBlock_fast_noDict_generic()
438 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_fast_dictMatchState_generic()
[all …]
Dhist.c91 { U32 cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
93 U32 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
98 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
103 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
108 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
Dzstd_double_fast.c131 if ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1))) { in ZSTD_compressBlock_doubleFast_noDict_generic()
155 if (MEM_read32(matchs0) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_noDict_generic()
240 & (MEM_read32(ip) == MEM_read32(ip - offset_2)) )) { in ZSTD_compressBlock_doubleFast_noDict_generic()
327 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
358 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
367 if (match > dictStart && MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
447 && (MEM_read32(repMatch2) == MEM_read32(ip)) ) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
584 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
601 } else if ((matchIndex > dictStartIndex) && (MEM_read32(match) == MEM_read32(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
652 && (MEM_read32(repMatch2) == MEM_read32(ip)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
Dzstd_lazy.c556 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_dedicatedDictSearch_lazy_search()
593 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_dedicatedDictSearch_lazy_search()
699 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_HcFindBestMatch()
735 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_HcFindBestMatch()
1232 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_RowFindBestMatch()
1281 if (MEM_read32(match) == MEM_read32(ip)) in ZSTD_RowFindBestMatch()
1552 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_lazy_generic()
1559 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_lazy_generic()
1582 && (offcode) && ((offset_1>0) & (MEM_read32(ip) == MEM_read32(ip - offset_1)))) { in ZSTD_compressBlock_lazy_generic()
1595 && (MEM_read32(repMatch) == MEM_read32(ip)) ) { in ZSTD_compressBlock_lazy_generic()
[all …]
Dzstd_compress_internal.h756 …if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatc… in ZSTD_count()
791 static size_t ZSTD_hash4Ptr(const void* ptr, U32 h) { return ZSTD_hash4(MEM_read32(ptr), h); } in ZSTD_hash4Ptr()
Dzstd_opt.c371 case 4 : return MEM_read32(memPtr); in ZSTD_readMINMATCH()
373 return MEM_read32(memPtr)<<8; in ZSTD_readMINMATCH()
375 return MEM_read32(memPtr)>>8; in ZSTD_readMINMATCH()
/lib/zstd/common/
Dmem.h52 MEM_STATIC U32 MEM_read32(const void* memPtr);
116 MEM_STATIC U32 MEM_read32(const void *memPtr) in MEM_read32() function