Lines Matching refs:op

491 	BYTE *op = (BYTE *) dest;  in LZ4_compressCtx()  local
540 token = op++; in LZ4_compressCtx()
543 if unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compressCtx()
551 *op++ = 255; in LZ4_compressCtx()
552 *op++ = (BYTE)len; in LZ4_compressCtx()
557 LZ4_BLINDCOPY(anchor, op, length); in LZ4_compressCtx()
561 LZ4_WRITE_LITTLEENDIAN_16(op, ip - ref); in LZ4_compressCtx()
594 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend) in LZ4_compressCtx()
600 *op++ = 255; in LZ4_compressCtx()
601 *op++ = 255; in LZ4_compressCtx()
605 *op++ = 255; in LZ4_compressCtx()
607 *op++ = (BYTE)len; in LZ4_compressCtx()
623 token = op++; in LZ4_compressCtx()
636 if (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > in LZ4_compressCtx()
640 *op++ = (RUN_MASK << ML_BITS); in LZ4_compressCtx()
643 *op++ = 255; in LZ4_compressCtx()
645 *op++ = (BYTE)lastRun; in LZ4_compressCtx()
647 *op++ = (lastRun << ML_BITS); in LZ4_compressCtx()
648 (void) memcpy(op, anchor, iend - anchor); in LZ4_compressCtx()
649 op += iend - anchor; in LZ4_compressCtx()
653 return (int)(((char *)op) - dest); in LZ4_compressCtx()
686 BYTE *op = (BYTE *) dest; in LZ4_compress64kCtx() local
733 token = op++; in LZ4_compress64kCtx()
736 if unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compress64kCtx()
744 *op++ = 255; in LZ4_compress64kCtx()
745 *op++ = (BYTE)len; in LZ4_compress64kCtx()
750 LZ4_BLINDCOPY(anchor, op, length); in LZ4_compress64kCtx()
754 LZ4_WRITE_LITTLEENDIAN_16(op, ip - ref); in LZ4_compress64kCtx()
787 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend) in LZ4_compress64kCtx()
793 *op++ = 255; in LZ4_compress64kCtx()
794 *op++ = 255; in LZ4_compress64kCtx()
798 *op++ = 255; in LZ4_compress64kCtx()
800 *op++ = (BYTE)len; in LZ4_compress64kCtx()
816 token = op++; in LZ4_compress64kCtx()
829 if (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > in LZ4_compress64kCtx()
833 *op++ = (RUN_MASK << ML_BITS); in LZ4_compress64kCtx()
836 *op++ = 255; in LZ4_compress64kCtx()
837 *op++ = (BYTE)lastRun; in LZ4_compress64kCtx()
839 *op++ = (lastRun << ML_BITS); in LZ4_compress64kCtx()
840 (void) memcpy(op, anchor, iend - anchor); in LZ4_compress64kCtx()
841 op += iend - anchor; in LZ4_compress64kCtx()
845 return (int)(((char *)op) - dest); in LZ4_compress64kCtx()
906 BYTE *op = (BYTE *) dest; in LZ4_uncompress_unknownOutputSize() local
907 BYTE *const oend = op + maxOutputSize; in LZ4_uncompress_unknownOutputSize()
930 cpy = op + length; in LZ4_uncompress_unknownOutputSize()
932 if (cpy < op) in LZ4_uncompress_unknownOutputSize()
945 (void) memcpy(op, ip, length); in LZ4_uncompress_unknownOutputSize()
946 op += length; in LZ4_uncompress_unknownOutputSize()
950 LZ4_WILDCOPY(ip, op, cpy); in LZ4_uncompress_unknownOutputSize()
951 ip -= (op - cpy); in LZ4_uncompress_unknownOutputSize()
952 op = cpy; in LZ4_uncompress_unknownOutputSize()
975 if unlikely(op - ref < STEPSIZE) { in LZ4_uncompress_unknownOutputSize()
977 size_t dec64 = dec64table[op-ref]; in LZ4_uncompress_unknownOutputSize()
981 op[0] = ref[0]; in LZ4_uncompress_unknownOutputSize()
982 op[1] = ref[1]; in LZ4_uncompress_unknownOutputSize()
983 op[2] = ref[2]; in LZ4_uncompress_unknownOutputSize()
984 op[3] = ref[3]; in LZ4_uncompress_unknownOutputSize()
985 op += 4; in LZ4_uncompress_unknownOutputSize()
987 ref -= dec32table[op-ref]; in LZ4_uncompress_unknownOutputSize()
988 A32(op) = A32(ref); in LZ4_uncompress_unknownOutputSize()
989 op += STEPSIZE - 4; in LZ4_uncompress_unknownOutputSize()
992 LZ4_COPYSTEP(ref, op); in LZ4_uncompress_unknownOutputSize()
994 cpy = op + length - (STEPSIZE - 4); in LZ4_uncompress_unknownOutputSize()
1002 LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); in LZ4_uncompress_unknownOutputSize()
1003 while (op < cpy) in LZ4_uncompress_unknownOutputSize()
1004 *op++ = *ref++; in LZ4_uncompress_unknownOutputSize()
1005 op = cpy; in LZ4_uncompress_unknownOutputSize()
1006 if (op == oend) in LZ4_uncompress_unknownOutputSize()
1014 LZ4_SECURECOPY(ref, op, cpy); in LZ4_uncompress_unknownOutputSize()
1015 op = cpy; /* correction */ in LZ4_uncompress_unknownOutputSize()
1019 return (int)(((char *)op) - dest); in LZ4_uncompress_unknownOutputSize()