Home
last modified time | relevance | path

Searched refs:buffer_left (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dbz2module.c1680 size_t buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_compress() local
1681 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() local
1753 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() local
1989 if (buffer_left == 0) { in BZ2Decomp_decompress()
[all …]
/external/python/cpython3/Modules/
D_bz2module.c170 size_t buffer_left = PyBytes_GET_SIZE(result) - data_size; in compress() local
171 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()