Searched refs:_PyObject_LookupAttr (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 187 closed = _PyObject_LookupAttr(self, _PyIO_str_closed, &res); in iobase_check_closed() 268 if (_PyObject_LookupAttr(self, _PyIO_str_closed, &res) <= 0) { in iobase_finalize() 532 if (_PyObject_LookupAttr(self, _PyIO_str_peek, &peek) < 0) { in _io__IOBase_readline_impl()
|
D | textio.c | 1201 r = _PyObject_LookupAttr(buffer, _PyIO_str_read1, &res); in _io_TextIOWrapper___init___impl() 3025 _PyObject_LookupAttr(self->decoder, _PyIO_str_newlines, &res) == 0) in textiowrapper_newlines_get()
|
D | bufferedio.c | 1543 if (_PyObject_LookupAttr(self->raw, _PyIO_str_readall, &readall) < 0) { in _bufferedreader_read_all()
|
/external/python/cpython3/Objects/ |
D | object.c | 926 _PyObject_LookupAttr(PyObject *v, PyObject *name, PyObject **result) in _PyObject_LookupAttr() function 982 return _PyObject_LookupAttr(v, oname, result); in _PyObject_LookupAttrId() 989 if (_PyObject_LookupAttr(v, name, &res) < 0) { in PyObject_HasAttr()
|
D | typeobject.c | 4186 if (_PyObject_LookupAttr(obj, name, &value) < 0) { in _PyObject_GetState()
|
/external/python/cpython3/Modules/ |
D | _abc.c | 341 if (_PyObject_LookupAttr(self, key, &value) < 0) { in compute_abstract_methods()
|
D | _pickle.c | 1690 (void)_PyObject_LookupAttr(parent, name, &obj); in get_deep_attribute() 1717 (void)_PyObject_LookupAttr(obj, name, &attr); in getattribute()
|
/external/python/cpython3/Include/ |
D | object.h | 552 PyAPI_FUNC(int) _PyObject_LookupAttr(PyObject *, PyObject *, PyObject **);
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 1121 if (_PyObject_LookupAttr(v, name, &result) == 0) { in builtin_getattr() 1184 if (_PyObject_LookupAttr(obj, name, &v) < 0) { in builtin_hasattr_impl()
|
D | ceval.c | 4798 if (_PyObject_LookupAttr(v, name, &x) != 0) { in import_from()
|