Lines Matching refs:op

535 	BYTE *op = (BYTE *) dest;  in LZ4_compressCtx()  local
584 token = op++; in LZ4_compressCtx()
587 if unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compressCtx()
595 *op++ = 255; in LZ4_compressCtx()
596 *op++ = (BYTE)len; in LZ4_compressCtx()
601 LZ4_BLINDCOPY(anchor, op, length); in LZ4_compressCtx()
605 LZ4_WRITE_LITTLEENDIAN_16(op, ip - ref); in LZ4_compressCtx()
638 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend) in LZ4_compressCtx()
644 *op++ = 255; in LZ4_compressCtx()
645 *op++ = 255; in LZ4_compressCtx()
649 *op++ = 255; in LZ4_compressCtx()
651 *op++ = (BYTE)len; in LZ4_compressCtx()
667 token = op++; in LZ4_compressCtx()
680 if (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > in LZ4_compressCtx()
684 *op++ = (RUN_MASK << ML_BITS); in LZ4_compressCtx()
687 *op++ = 255; in LZ4_compressCtx()
689 *op++ = (BYTE)lastRun; in LZ4_compressCtx()
691 *op++ = (lastRun << ML_BITS); in LZ4_compressCtx()
692 (void) memcpy(op, anchor, iend - anchor); in LZ4_compressCtx()
693 op += iend - anchor; in LZ4_compressCtx()
697 return (int)(((char *)op) - dest); in LZ4_compressCtx()
730 BYTE *op = (BYTE *) dest; in LZ4_compress64kCtx() local
777 token = op++; in LZ4_compress64kCtx()
780 if unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compress64kCtx()
788 *op++ = 255; in LZ4_compress64kCtx()
789 *op++ = (BYTE)len; in LZ4_compress64kCtx()
794 LZ4_BLINDCOPY(anchor, op, length); in LZ4_compress64kCtx()
798 LZ4_WRITE_LITTLEENDIAN_16(op, ip - ref); in LZ4_compress64kCtx()
831 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend) in LZ4_compress64kCtx()
837 *op++ = 255; in LZ4_compress64kCtx()
838 *op++ = 255; in LZ4_compress64kCtx()
842 *op++ = 255; in LZ4_compress64kCtx()
844 *op++ = (BYTE)len; in LZ4_compress64kCtx()
860 token = op++; in LZ4_compress64kCtx()
873 if (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > in LZ4_compress64kCtx()
877 *op++ = (RUN_MASK << ML_BITS); in LZ4_compress64kCtx()
880 *op++ = 255; in LZ4_compress64kCtx()
881 *op++ = (BYTE)lastRun; in LZ4_compress64kCtx()
883 *op++ = (lastRun << ML_BITS); in LZ4_compress64kCtx()
884 (void) memcpy(op, anchor, iend - anchor); in LZ4_compress64kCtx()
885 op += iend - anchor; in LZ4_compress64kCtx()
889 return (int)(((char *)op) - dest); in LZ4_compress64kCtx()
939 BYTE *op = (BYTE *) dest; in real_LZ4_uncompress() local
940 BYTE *const oend = op + osize; in real_LZ4_uncompress()
962 cpy = op + length; in real_LZ4_uncompress()
964 if (cpy < op) in real_LZ4_uncompress()
970 (void) memcpy(op, ip, length); in real_LZ4_uncompress()
974 LZ4_WILDCOPY(ip, op, cpy); in real_LZ4_uncompress()
975 ip -= (op - cpy); in real_LZ4_uncompress()
976 op = cpy; in real_LZ4_uncompress()
996 if unlikely(op - ref < STEPSIZE) { in real_LZ4_uncompress()
998 size_t dec64 = dec64table[op-ref]; in real_LZ4_uncompress()
1002 op[0] = ref[0]; in real_LZ4_uncompress()
1003 op[1] = ref[1]; in real_LZ4_uncompress()
1004 op[2] = ref[2]; in real_LZ4_uncompress()
1005 op[3] = ref[3]; in real_LZ4_uncompress()
1006 op += 4; in real_LZ4_uncompress()
1008 ref -= dec32table[op-ref]; in real_LZ4_uncompress()
1009 A32(op) = A32(ref); in real_LZ4_uncompress()
1010 op += STEPSIZE - 4; in real_LZ4_uncompress()
1013 LZ4_COPYSTEP(ref, op); in real_LZ4_uncompress()
1015 cpy = op + length - (STEPSIZE - 4); in real_LZ4_uncompress()
1023 LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); in real_LZ4_uncompress()
1024 while (op < cpy) in real_LZ4_uncompress()
1025 *op++ = *ref++; in real_LZ4_uncompress()
1026 op = cpy; in real_LZ4_uncompress()
1027 if (op == oend) in real_LZ4_uncompress()
1035 LZ4_SECURECOPY(ref, op, cpy); in real_LZ4_uncompress()
1036 op = cpy; /* correction */ in real_LZ4_uncompress()
1056 BYTE *op = (BYTE *) dest; in LZ4_uncompress_unknownOutputSize() local
1057 BYTE *const oend = op + maxOutputSize; in LZ4_uncompress_unknownOutputSize()
1080 cpy = op + length; in LZ4_uncompress_unknownOutputSize()
1082 if (cpy < op) in LZ4_uncompress_unknownOutputSize()
1095 (void) memcpy(op, ip, length); in LZ4_uncompress_unknownOutputSize()
1096 op += length; in LZ4_uncompress_unknownOutputSize()
1100 LZ4_WILDCOPY(ip, op, cpy); in LZ4_uncompress_unknownOutputSize()
1101 ip -= (op - cpy); in LZ4_uncompress_unknownOutputSize()
1102 op = cpy; in LZ4_uncompress_unknownOutputSize()
1125 if unlikely(op - ref < STEPSIZE) { in LZ4_uncompress_unknownOutputSize()
1127 size_t dec64 = dec64table[op-ref]; in LZ4_uncompress_unknownOutputSize()
1131 op[0] = ref[0]; in LZ4_uncompress_unknownOutputSize()
1132 op[1] = ref[1]; in LZ4_uncompress_unknownOutputSize()
1133 op[2] = ref[2]; in LZ4_uncompress_unknownOutputSize()
1134 op[3] = ref[3]; in LZ4_uncompress_unknownOutputSize()
1135 op += 4; in LZ4_uncompress_unknownOutputSize()
1137 ref -= dec32table[op-ref]; in LZ4_uncompress_unknownOutputSize()
1138 A32(op) = A32(ref); in LZ4_uncompress_unknownOutputSize()
1139 op += STEPSIZE - 4; in LZ4_uncompress_unknownOutputSize()
1142 LZ4_COPYSTEP(ref, op); in LZ4_uncompress_unknownOutputSize()
1144 cpy = op + length - (STEPSIZE - 4); in LZ4_uncompress_unknownOutputSize()
1152 LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); in LZ4_uncompress_unknownOutputSize()
1153 while (op < cpy) in LZ4_uncompress_unknownOutputSize()
1154 *op++ = *ref++; in LZ4_uncompress_unknownOutputSize()
1155 op = cpy; in LZ4_uncompress_unknownOutputSize()
1156 if (op == oend) in LZ4_uncompress_unknownOutputSize()
1164 LZ4_SECURECOPY(ref, op, cpy); in LZ4_uncompress_unknownOutputSize()
1165 op = cpy; /* correction */ in LZ4_uncompress_unknownOutputSize()
1169 return (int)(((char *)op) - dest); in LZ4_uncompress_unknownOutputSize()