Lines Matching refs:avail_in
130 state->strm.avail_in = 0; /* no input data yet */ in xz_reset()
132 state->zstrm.avail_in = 0; /* no input data yet */ in xz_reset()
261 unsigned tmp = strm->avail_in; in xz_avail()
264 strm->avail_in = tmp; in xz_avail()
267 strm->avail_in = tmp; in xz_avail()
278 state->strm.avail_in = state->zstrm.avail_in; in xz_avail_zstrm()
281 state->zstrm.avail_in = (uInt) state->strm.avail_in; in xz_avail_zstrm()
292 return strm->avail_in >= 6 && memcmp(state->in, "\3757zXZ", 6) == 0; in is_format_xz()
306 if (strm->avail_in < 13) in is_format_lzma()
353 #define NEXT() ((strm->avail_in == 0 && xz_avail(state) == -1) ? -1 : \
354 (strm->avail_in == 0 ? -1 : \
355 (strm->avail_in--, *(strm->next_in)++)))
357 #define NEXTZ() ((strm->avail_in == 0 && xz_avail_zstrm(state) == -1) ? -1 : \
358 (strm->avail_in == 0 ? -1 : \
359 (strm->avail_in--, *(strm->next_in)++)))
407 state->strm.avail_in = 0; in xz_head()
421 state->zstrm.avail_in = 0; in xz_head()
437 if (strm->avail_in == 0) { in xz_head()
440 if (strm->avail_in == 0) in xz_head()
453 strm->avail_in--; in xz_head()
455 if (strm->avail_in == 0 && xz_avail(state) == -1) in xz_head()
457 if (strm->avail_in && strm->next_in[0] == 139) { in xz_head()
459 strm->avail_in--; in xz_head()
517 if (strm->avail_in) { in xz_head()
518 memcpy(state->next + state->have, strm->next_in, strm->avail_in); in xz_head()
519 state->have += strm->avail_in; in xz_head()
520 strm->avail_in = 0; in xz_head()
541 if (strm->avail_in == 0 && xz_avail(state) == -1) in xz_decomp()
543 if (strm->avail_in == 0) { in xz_decomp()
553 state->zstrm.avail_in = (uInt) state->strm.avail_in; in xz_decomp()
569 state->strm.avail_in = state->zstrm.avail_in; in xz_decomp()
609 state->strm.avail_in = 0; in xz_decomp()
615 if (strm->avail_in != 0 || !state->eof) { in xz_decomp()
670 else if (state->eof && state->strm.avail_in == 0) in xz_skip()
730 else if (state->eof && strm->avail_in == 0) in __libxml2_xzread()