Home | History | Annotate | Download | only in zlib

Lines Matching refs:next

66 /* Get next byte from input, or -1 if end or error. */
67 #define NEXT() ((strm->avail_in == 0 && gz_avail(state) == -1) ? -1 : \
81 val = NEXT();
82 val += (unsigned)NEXT() << 8;
83 val += (unsigned long)NEXT() << 16;
84 ch = NEXT();
97 that the next available input data is the raw deflate stream. If direct
161 if (NEXT() != 8) { /* compression method */
165 flags = NEXT();
170 NEXT(); /* modification time */
171 NEXT();
172 NEXT();
173 NEXT();
174 NEXT(); /* extra flags */
175 NEXT(); /* operating system */
177 len = (unsigned)NEXT();
178 len += (unsigned)NEXT() << 8;
180 if (NEXT() < 0)
184 while (NEXT() > 0)
187 while (NEXT() > 0)
190 NEXT();
191 NEXT();
214 state->next = state->out;
216 memcpy(state->next + state->have, strm->next_in, strm->avail_in);
227 check value and length (modulo 2^32). state->have and state->next are set
229 trailer is verified, state->how is reset to LOOK to look for the next gzip
272 state->next = strm->next_out - state->have;
273 strm->adler = crc32(strm->adler, state->next, state->have);
289 state->how = LOOK; /* ready for next stream, once have is 0 (leave
318 state->next = state->out;
343 state->next += n;
405 memcpy(buf, state->next, n);
406 state->next += n;
473 return *(state->next)++;
511 state->next = state->out + (state->size << 1) - 1;
512 state->next[0] = c;
524 if (state->next == state->out) {
529 state->next = dest;
532 state->next--;
533 state->next[0] = c;
584 eol = memchr(state->next, '\n', n);
586 n = (unsigned)(eol - state->next) + 1;
589 memcpy(buf, state->next, n);
591 state->next += n;