Home | History | Annotate | Download | only in zlib

Lines Matching defs:in

3  * For conditions of distribution and use, see copyright notice in zlib.h
16 * - Use pointers for available input and output checking in inffast.c
17 * - Remove input and output counters in inffast.c
19 * - Remove unnecessary second byte pull from length extra in inffast.c
20 * - Unroll direct copy to three copies per loop in inffast.c
24 * - Correct filename to inffixed.h for fixed tables in inflate.c
25 * - Make hbuf[] unsigned char to match parameter type in inflate.c
27 * to avoid negation problem on Alphas (64 bit) in inflate.c
30 * - Add comments on state->bits assertion in inffast.c
31 * - Add comments on op field in inftrees.h
32 * - Fix bug in reuse of allocated window after inflateReset()
34 * - Remove distance extra == 0 check in inflate_fast()--only helps for lengths
35 * - Change post-increments to pre-increments in inflate_fast(), PPC biased?
37 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used
39 * buffer and bit count in inflate()--for speed when inflate_fast() not used
42 * - Split ptr - 257 statements in inflate_table() to avoid compiler warnings
44 * - Add comments in inffast.c to introduce the inflate_fast() routine
45 * - Rearrange window copies in inflate_fast() for speed and simplification
46 * - Unroll last copy for window match in inflate_fast()
47 * - Use local copies of window variables in inflate_fast() for speed
48 * - Pull out common wnext == 0 case for speed in inflate_fast()
49 * - Make op and len in inflate_fast() unsigned for consistency
50 * - Add FAR to lcode and dcode declarations in inflate_fast()
51 * - Simplified bad distance check in inflate_fast()
52 * - Added inflateBackInit(), inflateBack(), and inflateBackEnd() in new
59 * input in strm.
60 * - Fixed stored blocks bug in inflateBack()
63 * - Added comments in inffast.c on effectiveness of POSTINC
67 * - Changed type of window in inflateBackInit() to unsigned char *
75 * for the in() and out() functions
80 * The history for versions after 1.2.0 are in ChangeLog in zlib distribution.
181 strm->msg = Z_NULL; /* in case we return an error */
235 thereafter. This reduces the size of the code by about 2K bytes, in
347 when a window is already in use, or when output has been written during this
355 output will fall in the output data, making match copies simpler and faster.
375 /* if window not in use yet, initialize */
437 /* Load registers with state in inflate() for speed */
448 /* Restore state from registers in inflate() */
476 /* Assure that there are at least n bits in the bit accumulator. If there is
502 in a 32-bit value */
536 gives the low n bits in the accumulator. When done, DROPBITS(n) drops
540 and a NEEDBITS(8), then BITS(8) would return the next byte in the stream.
544 PULLBYTE() directly in order to pull just enough bytes to decode the next
549 if NEEDBITS() returns in the loop. For example, want, need, and keep
550 would all have to actually be part of the saved state in case NEEDBITS()
571 during that inflate() call in order to return the proper return code.
572 Progress is defined as a change in either strm->avail_in or strm->avail_out.
574 output written. If a goto inf_leave occurs in the middle of decompression
578 In this implementation, the flush parameter of inflate() only affects the
581 documented in zlib.h of Z_SYNC_FLUSH. Furthermore, inflate() always defers
583 provides the effect documented in zlib.h for Z_FINISH when the entire input
598 unsigned bits; /* bits in bit buffer */
599 unsigned in, out; /* save starting available input and output */
619 in = have;
969 /* handle error breaks in while */
980 values here (9 and 6) without reading the comments in inftrees.h
1222 in -= strm->avail_in;
1224 strm->total_in += in;
1233 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK)
1314 found in order so far, in 0..3. On return *have is updated to the new
1318 yet and the return value is len. In the latter case, syncsearch() can be
1349 unsigned long in, out; /* temporary to save total_in and total_out */
1358 /* if first time, start search in bit buffer */
1381 in = strm->total_in; out = strm->total_out;
1383 strm->total_in = in; strm->total_out = out;