Home
last modified time | relevance | path

Searched refs:ip_end (Results 1 – 2 of 2) sorted by relevance

/lib/lzo/
Dlzo1x_compress.c28 const unsigned char * const ip_end = in + in_len - 20; in lzo1x_1_do_compress() local
44 if (unlikely(ip >= ip_end)) in lzo1x_1_do_compress()
102 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
127 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
163 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
Dlzo1x_decompress_safe.c22 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x))
46 const unsigned char * const ip_end = in + in_len; in lzo1x_decompress_safe() local
247 ip == ip_end ? LZO_E_OK : in lzo1x_decompress_safe()
248 ip < ip_end ? LZO_E_INPUT_NOT_CONSUMED : LZO_E_INPUT_OVERRUN); in lzo1x_decompress_safe()