Lines Matching refs:avail_out
105 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2;
123 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0)
134 if (state->cx.avail_out == 0) {
140 state->cx.avail_out = DEFLATE_CHUNK_LEN;
144 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out);
242 * We set avail_out to 1 initially so we can look at the first
249 state->cx.avail_out = 1;
268 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0)
279 if (state->cx.avail_out == 0) {
286 state->cx.avail_out = DEFLATE_CHUNK_LEN-1;
288 state->cx.avail_out = DEFLATE_CHUNK_LEN-2;
295 state->cx.avail_out = DEFLATE_CHUNK_LEN;
310 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out);
328 state->cx.avail_out = sizeof garbage;
375 state->cx.avail_out = sizeof garbage;
387 log_Printf(LogCCP, "DeflateDictSetup: avail_in %d, avail_out %d\n",
388 state->cx.avail_in, state->cx.avail_out);
394 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0)
405 if (state->cx.avail_out == 0) {
409 * with 0 avail_in and 0 avail_out *and* this is the end of
421 state->cx.avail_out = sizeof garbage;