Lines Matching refs:input_left
1628 size_t input_left; in BZ2Comp_compress() local
1655 input_left = pdata.len - bzs->avail_in; in BZ2Comp_compress()
1674 if (input_left == 0) in BZ2Comp_compress()
1676 bzs->avail_in = MIN(input_left, UINT_MAX); in BZ2Comp_compress()
1677 input_left -= bzs->avail_in; in BZ2Comp_compress()
1930 size_t input_left; in BZ2Decomp_decompress() local
1952 input_left = pdata.len - bzs->avail_in; in BZ2Decomp_decompress()
1968 input_left += bzs->avail_in; in BZ2Decomp_decompress()
1969 if (input_left != 0) { in BZ2Decomp_decompress()
1971 PyString_FromStringAndSize(bzs->next_in, input_left)); in BZ2Decomp_decompress()
1982 if (input_left == 0) in BZ2Decomp_decompress()
1984 bzs->avail_in = MIN(input_left, UINT_MAX); in BZ2Decomp_decompress()
1985 input_left -= bzs->avail_in; in BZ2Decomp_decompress()
2152 size_t input_left; in bz2_compress() local
2182 input_left = pdata.len - bzs->avail_in; in bz2_compress()
2195 action = input_left > 0 ? BZ_RUN : BZ_FINISH; in bz2_compress()
2216 if (input_left == 0) { in bz2_compress()
2219 bzs->avail_in = MIN(input_left, UINT_MAX); in bz2_compress()
2220 input_left -= bzs->avail_in; in bz2_compress()
2257 size_t input_left; in bz2_decompress() local
2282 input_left = pdata.len - bzs->avail_in; in bz2_decompress()
2314 if (input_left == 0) { in bz2_decompress()
2322 bzs->avail_in = MIN(input_left, UINT_MAX); in bz2_decompress()
2323 input_left -= bzs->avail_in; in bz2_decompress()