Lines Matching refs:length
111 size_t length; in LZ4_decompress_generic() local
116 if ((length=(token>>ML_BITS)) == RUN_MASK) in LZ4_decompress_generic()
122 length += s; in LZ4_decompress_generic()
125 …if ((safeDecode) && unlikely((size_t)(op+length)<(size_t)(op))) goto _output_error; /* overflow … in LZ4_decompress_generic()
126 …if ((safeDecode) && unlikely((size_t)(ip+length)<(size_t)(ip))) goto _output_error; /* overflow … in LZ4_decompress_generic()
130 cpy = op+length; in LZ4_decompress_generic()
131 …if (((endOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITER… in LZ4_decompress_generic()
137 …if ((endOnInput) && (ip+length > iend)) goto _output_error; /* Error : read attempt beyond end o… in LZ4_decompress_generic()
142 …if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) goto _output_error; /* Error : input … in LZ4_decompress_generic()
144 memcpy(op, ip, length); in LZ4_decompress_generic()
145 ip += length; in LZ4_decompress_generic()
146 op += length; in LZ4_decompress_generic()
150 ip += length; op = cpy; in LZ4_decompress_generic()
157 length = token & ML_MASK; in LZ4_decompress_generic()
158 if (length == ML_MASK) in LZ4_decompress_generic()
165 length += s; in LZ4_decompress_generic()
167 …if ((safeDecode) && unlikely((size_t)(op+length)<(size_t)op)) goto _output_error; /* overflow de… in LZ4_decompress_generic()
169 length += MINMATCH; in LZ4_decompress_generic()
174 …if (unlikely(op+length > oend-LASTLITERALS)) goto _output_error; /* doesn't respect parsing rest… in LZ4_decompress_generic()
176 if (length <= (size_t)(lowPrefix-match)) in LZ4_decompress_generic()
180 memmove(op, match, length); op += length; in LZ4_decompress_generic()
188 copySize = length - copySize; in LZ4_decompress_generic()
205 cpy = op + length; in LZ4_decompress_generic()