Home
last modified time | relevance | path

Searched refs:avail_out (Results 1 – 25 of 69) sorted by relevance

123

/minix/common/dist/zlib/examples/
H A Dfitblk.c90 } while (def->avail_out != 0 && flush == Z_NO_FLUSH); in partcompress()
106 inf->avail_out = RAWLEN; in recompress()
115 def->avail_in = RAWLEN - inf->avail_out; in recompress()
117 if (inf->avail_out != 0) in recompress()
121 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress()
158 def.avail_out = size + EXCESS; in main()
165 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main()
167 have = size + EXCESS - def.avail_out; in main()
197 def.avail_out = size + EXCESS; in main()
212 def.avail_out = size; in main()
[all …]
H A Dzran.c166 strm.avail_out = 0; in build_index()
183 if (strm.avail_out == 0) { in build_index()
184 strm.avail_out = WINSIZE; in build_index()
191 totout += strm.avail_out; in build_index()
194 totout -= strm.avail_out; in build_index()
214 totout, strm.avail_out, window); in build_index()
294 strm.avail_out = len; in extract()
299 strm.avail_out = WINSIZE; in extract()
304 strm.avail_out = (unsigned)offset; in extract()
330 } while (strm.avail_out != 0); in extract()
[all …]
H A Dzpipe.c57 strm.avail_out = CHUNK; in def()
61 have = CHUNK - strm.avail_out; in def()
66 } while (strm.avail_out == 0); in def()
115 strm.avail_out = CHUNK; in inf()
127 have = CHUNK - strm.avail_out; in inf()
132 } while (strm.avail_out == 0); in inf()
H A Dgzappend.c306 strm->avail_out = DSIZE - have; in gzscan()
317 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out); in gzscan()
318 if (strm->avail_out) in gzscan()
319 have = DSIZE - strm->avail_out; in gzscan()
424 strm->avail_out = CHUNK; in gztack()
427 left = CHUNK - strm->avail_out; in gztack()
429 len = write(gd, out + CHUNK - strm->avail_out - left, left); in gztack()
433 } while (strm->avail_out == 0 && ret != Z_STREAM_END); in gztack()
/minix/crypto/external/bsd/openssl/dist/crypto/comp/
H A Dc_zlib.c156 state->istream.avail_out = 0; in zlib_stateful_init()
167 state->ostream.avail_out = 0; in zlib_stateful_init()
208 state->ostream.avail_out = olen; in zlib_stateful_compress_block()
237 state->istream.avail_out = olen; in zlib_stateful_expand_block()
318 stream.avail_out = (uInt) * destLen;
480 ctx->zin.avail_out = 0; in bio_zlib_new()
486 ctx->zout.avail_out = 0; in bio_zlib_new()
541 zin->avail_out = (unsigned int)outl; in bio_zlib_read()
597 zout->avail_out = ctx->obufsize; in bio_zlib_write()
627 zout->avail_out = ctx->obufsize; in bio_zlib_write()
[all …]
/minix/common/dist/zlib/contrib/delphi/
H A DZLib.pas301 strm.avail_out := OutBytes;
310 strm.avail_out := 256;
344 strm.avail_out := OutBytes;
353 strm.avail_out := BufInc;
377 strm.avail_out := BufSize;
414 FZRec.avail_out := sizeof(FBuffer);
425 and (FZRec.avail_out = 0) do
429 FZRec.avail_out := sizeof(FBuffer);
452 if FZRec.avail_out = 0 then
501 FZRec.avail_out := Count;
[all …]
/minix/usr.bin/gzip/
H A Dunxz.c73 strm.avail_out = 0; in unxz()
79 strm.avail_out = sizeof(obuf); in unxz()
103 if (strm.avail_out == 0 || ret != LZMA_OK) { in unxz()
104 const size_t write_size = sizeof(obuf) - strm.avail_out; in unxz()
110 strm.avail_out = sizeof(obuf); in unxz()
H A Dunbzip2.c81 bzs.avail_out = BUFLEN; in unbzip2()
99 if (!tflag && bzs.avail_out != BUFLEN) { in unbzip2()
102 n = write(out, outbuf, BUFLEN - bzs.avail_out); in unbzip2()
/minix/common/dist/zlib/
H A Dgzio.c186 s->stream.avail_out = Z_BUFSIZE;
252 if (s->stream.avail_out == 0) {
419 s->stream.avail_out = len;
424 s->stream.avail_out--;
434 while (s->stream.avail_out != 0) {
439 if (n > s->stream.avail_out) n = s->stream.avail_out;
449 s->stream.avail_out -=
472 s->out += s->stream.avail_out;
475 s->out -= s->stream.avail_out;
501 if (len == s->stream.avail_out &&
[all …]
H A Duncompr.c43 stream.avail_out = (uInt)*destLen;
44 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
H A Dexample.c190 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */
196 c_stream.avail_out = 1;
230 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
265 c_stream.avail_out = (uInt)comprLen;
326 d_stream.avail_out = (uInt)uncomprLen;
364 c_stream.avail_out = (uInt)*comprLen;
404 d_stream.avail_out = (uInt)uncomprLen;
448 c_stream.avail_out = (uInt)comprLen;
485 d_stream.avail_out = (uInt)uncomprLen;
H A Dcompress.c41 stream.avail_out = (uInt)*destLen;
42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
/minix/sys/lib/libsa/
H A Dcread.c330 s->stream.avail_out = len; in read()
332 while (s->stream.avail_out != 0) { in read()
337 if (n > s->stream.avail_out) in read()
338 n = s->stream.avail_out; in read()
344 s->stream.avail_out -= n; in read()
347 if (s->stream.avail_out > 0) { in read()
350 s->stream.avail_out); in read()
353 s->stream.avail_out -= got; in read()
355 return (int)(len - s->stream.avail_out); in read()
401 return (int)(len - s->stream.avail_out); in read()
/minix/external/public-domain/xz/dist/doc/examples/
H A D03_compress_custom.c115 strm->avail_out = sizeof(outbuf); in compress()
135 if (strm->avail_out == 0 || ret == LZMA_STREAM_END) { in compress()
136 size_t write_size = sizeof(outbuf) - strm->avail_out; in compress()
146 strm->avail_out = sizeof(outbuf); in compress()
H A D02_decompress.c124 strm->avail_out = sizeof(outbuf); in decompress()
149 if (strm->avail_out == 0 || ret == LZMA_STREAM_END) { in decompress()
150 size_t write_size = sizeof(outbuf) - strm->avail_out; in decompress()
160 strm->avail_out = sizeof(outbuf); in decompress()
H A D04_compress_easy_mt.c128 strm->avail_out = sizeof(outbuf); in compress()
148 if (strm->avail_out == 0 || ret == LZMA_STREAM_END) { in compress()
149 size_t write_size = sizeof(outbuf) - strm->avail_out; in compress()
159 strm->avail_out = sizeof(outbuf); in compress()
H A D01_compress_easy.c133 strm->avail_out = sizeof(outbuf); in compress()
178 if (strm->avail_out == 0 || ret == LZMA_STREAM_END) { in compress()
183 size_t write_size = sizeof(outbuf) - strm->avail_out; in compress()
194 strm->avail_out = sizeof(outbuf); in compress()
/minix/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_set_compression_gzip.c172 state->stream.avail_out = state->compressed_buffer_size; in archive_compressor_gzip_init()
187 state->stream.avail_out -= 10; in archive_compressor_gzip_init()
342 if (tocopy > state->stream.avail_out) in archive_compressor_gzip_finish()
343 tocopy = state->stream.avail_out; in archive_compressor_gzip_finish()
346 state->stream.avail_out -= tocopy; in archive_compressor_gzip_finish()
358 state->stream.avail_out = state->compressed_buffer_size; in archive_compressor_gzip_finish()
361 state->stream.avail_out -= 8-tocopy; in archive_compressor_gzip_finish()
426 if (state->stream.avail_out == 0) { in drive_compressor()
444 state->stream.avail_out = bytes_written; in drive_compressor()
/minix/external/public-domain/xz/dist/doc/examples_old/
H A Dxz_pipe_comp.c95 strm.avail_out = OUT_BUF_MAX; in xz_compress()
106 out_len = OUT_BUF_MAX - strm.avail_out; in xz_compress()
113 } while (strm.avail_out == 0); in xz_compress()
H A Dxz_pipe_decomp.c83 strm.avail_out = OUT_BUF_MAX; in xz_decompress()
94 out_len = OUT_BUF_MAX - strm.avail_out; in xz_decompress()
101 } while (strm.avail_out == 0); in xz_decompress()
/minix/common/dist/zlib/contrib/pascal/
H A Dexample.pas204 c_stream.avail_out := 1; { force small buffers }
213 c_stream.avail_out := 1;
250 d_stream.avail_out := 1; (* force small buffers *)
285 c_stream.avail_out := Integer(comprLen);
344 d_stream.avail_out := Integer(uncomprLen);
385 c_stream.avail_out := Integer(comprLen);
425 d_stream.avail_out := Integer(uncomprLen);
466 c_stream.avail_out := Integer(comprLen);
502 d_stream.avail_out := Integer(uncomprLen);
/minix/external/public-domain/xz/dist/src/xzdec/
H A Dxzdec.c169 strm->avail_out = BUFSIZ; in uncompress()
200 if (strm->avail_out == 0 || ret != LZMA_OK) { in uncompress()
201 const size_t write_size = BUFSIZ - strm->avail_out; in uncompress()
214 strm->avail_out = BUFSIZ; in uncompress()
/minix/external/bsd/bzip2/dist/
H A Dbzlib.c351 s->strm->avail_out--; in copy_output_until_stop()
553 s->strm->avail_out--; in unRLE_obuf_to_output_FAST()
723 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL()
772 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL()
1183 bzf->strm.avail_out = len; in BZ_API()
1213 if (bzf->strm.avail_out == 0) in BZ_API()
1279 strm.avail_out = *destLen; in BZ_API()
1286 *destLen -= strm.avail_out; in BZ_API()
1327 strm.avail_out = *destLen; in BZ_API()
1334 *destLen -= strm.avail_out; in BZ_API()
[all …]
/minix/common/dist/zlib/contrib/masmx64/
H A Dinffas8664.c132 ar.beg = ar.out - (start - strm->avail_out);
133 ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT);
180 strm->avail_out = (unsigned)(ar.out < ar.end ?
/minix/external/public-domain/xz/dist/src/xz/
H A Dcoder.c531 strm.avail_out = 0; in coder_init()
658 strm.avail_out = IO_BUFFER_SIZE; in coder_normal()
691 if (strm.avail_out == 0) { in coder_normal()
693 IO_BUFFER_SIZE - strm.avail_out)) in coder_normal()
697 strm.avail_out = IO_BUFFER_SIZE; in coder_normal()
707 - strm.avail_out)) in coder_normal()
711 strm.avail_out = IO_BUFFER_SIZE; in coder_normal()
746 - strm.avail_out)) in coder_normal()

123