Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_io/
Dtextio.c1465 PyObject *next_input = PyNumber_Add(dec_buffer, input_chunk); in textiowrapper_read_chunk() local
1466 if (next_input == NULL) in textiowrapper_read_chunk()
1468 if (!PyBytes_Check(next_input)) { in textiowrapper_read_chunk()
1472 Py_TYPE(next_input)->tp_name); in textiowrapper_read_chunk()
1473 Py_DECREF(next_input); in textiowrapper_read_chunk()
1477 Py_XSETREF(self->snapshot, Py_BuildValue("NN", dec_flags, next_input)); in textiowrapper_read_chunk()
2192 PyObject *next_input; in textiowrapper_tell() local
2236 if (!PyArg_Parse(self->snapshot, "(iO)", &cookie.dec_flags, &next_input)) in textiowrapper_tell()
2239 assert (PyBytes_Check(next_input)); in textiowrapper_tell()
2241 cookie.start_pos -= PyBytes_GET_SIZE(next_input); in textiowrapper_tell()
[all …]
/external/python/cpython2/Lib/
D_pyio.py1730 dec_flags, next_input = self._snapshot
1731 position -= len(next_input)
1753 for next_byte in next_input: