Lines Matching refs:ref
116 const u8 *ref;
151 ref = *hslot; *hslot = ip;
155 && ref < ip /* the next test will actually take care of this, but this is faster */
157 && (off = ip - ref - 1) < MAX_OFF
159 && ref > (const u8 *)in_data
161 && ref[0] == ip[0]
162 && ref[1] == ip[1]
163 && ref[2] == ip[2]
165 && *(const u16 *)ref == *(const u16 *)ip
166 && ref[2] == ip[2]
170 /* match found at *ref++ */
186 len++; if (ref [len] != ip [len]) break;
187 len++; if (ref [len] != ip [len]) break;
188 len++; if (ref [len] != ip [len]) break;
189 len++; if (ref [len] != ip [len]) break;
191 len++; if (ref [len] != ip [len]) break;
192 len++; if (ref [len] != ip [len]) break;
193 len++; if (ref [len] != ip [len]) break;
194 len++; if (ref [len] != ip [len]) break;
196 len++; if (ref [len] != ip [len]) break;
197 len++; if (ref [len] != ip [len]) break;
198 len++; if (ref [len] != ip [len]) break;
199 len++; if (ref [len] != ip [len]) break;
201 len++; if (ref [len] != ip [len]) break;
202 len++; if (ref [len] != ip [len]) break;
203 len++; if (ref [len] != ip [len]) break;
204 len++; if (ref [len] != ip [len]) break;
209 while (len < maxlen && ref[len] == ip[len]);
356 u8 *ref = op - ((ctrl & 0x1f) << 8) - 1;
377 ref -= *ip++;
385 if (ref < (u8 *)out_data)
393 lzf_movsb (op, ref, len);
395 *op++ = *ref++;
396 *op++ = *ref++;
399 *op++ = *ref++;