Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/lzo/
H A Dlzo1x_decompress.c20 #define HAVE_IP(x, ip_end, ip) ((size_t)(ip_end - ip) < (x)) macro
158 if (HAVE_IP(t + 1, ip_end, ip)) in lzo1x_decompress_safe()
171 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
176 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
183 if (HAVE_IP(t + 4, ip_end, ip)) in lzo1x_decompress_safe()
243 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
248 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
262 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
267 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
327 if (HAVE_IP(t + 1, ip_end, ip)) in lzo1x_decompress_safe()
/openbmc/linux/lib/lzo/
H A Dlzo1x_decompress_safe.c23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x)) macro
25 #define NEED_IP(x) if (!HAVE_IP(x)) goto input_overrun
96 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe()
226 if (HAVE_IP(6)) { in lzo1x_decompress_safe()
256 if (likely(HAVE_IP(6) && HAVE_OP(4))) { in lzo1x_decompress_safe()