#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
#include "inffixed.h"
Go to the source code of this file.
#define BITS |
( |
|
n | ) |
((unsigned)hold & ((1U << (n)) - 1)) |
Value:do { \
} while (0)
static int bits(struct state *s, int need)
Definition at line 201 of file infback.c.
Value:do { \
hold >>= (n); \
bits -= (unsigned)(n); \
} while (0)
Definition at line 194 of file infback.c.
Value:do { \
hold = 0; \
bits = 0; \
} while (0)
Definition at line 150 of file infback.c.
Value:do { \
put = strm->next_out; \
left = strm->avail_out; \
next = strm->next_in; \
have = strm->avail_in; \
} while (0)
Definition at line 128 of file infback.c.
Value:do { \
while (
bits < (
unsigned)(n)) \
PULLBYTE(); \
} while (0)
static int bits(struct state *s, int need)
Definition at line 183 of file infback.c.
Value:do { \
if (have == 0) { \
have =
in(in_desc, &next); \
if (have == 0) { \
goto inf_leave; \
} \
} \
} while (0)
static unsigned in(void *in_desc, z_const unsigned char **buf)
Definition at line 158 of file infback.c.
Value:do { \
PULL(); \
have--; \
hold += (
unsigned long)(*next++) <<
bits; \
bits += 8; \
} while (0)
static int bits(struct state *s, int need)
Definition at line 172 of file infback.c.
Value:do { \
strm->next_out = put; \
strm->avail_out = left; \
strm->next_in = next; \
strm->avail_in = have; \
state->hold = hold; \
} while (0)
static int bits(struct state *s, int need)
Definition at line 139 of file infback.c.
Value:do { \
if (left == 0) { \
state->whave = left; \
if (
out(out_desc, put, left)) { \
goto inf_leave; \
} \
} \
} while (0)
static int out(void *out_desc, unsigned char *buf, unsigned len)
Definition at line 210 of file infback.c.
static void fixedtables |
( |
| ) |
|
|
static |
int inflateBackInit_ |
( |
z_streamp |
strm, |
|
|
int |
windowBits, |
|
|
unsigned char * |
window, |
|
|
char * |
version, |
|
|
int |
stream_size |
|
) |
| |