Lines Matching refs:avail_out
22 char **next_out, uint32_t *avail_out) in OutputBuffer_InitAndGrow() argument
28 *avail_out = (uint32_t) allocated; in OutputBuffer_InitAndGrow()
36 char **next_out, uint32_t *avail_out) in OutputBuffer_Grow() argument
41 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow()
42 *avail_out = (uint32_t) allocated; in OutputBuffer_Grow()
47 OutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_GetDataSize() argument
49 return _BlocksOutputBuffer_GetDataSize(buffer, (Py_ssize_t) avail_out); in OutputBuffer_GetDataSize()
53 OutputBuffer_Finish(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_Finish() argument
55 return _BlocksOutputBuffer_Finish(buffer, (Py_ssize_t) avail_out); in OutputBuffer_Finish()
180 if (OutputBuffer_InitAndGrow(&buffer, -1, &c->bzs.next_out, &c->bzs.avail_out) < 0) { in compress()
200 if (c->bzs.avail_out == 0) { in compress()
201 if (OutputBuffer_Grow(&buffer, &c->bzs.next_out, &c->bzs.avail_out) < 0) { in compress()
218 result = OutputBuffer_Finish(&buffer, c->bzs.avail_out); in compress()
445 if (OutputBuffer_InitAndGrow(&buffer, max_length, &bzs->next_out, &bzs->avail_out) < 0) { in decompress_buf()
471 } else if (bzs->avail_out == 0) { in decompress_buf()
472 if (OutputBuffer_GetDataSize(&buffer, bzs->avail_out) == max_length) { in decompress_buf()
475 if (OutputBuffer_Grow(&buffer, &bzs->next_out, &bzs->avail_out) < 0) { in decompress_buf()
481 result = OutputBuffer_Finish(&buffer, bzs->avail_out); in decompress_buf()