Lines Matching refs:in_buf
107 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local
127 in_buf = input; in unlzo()
132 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE)); in unlzo()
133 if (!in_buf) { in unlzo()
138 in_buf_save = in_buf; in unlzo()
150 in_buf += HEADER_SIZE_MAX; in unlzo()
151 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo()
154 if (!parse_header(in_buf, &skip, in_len)) { in unlzo()
158 in_buf += skip; in unlzo()
163 memcpy(in_buf_save, in_buf, in_len); in unlzo()
164 in_buf = in_buf_save; in unlzo()
173 skip = fill(in_buf + in_len, 4 - in_len); in unlzo()
181 dst_len = get_unaligned_be32(in_buf); in unlzo()
182 in_buf += 4; in unlzo()
199 skip = fill(in_buf + in_len, 8 - in_len); in unlzo()
207 src_len = get_unaligned_be32(in_buf); in unlzo()
208 in_buf += 8; in unlzo()
218 skip = fill(in_buf + in_len, src_len - in_len); in unlzo()
232 memcpy(out_buf, in_buf, src_len); in unlzo()
234 r = lzo1x_decompress_safe((u8 *) in_buf, src_len, in unlzo()
250 in_buf += src_len; in unlzo()
260 in_buf_save[skip] = in_buf[skip]; in unlzo()
261 in_buf = in_buf_save; in unlzo()