Lines Matching defs:avail_out

23                          Bytef **next_out, uint32_t *avail_out)
29 *avail_out = (uint32_t) allocated;
37 Bytef **next_out, uint32_t *avail_out)
42 buffer, (void**) next_out, (Py_ssize_t) *avail_out);
43 *avail_out = (uint32_t) allocated;
48 OutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, uint32_t avail_out)
50 return _BlocksOutputBuffer_GetDataSize(buffer, (Py_ssize_t) avail_out);
54 OutputBuffer_Finish(_BlocksOutputBuffer *buffer, uint32_t avail_out)
56 return _BlocksOutputBuffer_Finish(buffer, (Py_ssize_t) avail_out);
92 Bytef **next_out, uint32_t *avail_out)
100 *avail_out = (uint32_t) window_size;
114 Bytef **next_out, uint32_t *avail_out)
120 if (*avail_out != 0) {
122 "*avail_out != 0 in OutputBuffer_WindowGrow().");
131 *avail_out = (uint32_t) window_size;
142 buffer, (void**) next_out, (Py_ssize_t) *avail_out);
143 *avail_out = (uint32_t) allocated;
153 uint32_t avail_out)
155 Py_ssize_t real_avail_out = (Py_ssize_t) avail_out + window->left_bytes;
333 if (OutputBuffer_InitAndGrow(&buffer, -1, &zst.next_out, &zst.avail_out) < 0) {
365 if (zst.avail_out == 0) {
366 if (OutputBuffer_Grow(&buffer, &zst.next_out, &zst.avail_out) < 0) {
382 } while (zst.avail_out == 0);
390 RetVal = OutputBuffer_Finish(&buffer, zst.avail_out);
440 &zst.next_out, &zst.avail_out) < 0) {
472 if (zst.avail_out == 0) {
474 &zst.next_out, &zst.avail_out) < 0) {
500 } while (zst.avail_out == 0);
517 RetVal = OutputBuffer_WindowFinish(&buffer, &window, zst.avail_out);
766 if (OutputBuffer_InitAndGrow(&buffer, -1, &self->zst.next_out, &self->zst.avail_out) < 0) {
774 if (self->zst.avail_out == 0) {
775 if (OutputBuffer_Grow(&buffer, &self->zst.next_out, &self->zst.avail_out) < 0) {
789 } while (self->zst.avail_out == 0);
794 RetVal = OutputBuffer_Finish(&buffer, self->zst.avail_out);
898 if (OutputBuffer_InitAndGrow(&buffer, max_length, &self->zst.next_out, &self->zst.avail_out) < 0) {
906 if (self->zst.avail_out == 0) {
907 if (OutputBuffer_GetDataSize(&buffer, self->zst.avail_out) == max_length) {
910 if (OutputBuffer_Grow(&buffer, &self->zst.next_out, &self->zst.avail_out) < 0) {
935 } while (self->zst.avail_out == 0 || err == Z_NEED_DICT);
956 RetVal = OutputBuffer_Finish(&buffer, self->zst.avail_out);
1002 if (OutputBuffer_InitAndGrow(&buffer, -1, &self->zst.next_out, &self->zst.avail_out) < 0) {
1007 if (self->zst.avail_out == 0) {
1008 if (OutputBuffer_Grow(&buffer, &self->zst.next_out, &self->zst.avail_out) < 0) {
1021 } while (self->zst.avail_out == 0);
1045 RetVal = OutputBuffer_Finish(&buffer, self->zst.avail_out);
1283 &self->zst.next_out, &self->zst.avail_out) < 0) {
1292 if (self->zst.avail_out == 0) {
1294 &self->zst.next_out, &self->zst.avail_out) < 0) {
1319 } while (self->zst.avail_out == 0 || err == Z_NEED_DICT);
1339 RetVal = OutputBuffer_WindowFinish(&buffer, &window, self->zst.avail_out);