Lines Matching defs:stream

179 	z_stream		stream;
251 * compressed byte from the stream, second one is to increase the counter how
914 // data segment (stream) inside zip archive
916 // offset of 'lzma properties data' from the beginning of lzma stream
918 // end position of 'lzma properties data' in lzma stream
955 // create and fill in lzma_alone_decoder stream
956 lzma_stream stream = LZMA_STREAM_INIT;
957 lzma_ret ret = lzma_alone_decoder(&stream, UINT64_MAX);
960 stream.next_in = lzma_alone_compressed_buffer;
961 stream.avail_in = lzma_alone_buffer_size;
962 stream.total_in = 0;
963 stream.next_out = (unsigned char*)uncompressed_buffer;
964 stream.avail_out = uncompressed_buffer_size;
965 stream.total_out = 0;
966 ret = lzma_code(&stream, LZMA_RUN);
970 lzma_end(&stream);
1661 /* To unpack ZIPX's "LZMA" (id 14) stream we can use standard liblzma
1662 * that is a part of XZ Utils. The stream format stored inside ZIPX
1680 /* The "lzma alone" file format and the stream format inside ZIPx are
1691 * parameters of this LZMA stream. The uncompressed_size field is an
1694 * The <data...> part is the actual lzma-compressed data stream.
1696 * Now here's the structure of the stream inside the ZIPX file:
1711 * stream, we simply need to shuffle around some fields, prepare a new
1714 * zipx lzma stream into the decoder.
1717 /* Read magic1,magic2,lzma_params from the ZIPX stream. */
1763 "lzma stream initialization error");
1836 "xz premature end of stream");
1903 /* These lzma_alone streams lack end of stream marker, so let's
1929 "lzma alone premature end of stream");
2010 "Truncated file data in PPMd8 stream");
2015 /* Decode the stream's compression parameters. */
2023 "Invalid parameter set in PPMd8 stream (order=%" PRId32 ", "
2031 "Unable to allocate memory for PPMd8 stream: %" PRId32 " bytes",
2043 "PPMd8 stream range decoder initialization error");
2066 /* We've already read 2 bytes in the output stream. Additionally,
2068 * are advancing the stream by 2 bytes plus whatever number of
2138 /* If we're at the end of stream, deinitialize Ppmd8 context. */
2249 /* If we're at the end of the stream, deinitialize the
2308 r = inflateReset(&zip->stream);
2310 r = inflateInit2(&zip->stream,
2319 /* We've initialized decompression for this stream. */
2421 * A bug in zlib.h: stream.next_in should be marked 'const'
2426 zip->stream.next_in = (Bytef *)(uintptr_t)(const void *)compressed_buff;
2427 zip->stream.avail_in = (uInt)bytes_avail;
2428 zip->stream.total_in = 0;
2429 zip->stream.next_out = zip->uncompressed_buffer;
2430 zip->stream.avail_out = (uInt)zip->uncompressed_buffer_size;
2431 zip->stream.total_out = 0;
2433 r = inflate(&zip->stream, 0);
2451 bytes_avail = zip->stream.total_in;
2466 *size = zip->stream.total_out;
2467 zip->entry_uncompressed_bytes_read += zip->stream.total_out;
2994 inflateEnd(&zip->stream);
3975 zip->stream.next_in =
3977 zip->stream.avail_in = (uInt)bytes_avail;
3978 zip->stream.total_in = 0;
3979 zip->stream.next_out = mp;
3980 zip->stream.avail_out = (uInt)metadata_bytes;
3981 zip->stream.total_out = 0;
3983 r = inflate(&zip->stream, 0);
4002 bytes_used = zip->stream.total_in;
4003 metadata_bytes -= zip->stream.total_out;
4004 mp += zip->stream.total_out;