• Home
  • Raw
  • Download

Lines Matching refs:ip

23 #define HAVE_IP(x)      ((size_t)(ip_end - ip) >= (size_t)(x))
43 const unsigned char *ip; in lzo1x_decompress_safe() local
53 ip = in; in lzo1x_decompress_safe()
58 if (likely(in_len >= 5) && likely(*ip == 17)) { in lzo1x_decompress_safe()
59 bitstream_version = ip[1]; in lzo1x_decompress_safe()
60 ip += 2; in lzo1x_decompress_safe()
65 if (*ip > 17) { in lzo1x_decompress_safe()
66 t = *ip++ - 17; in lzo1x_decompress_safe()
75 t = *ip++; in lzo1x_decompress_safe()
80 const unsigned char *ip_last = ip; in lzo1x_decompress_safe()
82 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe()
83 ip++; in lzo1x_decompress_safe()
86 offset = ip - ip_last; in lzo1x_decompress_safe()
91 t += offset + 15 + *ip++; in lzo1x_decompress_safe()
97 const unsigned char *ie = ip + t; in lzo1x_decompress_safe()
100 COPY8(op, ip); in lzo1x_decompress_safe()
102 ip += 8; in lzo1x_decompress_safe()
103 COPY8(op, ip); in lzo1x_decompress_safe()
105 ip += 8; in lzo1x_decompress_safe()
106 } while (ip < ie); in lzo1x_decompress_safe()
107 ip = ie; in lzo1x_decompress_safe()
115 *op++ = *ip++; in lzo1x_decompress_safe()
124 m_pos -= *ip++ << 2; in lzo1x_decompress_safe()
135 m_pos -= *ip++ << 2; in lzo1x_decompress_safe()
142 m_pos -= *ip++ << 3; in lzo1x_decompress_safe()
148 const unsigned char *ip_last = ip; in lzo1x_decompress_safe()
150 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe()
151 ip++; in lzo1x_decompress_safe()
154 offset = ip - ip_last; in lzo1x_decompress_safe()
159 t += offset + 31 + *ip++; in lzo1x_decompress_safe()
163 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
164 ip += 2; in lzo1x_decompress_safe()
169 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
175 t |= ip[2] << 3; in lzo1x_decompress_safe()
181 ip += 3; in lzo1x_decompress_safe()
189 const unsigned char *ip_last = ip; in lzo1x_decompress_safe()
191 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe()
192 ip++; in lzo1x_decompress_safe()
195 offset = ip - ip_last; in lzo1x_decompress_safe()
200 t += offset + 7 + *ip++; in lzo1x_decompress_safe()
202 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
204 ip += 2; in lzo1x_decompress_safe()
228 COPY4(op, ip); in lzo1x_decompress_safe()
230 ip += next; in lzo1x_decompress_safe()
257 COPY4(op, ip); in lzo1x_decompress_safe()
259 ip += t; in lzo1x_decompress_safe()
266 *op++ = *ip++; in lzo1x_decompress_safe()
275 ip == ip_end ? LZO_E_OK : in lzo1x_decompress_safe()
276 ip < ip_end ? LZO_E_INPUT_NOT_CONSUMED : LZO_E_INPUT_OVERRUN); in lzo1x_decompress_safe()