Lines Matching refs:op
200 BYTE *op = (BYTE *) dest; in LZ4_compress_generic() local
201 BYTE * const olimit = op + maxOutputSize; in LZ4_compress_generic()
304 token = op++; in LZ4_compress_generic()
308 (unlikely(op + litLength + in LZ4_compress_generic()
319 *op++ = 255; in LZ4_compress_generic()
320 *op++ = (BYTE)len; in LZ4_compress_generic()
325 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_generic()
326 op += litLength; in LZ4_compress_generic()
331 LZ4_writeLE16(op, (U16)(ip - match)); in LZ4_compress_generic()
332 op += 2; in LZ4_compress_generic()
369 (unlikely(op + in LZ4_compress_generic()
377 LZ4_write32(op, 0xFFFFFFFF); in LZ4_compress_generic()
380 op += 4; in LZ4_compress_generic()
381 LZ4_write32(op, 0xFFFFFFFF); in LZ4_compress_generic()
385 op += matchCode / 255; in LZ4_compress_generic()
386 *op++ = (BYTE)(matchCode % 255); in LZ4_compress_generic()
419 token = op++; in LZ4_compress_generic()
435 ((op - (BYTE *)dest) + lastRun + 1 + in LZ4_compress_generic()
441 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic()
443 *op++ = 255; in LZ4_compress_generic()
444 *op++ = (BYTE) accumulator; in LZ4_compress_generic()
446 *op++ = (BYTE)(lastRun << ML_BITS); in LZ4_compress_generic()
449 LZ4_memcpy(op, anchor, lastRun); in LZ4_compress_generic()
451 op += lastRun; in LZ4_compress_generic()
455 return (int) (((char *)op) - dest); in LZ4_compress_generic()
538 BYTE *op = (BYTE *) dst; in LZ4_compress_destSize_generic() local
539 BYTE * const oend = op + targetDstSize; in LZ4_compress_destSize_generic()
540 BYTE * const oMaxLit = op + targetDstSize - 2 /* offset */ in LZ4_compress_destSize_generic()
542 BYTE * const oMaxMatch = op + targetDstSize in LZ4_compress_destSize_generic()
614 token = op++; in LZ4_compress_destSize_generic()
615 if (op + ((litLength + 240) / 255) in LZ4_compress_destSize_generic()
618 op--; in LZ4_compress_destSize_generic()
625 *op++ = 255; in LZ4_compress_destSize_generic()
626 *op++ = (BYTE)len; in LZ4_compress_destSize_generic()
631 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_destSize_generic()
632 op += litLength; in LZ4_compress_destSize_generic()
637 LZ4_writeLE16(op, (U16)(ip - match)); op += 2; in LZ4_compress_destSize_generic()
644 if (op + ((matchLength + 240)/255) > oMaxMatch) { in LZ4_compress_destSize_generic()
646 matchLength = (15 - 1) + (oMaxMatch - op) * 255; in LZ4_compress_destSize_generic()
655 *op++ = 255; in LZ4_compress_destSize_generic()
657 *op++ = (BYTE)matchLength; in LZ4_compress_destSize_generic()
667 if (op > oMaxSeq) in LZ4_compress_destSize_generic()
679 token = op++; *token = 0; in LZ4_compress_destSize_generic()
692 if (op + 1 /* token */ in LZ4_compress_destSize_generic()
696 lastRunSize = (oend - op) - 1; in LZ4_compress_destSize_generic()
704 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_destSize_generic()
706 *op++ = 255; in LZ4_compress_destSize_generic()
707 *op++ = (BYTE) accumulator; in LZ4_compress_destSize_generic()
709 *op++ = (BYTE)(lastRunSize<<ML_BITS); in LZ4_compress_destSize_generic()
711 LZ4_memcpy(op, anchor, lastRunSize); in LZ4_compress_destSize_generic()
712 op += lastRunSize; in LZ4_compress_destSize_generic()
717 return (int) (((char *)op) - dst); in LZ4_compress_destSize_generic()