Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_fast.c120 if (MEM_read32(currentPtr) != MEM_read32(mvalAddr)) return 0; in ZSTD_match4Found_cmov()
134 mval = MEM_read32(matchAddress); in ZSTD_match4Found_branch()
136 mval = MEM_read32(currentPtr) ^ 1; /* guaranteed to not match. */ in ZSTD_match4Found_branch()
139 return (MEM_read32(currentPtr) == mval); in ZSTD_match4Found_branch()
267 const U32 rval = MEM_read32(ip2 - rep_offset1); in ZSTD_compressBlock_fast_noDict_generic()
274 if ((MEM_read32(ip2) == rval) & (rep_offset1 > 0)) { in ZSTD_compressBlock_fast_noDict_generic()
410 while ( (ip0 <= ilimit) && (MEM_read32(ip0) == MEM_read32(ip0 - rep_offset2)) ) { in ZSTD_compressBlock_fast_noDict_generic()
567 && (MEM_read32(repMatch) == MEM_read32(ip0 + 1))) { in ZSTD_compressBlock_fast_dictMatchState_generic()
580 MEM_read32(dictMatch) == MEM_read32(ip0)) { in ZSTD_compressBlock_fast_dictMatchState_generic()
651 && (MEM_read32(repMatch2) == MEM_read32(ip0))) { in ZSTD_compressBlock_fast_dictMatchState_generic()
[all …]
H A Dhist.c102 { U32 cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
104 U32 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
109 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
114 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
119 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp()
H A Dzstd_double_fast.c191 if ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1))) { in ZSTD_compressBlock_doubleFast_noDict_generic()
221 if(MEM_read32(matchs0_safe) == MEM_read32(ip) && matchs0_safe == matchs0) { in ZSTD_compressBlock_doubleFast_noDict_generic()
311 & (MEM_read32(ip) == MEM_read32(ip - offset_2)) )) { in ZSTD_compressBlock_doubleFast_noDict_generic()
409 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
438 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
447 if (match > dictStart && MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
526 && (MEM_read32(repMatch2) == MEM_read32(ip)) ) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
665 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
682 } else if ((matchIndex > dictStartIndex) && (MEM_read32(match) == MEM_read32(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
733 && (MEM_read32(repMatch2) == MEM_read32(ip)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_lazy.c570 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_dedicatedDictSearch_lazy_search()
607 if (MEM_read32(match) == MEM_read32(ip)) { in ZSTD_dedicatedDictSearch_lazy_search()
715 if (MEM_read32(match + ml - 3) == MEM_read32(ip + ml - 3)) /* potentially better */ in ZSTD_HcFindBestMatch()
720 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_HcFindBestMatch()
756 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_HcFindBestMatch()
1265 … if (MEM_read32(match + ml - 3) == MEM_read32(ip + ml - 3)) /* potentially better */ in ZSTD_RowFindBestMatch()
1270 …if (MEM_read32(match) == MEM_read32(ip)) /* assumption : matchIndex <= dictLimit-4 (by table con… in ZSTD_RowFindBestMatch()
1321 if (MEM_read32(match) == MEM_read32(ip)) in ZSTD_RowFindBestMatch()
1595 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_lazy_generic()
1602 && ((offset_1 > 0) & (MEM_read32(ip+1-offset_1) == MEM_read32(ip+1)))) { in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_opt.c399 case 4 : return MEM_read32(memPtr); in ZSTD_readMINMATCH()
401 return MEM_read32(memPtr)<<8; in ZSTD_readMINMATCH()
403 return MEM_read32(memPtr)>>8; in ZSTD_readMINMATCH()
H A Dzstd_compress_internal.h861 …if (MEM_64bits() && (pIn<(pInLimit-3)) && (MEM_read32(pMatch) == MEM_read32(pIn))) { pIn+=4; pMatc… in ZSTD_count()
/linux/lib/zstd/common/
H A Dmem.h53 MEM_STATIC U32 MEM_read32(const void* memPtr);
117 MEM_STATIC U32 MEM_read32(const void *memPtr) in MEM_read32() function