Lines Matching refs:in_len
41 STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) in parse_header() argument
45 u8 *end = input + in_len; in parse_header()
53 if (in_len < HEADER_SIZE_MIN) in parse_header()
97 STATIC int INIT unlzo(u8 *input, long in_len, in unlzo() argument
151 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo()
154 if (!parse_header(in_buf, &skip, in_len)) { in unlzo()
159 in_len -= skip; in unlzo()
163 memcpy(in_buf_save, in_buf, in_len); in unlzo()
172 if (fill && in_len < 4) { in unlzo()
173 skip = fill(in_buf + in_len, 4 - in_len); in unlzo()
175 in_len += skip; in unlzo()
177 if (in_len < 4) { in unlzo()
183 in_len -= 4; in unlzo()
198 if (fill && in_len < 8) { in unlzo()
199 skip = fill(in_buf + in_len, 8 - in_len); in unlzo()
201 in_len += skip; in unlzo()
203 if (in_len < 8) { in unlzo()
209 in_len -= 8; in unlzo()
217 if (fill && in_len < src_len) { in unlzo()
218 skip = fill(in_buf + in_len, src_len - in_len); in unlzo()
220 in_len += skip; in unlzo()
222 if (in_len < src_len) { in unlzo()
251 in_len -= src_len; in unlzo()
258 if (in_len > 0) in unlzo()
259 for (skip = 0; skip < in_len; ++skip) in unlzo()