Lines Matching refs:outsize
53 unsigned int outsize; in xc_try_bzip2_decode() local
77 outsize = dom->kernel_size; in xc_try_bzip2_decode()
83 if ( outsize != dom->kernel_size ) in xc_try_bzip2_decode()
89 out_buf = malloc(outsize); in xc_try_bzip2_decode()
121 if ( outsize > UINT_MAX / 2 ) in xc_try_bzip2_decode()
128 if ( xc_dom_kernel_check_size(dom, outsize * 2) ) in xc_try_bzip2_decode()
135 tmp_buf = realloc(out_buf, outsize * 2); in xc_try_bzip2_decode()
144 stream.next_out = out_buf + outsize; in xc_try_bzip2_decode()
145 stream.avail_out = (outsize * 2) - outsize; in xc_try_bzip2_decode()
146 outsize *= 2; in xc_try_bzip2_decode()
210 size_t outsize; in _xc_try_lzma_decode() local
223 outsize = dom->kernel_size; in _xc_try_lzma_decode()
224 out_buf = malloc(outsize); in _xc_try_lzma_decode()
288 if ( outsize > SIZE_MAX / 2 ) in _xc_try_lzma_decode()
295 if ( xc_dom_kernel_check_size(dom, outsize * 2) ) in _xc_try_lzma_decode()
302 tmp_buf = realloc(out_buf, outsize * 2); in _xc_try_lzma_decode()
311 stream->next_out = out_buf + outsize; in _xc_try_lzma_decode()
312 stream->avail_out = (outsize * 2) - outsize; in _xc_try_lzma_decode()
313 outsize *= 2; in _xc_try_lzma_decode()