Lines Matching refs:ref

58 	const BYTE *ref;  in lz4_uncompress()  local
100 LZ4_READ_LITTLEENDIAN_16(ref, cpy, ip); in lz4_uncompress()
104 if (unlikely(ref < (BYTE *const) dest)) in lz4_uncompress()
118 if (unlikely((op - ref) < STEPSIZE)) { in lz4_uncompress()
120 int dec64 = dec64table[op - ref]; in lz4_uncompress()
124 op[0] = ref[0]; in lz4_uncompress()
125 op[1] = ref[1]; in lz4_uncompress()
126 op[2] = ref[2]; in lz4_uncompress()
127 op[3] = ref[3]; in lz4_uncompress()
129 ref += 4; in lz4_uncompress()
130 ref -= dec32table[op-ref]; in lz4_uncompress()
131 PUT4(ref, op); in lz4_uncompress()
133 ref -= dec64; in lz4_uncompress()
135 LZ4_COPYSTEP(ref, op); in lz4_uncompress()
143 if ((ref + COPYLENGTH) > oend || in lz4_uncompress()
146 LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); in lz4_uncompress()
148 *op++ = *ref++; in lz4_uncompress()
158 LZ4_SECURECOPY(ref, op, cpy); in lz4_uncompress()
174 const BYTE *ref; in lz4_uncompress_unknownoutputsize() local
222 LZ4_READ_LITTLEENDIAN_16(ref, cpy, ip); in lz4_uncompress_unknownoutputsize()
224 if (ref < (BYTE * const) dest) in lz4_uncompress_unknownoutputsize()
246 if (unlikely((op - ref) < STEPSIZE)) { in lz4_uncompress_unknownoutputsize()
248 int dec64 = dec64table[op - ref]; in lz4_uncompress_unknownoutputsize()
252 op[0] = ref[0]; in lz4_uncompress_unknownoutputsize()
253 op[1] = ref[1]; in lz4_uncompress_unknownoutputsize()
254 op[2] = ref[2]; in lz4_uncompress_unknownoutputsize()
255 op[3] = ref[3]; in lz4_uncompress_unknownoutputsize()
257 ref += 4; in lz4_uncompress_unknownoutputsize()
258 ref -= dec32table[op - ref]; in lz4_uncompress_unknownoutputsize()
259 PUT4(ref, op); in lz4_uncompress_unknownoutputsize()
261 ref -= dec64; in lz4_uncompress_unknownoutputsize()
263 LZ4_COPYSTEP(ref, op); in lz4_uncompress_unknownoutputsize()
270 LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); in lz4_uncompress_unknownoutputsize()
272 *op++ = *ref++; in lz4_uncompress_unknownoutputsize()
282 LZ4_SECURECOPY(ref, op, cpy); in lz4_uncompress_unknownoutputsize()