#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
#include "inffixed.h"
Go to the source code of this file.
◆ BITS
#define BITS |
( |
|
n | ) |
((unsigned)hold & ((1U << (n)) - 1)) |
◆ BYTEBITS
Value: do { \
hold >>= bits & 7; \
bits -= bits & 7; \
} while (0)
Definition at line 192 of file infback.c.
◆ DROPBITS
◆ INITBITS
Value: do { \
hold = 0; \
bits = 0; \
} while (0)
Definition at line 141 of file infback.c.
◆ LOAD
Value: do { \
put = strm->next_out; \
left = strm->avail_out; \
next = strm->next_in; \
have = strm->avail_in; \
hold = state->hold; \
bits = state->bits; \
} while (0)
Definition at line 119 of file infback.c.
◆ NEEDBITS
Value: do { \
while (bits < (
unsigned)(
n)) \
PULLBYTE(); \
} while (0)
Definition at line 174 of file infback.c.
◆ PULL
Value: do { \
if (have == 0) { \
have = in(in_desc, &next); \
if (have == 0) { \
goto inf_leave; \
} \
} \
} while (0)
Definition at line 149 of file infback.c.
◆ PULLBYTE
Value: do { \
PULL(); \
have--; \
hold += (unsigned long)(*next++) << bits; \
bits += 8; \
} while (0)
Definition at line 163 of file infback.c.
◆ RESTORE
Value: do { \
strm->next_out = put; \
strm->avail_out = left; \
strm->next_in = next; \
strm->avail_in = have; \
state->hold = hold; \
state->bits = bits; \
} while (0)
Definition at line 130 of file infback.c.
◆ ROOM
Value: do { \
if (left == 0) { \
put = state->window; \
left = state->wsize; \
state->whave = left; \
if (out(out_desc, put, left)) { \
goto inf_leave; \
} \
} \
} while (0)
Definition at line 201 of file infback.c.
◆ fixedtables()
◆ inflateBack()
◆ inflateBackEnd()
◆ inflateBackInit_()
◆ OF()