Searched refs:chars_decoded (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | _pyio.py | 1746 start_flags, bytes_fed, chars_decoded = dec_flags, 0, 0 1755 chars_decoded += len(decoder.decode(next_byte)) 1757 if not dec_buffer and chars_decoded <= chars_to_skip: 1760 chars_to_skip -= chars_decoded 1761 start_flags, bytes_fed, chars_decoded = dec_flags, 0, 0 1762 if chars_decoded >= chars_to_skip: 1766 chars_decoded += len(decoder.decode(b'', final=True)) 1768 if chars_decoded < chars_to_skip:
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 2193 Py_ssize_t chars_to_skip, chars_decoded; in textiowrapper_tell() local 2269 chars_decoded = 0; in textiowrapper_tell() 2282 chars_decoded += PyUnicode_GET_SIZE(decoded); in textiowrapper_tell() 2297 if (dec_buffer_len == 0 && chars_decoded <= chars_to_skip) { in textiowrapper_tell() 2300 chars_to_skip -= chars_decoded; in textiowrapper_tell() 2303 chars_decoded = 0; in textiowrapper_tell() 2305 if (chars_decoded >= chars_to_skip) in textiowrapper_tell() 2315 chars_decoded += PyUnicode_GET_SIZE(decoded); in textiowrapper_tell() 2319 if (chars_decoded < chars_to_skip) { in textiowrapper_tell()
|