Definition at line 50 of file inffast.c.
58 unsigned char FAR *beg;
96 lcode =
state->lencode;
97 dcode =
state->distcode;
98 lmask = (1U <<
state->lenbits) - 1;
99 dmask = (1U <<
state->distbits) - 1;
110 here = lcode + (
hold & lmask);
118 "inflate: literal '%c'\n" :
119 "inflate: literal 0x%02x\n", here->
val));
120 *
out++ = (
unsigned char)(here->
val);
134 Tracevv((stderr,
"inflate: length %u\n",
len));
141 here = dcode + (
hold & dmask);
159 #ifdef INFLATE_STRICT
161 strm->msg = (
char *)
"invalid distance too far back";
168 Tracevv((stderr,
"inflate: distance %u\n", dist));
175 (
char *)
"invalid distance too far back";
179 #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR
266 else if ((
op & 64) == 0) {
267 here = dcode + here->
val + (
hold & ((1U <<
op) - 1));
271 strm->msg = (
char *)
"invalid distance code";
276 else if ((
op & 64) == 0) {
277 here = lcode + here->
val + (
hold & ((1U <<
op) - 1));
281 Tracevv((stderr,
"inflate: end of block\n"));
286 strm->msg = (
char *)
"invalid literal/length code";
int bits(struct state *s, int need)
const lzma_allocator const uint8_t * in
const lzma_allocator const uint8_t size_t uint8_t * out
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void start
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags long
static void struct sockaddr socklen_t static fromlen static backlog static fork char char char static envp int struct rusage static rusage struct utsname static buf struct sembuf unsigned
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
References lzma_stream::avail_in, lzma_stream::avail_out, BAD, bits(), code::bits, inflate_state::dmax, test_evm::end, FAR, from, inflate_state::hold, in, inflate_state::last, len, long, lzma_stream::next_in, lzma_stream::next_out, op, code::op, out, start, strm, Tracevv, TYPE, unsigned, code::val, inflate_state::whave, inflate_state::wnext, inflate_state::wsize, and z_const.
Referenced by inflate(), and inflateBack().