Lines Matching refs:op

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