Lines Matching refs:avail_out
105 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2; in DeflateOutput()
123 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) in DeflateOutput()
134 if (state->cx.avail_out == 0) { in DeflateOutput()
140 state->cx.avail_out = DEFLATE_CHUNK_LEN; in DeflateOutput()
144 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out); in DeflateOutput()
249 state->cx.avail_out = 1; in DeflateInput()
268 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) in DeflateInput()
279 if (state->cx.avail_out == 0) { in DeflateInput()
286 state->cx.avail_out = DEFLATE_CHUNK_LEN-1; in DeflateInput()
288 state->cx.avail_out = DEFLATE_CHUNK_LEN-2; in DeflateInput()
295 state->cx.avail_out = DEFLATE_CHUNK_LEN; in DeflateInput()
310 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out); in DeflateInput()
328 state->cx.avail_out = sizeof garbage; in DeflateInput()
375 state->cx.avail_out = sizeof garbage; in DeflateDictSetup()
388 state->cx.avail_in, state->cx.avail_out); in DeflateDictSetup()
394 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) in DeflateDictSetup()
405 if (state->cx.avail_out == 0) { in DeflateDictSetup()
421 state->cx.avail_out = sizeof garbage; in DeflateDictSetup()