Searched refs:buffer_left (Results 1 – 2 of 2) sorted by relevance
1680 size_t buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_compress() local1681 if (buffer_left == 0) { in BZ2Comp_compress()1687 buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_compress()1689 bzs->avail_out = MIN(buffer_left, UINT_MAX); in BZ2Comp_compress()1752 size_t buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_flush() local1753 if (buffer_left == 0) { in BZ2Comp_flush()1757 buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_flush()1759 bzs->avail_out = MIN(buffer_left, UINT_MAX); in BZ2Comp_flush()1988 size_t buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Decomp_decompress() local1989 if (buffer_left == 0) { in BZ2Decomp_decompress()[all …]
170 size_t buffer_left = PyBytes_GET_SIZE(result) - data_size; in compress() local171 if (buffer_left == 0) { in compress()175 buffer_left = PyBytes_GET_SIZE(result) - data_size; in compress()177 c->bzs.avail_out = (unsigned int)Py_MIN(buffer_left, UINT_MAX); in compress()