Lines Matching refs:input_chunk
1396 PyObject *input_chunk = NULL; in textiowrapper_read_chunk() local
1436 input_chunk = PyObject_CallMethodObjArgs(self->buffer, in textiowrapper_read_chunk()
1439 if (input_chunk == NULL) in textiowrapper_read_chunk()
1441 if (!PyBytes_Check(input_chunk)) { in textiowrapper_read_chunk()
1444 "not '%.200s'", Py_TYPE(input_chunk)->tp_name); in textiowrapper_read_chunk()
1448 eof = (PyBytes_Size(input_chunk) == 0); in textiowrapper_read_chunk()
1452 self->decoder, input_chunk, eof); in textiowrapper_read_chunk()
1456 _PyIO_str_decode, input_chunk, eof ? Py_True : Py_False, NULL); in textiowrapper_read_chunk()
1469 PyObject *next_input = PyNumber_Add(dec_buffer, input_chunk); in textiowrapper_read_chunk()
1483 Py_DECREF(input_chunk); in textiowrapper_read_chunk()
1490 Py_XDECREF(input_chunk); in textiowrapper_read_chunk()
2136 PyObject *input_chunk = PyObject_CallMethod( in textiowrapper_seek() local
2140 if (input_chunk == NULL) in textiowrapper_seek()
2143 if (!PyBytes_Check(input_chunk)) { in textiowrapper_seek()
2147 Py_TYPE(input_chunk)->tp_name); in textiowrapper_seek()
2148 Py_DECREF(input_chunk); in textiowrapper_seek()
2152 self->snapshot = Py_BuildValue("iN", cookie.dec_flags, input_chunk); in textiowrapper_seek()
2154 Py_DECREF(input_chunk); in textiowrapper_seek()
2159 "Oi", input_chunk, (int)cookie.need_eof); in textiowrapper_seek()