Home
last modified time | relevance | path

Searched refs:strm (Results 1 – 25 of 76) sorted by relevance

1234

/minix/external/public-domain/xz/dist/src/liblzma/common/
H A Dcommon.c196 if ((strm->next_in == NULL && strm->avail_in != 0) in lzma_code()
247 || strm->internal->avail_in != strm->avail_in) in lzma_code()
254 || strm->internal->avail_in != strm->avail_in) in lzma_code()
284 strm->internal->next.coder, strm->allocator, in lzma_code()
285 strm->next_in, &in_pos, strm->avail_in, in lzma_code()
296 strm->internal->avail_in = strm->avail_in; in lzma_code()
355 if (strm != NULL && strm->internal != NULL) { in lzma_end()
357 lzma_free(strm->internal, strm->allocator); in lzma_end()
399 if (strm == NULL || strm->internal == NULL in lzma_memusage()
416 if (strm == NULL || strm->internal == NULL in lzma_memlimit_get()
[all …]
/minix/common/dist/zlib/examples/
H A Dzpipe.c32 z_stream strm; in def() local
37 strm.zalloc = Z_NULL; in def()
38 strm.zfree = Z_NULL; in def()
39 strm.opaque = Z_NULL; in def()
52 strm.next_in = in; in def()
88 z_stream strm; in inf() local
93 strm.zalloc = Z_NULL; in inf()
94 strm.zfree = Z_NULL; in inf()
95 strm.opaque = Z_NULL; in inf()
96 strm.avail_in = 0; in inf()
[all …]
H A Dzran.c147 z_stream strm; in build_index() local
152 strm.zalloc = Z_NULL; in build_index()
153 strm.zfree = Z_NULL; in build_index()
154 strm.opaque = Z_NULL; in build_index()
155 strm.avail_in = 0; in build_index()
166 strm.avail_out = 0; in build_index()
211 if ((strm.data_type & 128) && !(strm.data_type & 64) && in build_index()
250 z_stream strm; in extract() local
267 strm.zfree = Z_NULL; in extract()
269 strm.avail_in = 0; in extract()
[all …]
H A Dgzappend.c283 strm->zalloc = Z_NULL; in gzscan()
284 strm->zfree = Z_NULL; in gzscan()
285 strm->opaque = Z_NULL; in gzscan()
335 inflateEnd(strm); in gzscan()
345 tot = strm->total_out; in gzscan()
371 strm->adler = crc; in gzscan()
372 strm->total_in = tot; in gzscan()
419 strm->next_in = in; in gztack()
420 if (len) strm->adler = crc32(strm->adler, in, (unsigned)len); in gztack()
438 deflateEnd(strm); in gztack()
[all …]
H A Dgzjoin.c301 strm.zalloc = Z_NULL; in gzcopy()
302 strm.zfree = Z_NULL; in gzcopy()
303 strm.opaque = Z_NULL; in gzcopy()
304 strm.avail_in = 0; in gzcopy()
305 strm.next_in = Z_NULL; in gzcopy()
312 zpull(&strm, in); in gzcopy()
313 start = strm.next_in; in gzcopy()
317 strm.avail_out = 0; in gzcopy()
320 if (strm.avail_in == 0 && strm.avail_out != 0) { in gzcopy()
376 in->next = strm.next_in; in gzcopy()
[all …]
H A Dgun.c466 strm->next_in = next; in gunpipe()
467 strm->avail_in = have; in gunpipe()
470 next = strm->next_in; in gunpipe()
471 have = strm->avail_in; in gunpipe()
575 ret = gunpipe(strm, infile, outfile); in gunzip()
601 if (strm->next_in != Z_NULL) { in gunzip()
629 z_stream strm; in main() local
633 strm.zalloc = Z_NULL; in main()
634 strm.zfree = Z_NULL; in main()
635 strm.opaque = Z_NULL; in main()
[all …]
/minix/usr.bin/gzip/
H A Dunxz.c61 strm.next_in = ibuf; in unxz()
66 strm.avail_in += prelen; in unxz()
67 *bytes_in = strm.avail_in; in unxz()
72 strm.next_out = NULL; in unxz()
73 strm.avail_out = 0; in unxz()
78 strm.next_out = obuf; in unxz()
82 if (strm.avail_in == 0) { in unxz()
83 strm.next_in = ibuf; in unxz()
85 switch (strm.avail_in) { in unxz()
109 strm.next_out = obuf; in unxz()
[all …]
/minix/external/bsd/bzip2/dist/
H A Dbzlib.c167 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; in BZ_API()
168 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; in BZ_API()
172 s->strm = strm; in BZ_API()
416 if (s->strm != strm) return BZ_PARAM_ERROR; in BZ_API()
476 if (s->strm != strm) return BZ_PARAM_ERROR; in BZ_API()
507 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; in BZ_API()
508 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; in BZ_API()
512 s->strm = strm; in BZ_API()
817 if (s->strm != strm) return BZ_PARAM_ERROR; in BZ_API()
870 if (s->strm != strm) return BZ_PARAM_ERROR; in BZ_API()
[all …]
/minix/common/dist/zlib/
H A Ddeflate.c276 s->strm = strm;
369 strm->total_in = strm->total_out = 0;
503 if (strm == Z_NULL || strm->state == Z_NULL)
574 s->strm = strm; /* just in case */
880 TRY_FREE(strm, strm->state->pending_buf);
881 TRY_FREE(strm, strm->state->head);
882 TRY_FREE(strm, strm->state->prev);
883 TRY_FREE(strm, strm->state->window);
885 ZFREE(strm, strm->state);
971 strm->adler = adler32(strm->adler, strm->next_in, len);
[all …]
H A Dinflate.c106 z_streamp strm; in inflateReset()
112 strm->total_in = strm->total_out = state->total = 0;
131 z_streamp strm; in inflatePrime()
163 if (strm->zfree == (free_func)0) strm->zfree = zcfree;
581 if (strm == Z_NULL || strm->state == Z_NULL ||
585 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL ||
1169 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1173 ZFREE(strm, strm->state);
1202 if (updatewindow(strm, strm->avail_out)) {
1308 in = strm->total_in; out = strm->total_out;
[all …]
H A Dinfback.c31 z_streamp strm; in inflateBackInit_()
50 if (strm->zfree == (free_func)0) strm->zfree = zcfree;
244 z_streamp strm; in inflateBack()
266 if (strm == Z_NULL || strm->state == Z_NULL)
271 strm->msg = Z_NULL;
275 next = strm->next_in;
611 strm->next_in = next;
617 z_streamp strm; in inflateBackEnd()
619 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
621 ZFREE(strm, strm->state);
[all …]
H A Dzlib.h330 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm));
464 ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm));
608 ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
629 ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm,
655 ZEXTERN int ZEXPORT deflatePrime OF((z_streamp strm,
801 ZEXTERN int ZEXPORT inflatePrime OF((z_streamp strm,
882 ZEXTERN int ZEXPORT inflateBack OF((z_streamp strm,
1335 #define deflateInit(strm, level) \ argument
1337 #define inflateInit(strm) \ argument
1342 #define inflateInit2(strm, windowBits) \ argument
[all …]
/minix/external/public-domain/xz/dist/doc/examples/
H A D03_compress_custom.c26 init_encoder(lzma_stream *strm) in init_encoder() argument
112 strm->next_in = NULL; in compress()
113 strm->avail_in = 0; in compress()
114 strm->next_out = outbuf; in compress()
115 strm->avail_out = sizeof(outbuf); in compress()
119 strm->next_in = inbuf; in compress()
145 strm->next_out = outbuf; in compress()
146 strm->avail_out = sizeof(outbuf); in compress()
179 lzma_stream strm = LZMA_STREAM_INIT; in main() local
181 bool success = init_encoder(&strm); in main()
[all …]
H A D02_decompress.c26 init_decoder(lzma_stream *strm) in init_decoder() argument
121 strm->next_in = NULL; in decompress()
122 strm->avail_in = 0; in decompress()
123 strm->next_out = outbuf; in decompress()
124 strm->avail_out = sizeof(outbuf); in decompress()
128 strm->next_in = inbuf; in decompress()
159 strm->next_out = outbuf; in decompress()
160 strm->avail_out = sizeof(outbuf); in decompress()
251 lzma_stream strm = LZMA_STREAM_INIT; in main() local
257 if (!init_decoder(&strm)) { in main()
[all …]
H A D04_compress_easy_mt.c26 init_encoder(lzma_stream *strm) in init_encoder() argument
125 strm->next_in = NULL; in compress()
126 strm->avail_in = 0; in compress()
127 strm->next_out = outbuf; in compress()
128 strm->avail_out = sizeof(outbuf); in compress()
132 strm->next_in = inbuf; in compress()
158 strm->next_out = outbuf; in compress()
159 strm->avail_out = sizeof(outbuf); in compress()
192 lzma_stream strm = LZMA_STREAM_INIT; in main() local
194 bool success = init_encoder(&strm); in main()
[all …]
H A D01_compress_easy.c130 strm->next_in = NULL; in compress()
131 strm->avail_in = 0; in compress()
132 strm->next_out = outbuf; in compress()
133 strm->avail_out = sizeof(outbuf); in compress()
140 strm->next_in = inbuf; in compress()
173 lzma_ret ret = lzma_code(strm, action); in compress()
193 strm->next_out = outbuf; in compress()
194 strm->avail_out = sizeof(outbuf); in compress()
273 lzma_stream strm = LZMA_STREAM_INIT; in main() local
279 success = compress(&strm, stdin, stdout); in main()
[all …]
/minix/external/public-domain/xz/dist/tests/
H A Dtests.h67 strm->next_in = NULL; in coder_loop()
68 strm->avail_in = 0; in coder_loop()
69 strm->next_out = NULL; in coder_loop()
70 strm->avail_out = 0; in coder_loop()
77 strm->next_in = in++; in coder_loop()
78 strm->avail_in = 1; in coder_loop()
83 strm->next_out = out++; in coder_loop()
84 strm->avail_out = 1; in coder_loop()
87 ret = lzma_code(strm, action); in coder_loop()
98 if (strm->total_in != in_size || strm->total_out != out_size) in coder_loop()
[all …]
H A Dtest_bcj_exact_size.c54 lzma_stream strm = LZMA_STREAM_INIT; in decompress() local
55 expect(lzma_stream_decoder(&strm, 10 << 20, 0) == LZMA_OK); in decompress()
57 strm.next_in = compressed; in decompress()
58 strm.next_out = out; in decompress()
61 if (strm.total_in < compressed_size) in decompress()
62 strm.avail_in = 1; in decompress()
64 const lzma_ret ret = lzma_code(&strm, LZMA_RUN); in decompress()
66 expect(strm.total_in == compressed_size); in decompress()
67 expect(strm.total_out == sizeof(in)); in decompress()
73 if (strm.total_out < sizeof(in)) in decompress()
[all …]
/minix/common/dist/zlib/contrib/pascal/
H A Dzlibpas.pas86 function deflateEnd(var strm: z_stream): Integer; in deflateEnd()
87 function inflateInit(var strm: z_stream): Integer; in inflateInit()
89 function inflateEnd(var strm: z_stream): Integer; in inflateEnd()
97 function deflateReset(var strm: z_stream): Integer; in deflateReset()
104 function inflateSync(var strm: z_stream): Integer; in inflateSync()
106 function inflateReset(var strm: z_stream): Integer; in inflateReset()
107 function inflateBackInit(var strm: z_stream; in inflateBackInit()
133 function deflateInit2_(var strm: z_stream; in deflateInit2_()
138 function inflateBackInit_(var strm: z_stream; in inflateBackInit_()
199 function inflateInit(var strm: z_stream): Integer; in inflateInit()
[all …]
/minix/common/dist/zlib/contrib/delphi/
H A DZLib.pas289 strm: TZStreamRec;
292 FillChar(strm, sizeof(strm), 0);
298 strm.next_in := InBuf;
302 CCheck(deflateInit_(strm, Z_BEST_COMPRESSION, zlib_version, sizeof(strm)));
327 strm: TZStreamRec;
331 FillChar(strm, sizeof(strm), 0);
345 DCheck(inflateInit_(strm, zlib_version, sizeof(strm)));
369 strm: TZStreamRec;
371 FillChar(strm, sizeof(strm), 0);
374 strm.next_in := InBuf;
[all …]
/minix/external/public-domain/xz/dist/src/xz/
H A Dcoder.c373 if (strm.avail_in < 13) in is_format_lzma()
437 &strm, &mt_options); in coder_init()
530 strm.next_out = NULL; in coder_init()
531 strm.avail_out = 0; in coder_init()
707 - strm.avail_out)) in coder_normal()
746 - strm.avail_out)) in coder_normal()
832 strm.total_in += strm.avail_in; in coder_passthru()
833 strm.total_out = strm.total_in; in coder_passthru()
860 strm.next_in = NULL; in coder_run()
861 strm.avail_in = 0; in coder_run()
[all …]
/minix/external/public-domain/xz/dist/src/xzdec/
H A Dxzdec.c167 strm->avail_in = 0; in uncompress()
168 strm->next_out = out_buf; in uncompress()
169 strm->avail_out = BUFSIZ; in uncompress()
174 if (strm->avail_in == 0) { in uncompress()
175 strm->next_in = in_buf; in uncompress()
195 ret = lzma_code(strm, action); in uncompress()
213 strm->next_out = out_buf; in uncompress()
214 strm->avail_out = BUFSIZ; in uncompress()
221 if (strm->avail_in != 0 in uncompress()
231 assert(strm->avail_in == 0); in uncompress()
[all …]
/minix/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Dzlib.c103 (*((strm)->zalloc))((strm)->opaque, (items), (size))
104 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr)) argument
276 strm->total_in = strm->total_out = state->total = 0; in inflateReset()
320 if (strm->zfree == (free_func)0) strm->zfree = zcfree; in inflateInit2_()
1456 if (strm == Z_NULL || strm->state == Z_NULL || in inflate()
1460 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL || in inflate()
2044 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) in inflateEnd()
2048 ZFREE(strm, strm->state); in inflateEnd()
2075 if (updatewindow(strm, strm->avail_out)) { in inflateSetDictionary()
2178 in = strm->total_in; out = strm->total_out; in inflateSync()
[all …]
/minix/common/dist/zlib/contrib/masmx64/
H A Dinffas8664.c108 void inflate_fast(strm, start) in inflate_fast() argument
109 z_streamp strm; in inflate_fast()
127 state = (struct inflate_state FAR *)strm->state;
129 ar.in = strm->next_in;
131 ar.out = strm->next_out;
132 ar.beg = ar.out - (start - strm->avail_out);
159 strm->msg = "invalid distance code";
175 strm->next_in = ar.in;
176 strm->next_out = ar.out;
177 strm->avail_in = (unsigned)(ar.in < ar.last ?
[all …]
/minix/common/dist/zlib/contrib/infback9/
H A Dinfback9.c22 z_stream FAR *strm; in inflateBack9Init_()
39 if (strm->zfree == (free_func)0) strm->zfree = zcfree;
220 z_stream FAR *strm; in inflateBack9()
256 if (strm == Z_NULL || strm->state == Z_NULL)
261 strm->msg = Z_NULL;
267 next = strm->next_in;
596 strm->next_in = next;
602 z_stream FAR *strm; in inflateBack9End()
604 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
606 ZFREE(strm, strm->state);
[all …]

1234