Home
last modified time | relevance | path

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

/lib/
Ddecompress_inflate.c38 unsigned char *out_buf, in gunzip() argument
49 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()
Ddecompress_unlzo.c121 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local
125 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()