Searched refs:out_buf (Results 1 – 2 of 2) sorted by relevance
38 unsigned char *out_buf, in gunzip() argument49 out_buf = malloc(out_len); in gunzip()53 if (!out_buf) { in gunzip()118 strm->next_out = out_buf; in gunzip()143 if (flush && strm->next_out > out_buf) { in gunzip()144 int l = strm->next_out - out_buf; in gunzip()145 if (l != flush(out_buf, l)) { in gunzip()150 strm->next_out = out_buf; in gunzip()178 free(out_buf); in gunzip()
121 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local125 out_buf = output; in unlzo()130 out_buf = malloc(LZO_BLOCK_SIZE); in unlzo()131 if (!out_buf) { in unlzo()246 memcpy(out_buf, in_buf, src_len); in unlzo()249 out_buf, &tmp); in unlzo()257 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()260 out_buf += dst_len; in unlzo()285 free(out_buf); in unlzo()