Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dlz4.c77 const BYTE* const lowPrefix, /* == dest if dict == noDict */ in LZ4_decompress_generic() argument
90 const BYTE* const lowLimit = lowPrefix - dictSize; in LZ4_decompress_generic()
171 if ((dict==usingExtDict) && (match < lowPrefix)) in LZ4_decompress_generic()
175 if (length <= (size_t)(lowPrefix-match)) in LZ4_decompress_generic()
178 match = dictEnd - (lowPrefix-match); in LZ4_decompress_generic()
184 size_t copySize = (size_t)(lowPrefix-match); in LZ4_decompress_generic()
188 if (copySize > (size_t)(op-lowPrefix)) /* overlap within current segment */ in LZ4_decompress_generic()
191 const BYTE* copyFrom = lowPrefix; in LZ4_decompress_generic()
196 memcpy(op, lowPrefix, copySize); in LZ4_decompress_generic()
/openbmc/linux/lib/lz4/
H A Dlz4_decompress.c76 const BYTE * const lowPrefix, in LZ4_decompress_generic() argument
107 assert(lowPrefix <= op); in LZ4_decompress_generic()
173 (dict == withPrefix64k || match >= lowPrefix)) { in LZ4_decompress_generic()
297 if ((checkOffset) && (unlikely(match + dictSize < lowPrefix))) { in LZ4_decompress_generic()
337 if ((dict == usingExtDict) && (match < lowPrefix)) { in LZ4_decompress_generic()
345 if (length <= (size_t)(lowPrefix - match)) { in LZ4_decompress_generic()
350 memmove(op, dictEnd - (lowPrefix - match), in LZ4_decompress_generic()
358 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic()
363 if (restSize > (size_t)(op - lowPrefix)) { in LZ4_decompress_generic()
366 const BYTE *copyFrom = lowPrefix; in LZ4_decompress_generic()
[all …]