Lines Matching refs:_Py_ID
113 return _PyObject_CallMethod(self, &_Py_ID(seek), "ii", 0, 1);
135 ret = _PyObject_LookupAttr(self, &_Py_ID(__IOBase_closed), &res);
183 closed = _PyObject_LookupAttr(self, &_Py_ID(closed), &res);
233 res = PyObject_CallMethodNoArgs(self, &_Py_ID(flush));
236 rc = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
263 if (_PyObject_LookupAttr(self, &_Py_ID(closed), &res) <= 0) {
276 if (PyObject_SetAttr(self, &_Py_ID(_finalizing), Py_True))
278 res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(close));
379 PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(seekable));
412 PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(readable));
445 PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(writable));
474 return PyObject_CallMethodNoArgs(self, &_Py_ID(close));
538 if (_PyObject_LookupAttr(self, &_Py_ID(peek), &peek) < 0) {
593 b = _PyObject_CallMethod(self, &_Py_ID(read), "n", nreadahead);
652 PyObject *line = PyObject_CallMethodNoArgs(self, &_Py_ID(readline));
693 PyObject *ret = PyObject_CallMethodObjArgs(result, &_Py_ID(extend),
778 res = PyObject_CallMethodObjArgs(self, &_Py_ID(write), line, NULL);
913 return PyObject_CallMethodNoArgs(self, &_Py_ID(readall));
922 res = PyObject_CallMethodObjArgs(self, &_Py_ID(readinto), b, NULL);
959 PyObject *data = _PyObject_CallMethod(self, &_Py_ID(read),