Lines Matching defs:in_buf
99 u8 *in_buf, *in_buf_save, *out_buf;
121 in_buf = input;
126 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE));
127 if (!in_buf) {
132 in_buf_save = in_buf;
138 fill(in_buf, lzo1x_worst_compress(LZO_BLOCK_SIZE));
144 in_buf += skip;
151 dst_len = get_unaligned_be32(in_buf);
152 in_buf += 4;
167 src_len = get_unaligned_be32(in_buf);
168 in_buf += 8;
182 memcpy(out_buf, in_buf, src_len);
184 r = lzo1x_decompress_safe((u8 *) in_buf, src_len,
200 in_buf = in_buf_save;
201 fill(in_buf, lzo1x_worst_compress(LZO_BLOCK_SIZE));
203 in_buf += src_len;
209 free(in_buf);