Lines Matching full:or

6   This software is provided 'as-is', without any express or implied
20 3. This notice may not be removed or altered from any source distribution.
51 enough (for example if an input file is mmap'ed), or can be done by
53 application must provide more input and/or consume the output
98 int data_type; /* best guess about the data type: binary or text */
114 Bytef *extra; /* pointer to extra field or Z_NULL if none */
117 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
119 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
121 int hcrc; /* true if there was or will be a header crc */
153 The fields total_in and total_out can be used for statistics or
227 The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
245 buffer becomes empty or the output buffer becomes full. It may introduce some
249 The detailed semantics are as follows. deflate performs one or both of the
264 one of the actions is possible, by providing more input and/or consuming
265 more output, and updating avail_in or avail_out accordingly; avail_out
268 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
285 restart from this point if previous compressed data has been damaged or if
292 avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that
300 more input data, until it returns with Z_STREAM_END or an error. After
302 stream are deflateReset or deflateEnd.
313 the input data type (Z_BINARY or Z_TEXT). In doubt, the data is considered
318 processed or more output produced), Z_STREAM_END if all input has been
321 if next_in or next_out was NULL), Z_BUF_ERROR if no progress is possible
322 (for example avail_in or avail_out was zero). Note that Z_BUF_ERROR is not
336 prematurely (some input or output was discarded). In the error case,
366 buffer becomes empty or the output buffer becomes full. It may introduce
370 The detailed semantics are as follows. inflate performs one or both of the
380 is no more input data or no more space in the output buffer (see below
384 one of the actions is possible, by providing more input and/or consuming
387 example when the output buffer is full (avail_out == 0), or after each
393 Z_FINISH, or Z_BLOCK. Z_SYNC_FLUSH requests that inflate() flush as much
396 zlib or gzip format, this will cause inflate() to return immediately after
399 the end of that block, or when it runs out of data.
401 The Z_BLOCK option assists in appending to or combining deflate streams.
406 code or decoding the complete header up to just before the first byte of the
413 inflate() should normally be called until it returns Z_STREAM_END or an
427 is on the return value of inflate(), as noted below, or when it returns early
434 total_out bytes) and returns Z_OK, Z_STREAM_END or an error code as described
439 inflate() will decompress and check either zlib-wrapped or gzip-wrapped
442 information should instead use raw inflate, see inflateInit2() below, or
447 or more output produced), Z_STREAM_END if the end of the compressed data has
450 corrupted (input stream not conforming to the zlib format or incorrect check
452 if next_in or next_out was NULL), Z_MEM_ERROR if there was not enough memory,
453 Z_BUF_ERROR if no progress is possible or if there was not enough room in the
502 with no zlib header or trailer, and will not compute an adler32 check value.
519 filter (or predictor), Z_HUFFMAN_ONLY to force Huffman encoding only (no
520 string match), or Z_RLE to limit match distances to one (run-length
544 immediately after deflateInit, deflateInit2 or deflateReset, before any
556 deflateInit or deflateInit2, a part of the dictionary may in effect be
558 deflate or deflate2. Thus the strings most likely to be useful should be
570 deflateSetDictionary returns Z_OK if success, or Z_STREAM_ERROR if a
571 parameter is invalid (such as NULL dictionary) or the stream state is
573 or if the compression method is bsort). deflateSetDictionary does not
602 deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
603 stream state was inconsistent (such as zalloc or state being NULL).
612 used to switch between compression and straight copy of the input data, or
623 stream state was inconsistent or if a parameter was invalid, Z_BUF_ERROR
640 deflateTune() can be called after deflateInit() or deflateInit2(), and
641 returns Z_OK on success, or Z_STREAM_ERROR for an invalid deflate stream.
649 or deflateInit2(). This would be used to allocate an output buffer
661 first deflate() call after a deflateInit2() or deflateReset(). bits must be
662 less than or equal to 16, and that many of the least significant bits of
665 deflatePrime returns Z_OK if success, or Z_STREAM_ERROR if the source
674 after deflateInit2() or deflateReset() and before the first call of
686 the time set to zero, and os set to 255, with no extra, name, or comment
689 deflateSetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
704 instead. windowBits must be greater than or equal to the windowBits value
705 provided to deflateInit2() while compressing, or it must be equal to 15 if
712 not looking for a zlib or gzip header, not generating a check value, and not
717 recommended that a check value such as an adler32 or a crc32 be applied to
724 detection, or add 16 to decode only the gzip format (the zlib format will
746 immediately after inflateInit2() or inflateReset() and before any call of
751 parameter is invalid (such as NULL dictionary) or the stream state is
761 description of deflate with Z_FULL_FLUSH) can be found, or until all
766 or Z_STREAM_ERROR if the stream structure was inconsistent. In the success
770 until success or end of the input data.
795 inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
796 stream state was inconsistent (such as zalloc or state being NULL).
807 should be used before the first inflate() call after inflateInit2() or
808 inflateReset(). bits must be less than or equal to 16, and that many of the
811 inflatePrime returns Z_OK if success, or Z_STREAM_ERROR if the source
820 inflateInit2() or inflateReset(), and before the first call of inflate().
833 extra field, or that field truncated if extra_max is less than extra_len.
838 any of extra, name, or comment are not Z_NULL and the respective field is
851 inflateGetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
873 be allocated, or Z_VERSION_ERROR if the version of the library does not
897 A raw deflate stream is one with no zlib or gzip header or trailer.
898 This routine would normally be used in a utility that reads zip or gzip
902 normal behavior of inflate(), which expects either a zlib or gzip header and
908 uncompressed data, or until it encounters an error. The function's
915 should return zero on success, or non-zero on failure. If out() returns
938 if in() or out() returned an error, Z_DATA_ERROR if there was a format
940 nature of the error), or Z_STREAM_ERROR if the stream was not properly
941 initialized. In the case of Z_BUF_ERROR, an input or output error can be
953 inflateBackEnd() returns Z_OK on success, or Z_STREAM_ERROR if the stream
968 9: ASMV or ASMINF -- use ASM code
1043 compress() or compress2() on sourceLen bytes. It would be used before
1044 a compress() or compress2() call to allocate the destination buffer.
1062 buffer, or Z_DATA_ERROR if the input data was corrupted or incomplete.
1070 Opens a gzip (.gz) file for reading or writing. The mode parameter
1071 is as in fopen ("rb" or "wb") but can also include a compression level
1072 ("wb9") or a strategy: 'f' for filtered data as in "wb6f", 'h' for
1073 Huffman only compression as in "wb1h", or 'R' for run-length encoding
1080 gzopen returns NULL if the file could not be opened or if there was
1088 descriptors are obtained from calls like open, dup, creat, pipe or
1100 Dynamically update the compression level or strategy. See the description
1102 gzsetparams returns Z_OK if success, or Z_STREAM_ERROR if the file was not
1131 zlib was compiled with the insecure functions sprintf() or vsprintf()
1132 because the secure snprintf() or vsnprintf() functions were not available.
1139 gzputs returns the number of characters written, or -1 in case of error.
1144 Reads bytes from the compressed file until len-1 characters are read, or
1145 a newline character is read and transferred to buf, or an end-of-file
1148 gzgets returns buf, or Z_NULL in case of error.
1154 gzputc returns the value that was written, or -1 in case of error.
1160 or -1 in case of end of file or error.
1167 character pushed, or -1 on failure. gzungetc() will fail if a
1168 character has been pushed but not read yet, or if c is -1. The pushed
1170 or gzrewind().
1186 Sets the starting position for the next gzread or gzwrite on the
1196 the beginning of the uncompressed stream, or -1 in case of error, in
1210 Returns the starting position for the next gzread or gzwrite on the