Home
last modified time | relevance | path

Searched refs:STORED_OFFSET (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/lib/zstd/compress/
H A Dzstd_lazy.c221 U32 const mIndex = curr - (U32)STORED_OFFSET(*offsetPtr); (void)mIndex; in ZSTD_DUBT_findBetterDictMatch()
371 U32 const mIndex = curr - (U32)STORED_OFFSET(*offsetPtr); (void)mIndex; in ZSTD_DUBT_findBestMatch()
1658 while ( ((start > anchor) & (start - STORED_OFFSET(offcode) > prefixLowest)) in ZSTD_compressBlock_lazy_generic()
1659 … && (start[-1] == (start-STORED_OFFSET(offcode))[-1]) ) /* only search for offset within prefix */ in ZSTD_compressBlock_lazy_generic()
1663 U32 const matchIndex = (U32)((size_t)(start-base) - STORED_OFFSET(offcode)); in ZSTD_compressBlock_lazy_generic()
1668 offset_2 = offset_1; offset_1 = (U32)STORED_OFFSET(offcode); in ZSTD_compressBlock_lazy_generic()
2005 U32 const matchIndex = (U32)((size_t)(start-base) - STORED_OFFSET(offcode)); in ZSTD_compressBlock_lazy_extDict_generic()
2009 offset_2 = offset_1; offset_1 = (U32)STORED_OFFSET(offcode); in ZSTD_compressBlock_lazy_extDict_generic()
H A Dzstd_compress_internal.h576 #define STORED_OFFSET(o) (assert(STORED_IS_OFFSET(o)), (o)-ZSTD_REP_MOVE) macro
657 rep[0] = STORED_OFFSET(offBase_minus1); in ZSTD_updateRep()