Lines Matching refs:op

87     BYTE* op = (BYTE*) dest;  in LZ4_decompress_generic()  local
88 BYTE* const oend = op + outputSize; in LZ4_decompress_generic()
90 BYTE* oexit = op + targetOutputSize; in LZ4_decompress_generic()
125 …if ((safeDecode) && unlikely((size_t)(op+length)<(size_t)(op))) goto _output_error; /* overflow … in LZ4_decompress_generic()
130 cpy = op+length; in LZ4_decompress_generic()
144 memcpy(op, ip, length); in LZ4_decompress_generic()
146 op += length; in LZ4_decompress_generic()
149 LZ4_wildCopy(op, ip, cpy); in LZ4_decompress_generic()
150 ip += length; op = cpy; in LZ4_decompress_generic()
167 …if ((safeDecode) && unlikely((size_t)(op+length)<(size_t)op)) goto _output_error; /* overflow de… in LZ4_decompress_generic()
174 …if (unlikely(op+length > oend-LASTLITERALS)) goto _output_error; /* doesn't respect parsing rest… in LZ4_decompress_generic()
180 memmove(op, match, length); op += length; in LZ4_decompress_generic()
186 memcpy(op, dictEnd - copySize, copySize); in LZ4_decompress_generic()
187 op += copySize; in LZ4_decompress_generic()
189 if (copySize > (size_t)(op-lowPrefix)) /* overlap within current segment */ in LZ4_decompress_generic()
191 BYTE* const endOfMatch = op + copySize; in LZ4_decompress_generic()
193 while (op < endOfMatch) *op++ = *copyFrom++; in LZ4_decompress_generic()
197 memcpy(op, lowPrefix, copySize); in LZ4_decompress_generic()
198 op += copySize; in LZ4_decompress_generic()
205 cpy = op + length; in LZ4_decompress_generic()
206 if (unlikely((op-match)<8)) in LZ4_decompress_generic()
208 const size_t dec64 = dec64table[op-match]; in LZ4_decompress_generic()
209 op[0] = match[0]; in LZ4_decompress_generic()
210 op[1] = match[1]; in LZ4_decompress_generic()
211 op[2] = match[2]; in LZ4_decompress_generic()
212 op[3] = match[3]; in LZ4_decompress_generic()
213 match += dec32table[op-match]; in LZ4_decompress_generic()
214 LZ4_copy4(op+4, match); in LZ4_decompress_generic()
215 op += 8; match -= dec64; in LZ4_decompress_generic()
216 } else { LZ4_copy8(op, match); op+=8; match+=8; } in LZ4_decompress_generic()
221 if (op < oend-8) in LZ4_decompress_generic()
223 LZ4_wildCopy(op, match, oend-8); in LZ4_decompress_generic()
224 match += (oend-8) - op; in LZ4_decompress_generic()
225 op = oend-8; in LZ4_decompress_generic()
227 while (op<cpy) *op++ = *match++; in LZ4_decompress_generic()
230 LZ4_wildCopy(op, match, cpy); in LZ4_decompress_generic()
231 op=cpy; /* correction */ in LZ4_decompress_generic()
236 return (int) (((char*)op)-dest); /* Nb of output bytes decoded */ in LZ4_decompress_generic()