Home
last modified time | relevance | path

Searched refs:_PyObject_LookupAttr (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Modules/_io/
Diobase.c187 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()
Dtextio.c1201 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()
Dbufferedio.c1543 if (_PyObject_LookupAttr(self->raw, _PyIO_str_readall, &readall) < 0) { in _bufferedreader_read_all()
/external/python/cpython3/Objects/
Dobject.c926 _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()
Dtypeobject.c4186 if (_PyObject_LookupAttr(obj, name, &value) < 0) { in _PyObject_GetState()
/external/python/cpython3/Modules/
D_abc.c341 if (_PyObject_LookupAttr(self, key, &value) < 0) { in compute_abstract_methods()
D_pickle.c1690 (void)_PyObject_LookupAttr(parent, name, &obj); in get_deep_attribute()
1717 (void)_PyObject_LookupAttr(obj, name, &attr); in getattribute()
/external/python/cpython3/Include/
Dobject.h552 PyAPI_FUNC(int) _PyObject_LookupAttr(PyObject *, PyObject *, PyObject **);
/external/python/cpython3/Python/
Dbltinmodule.c1121 if (_PyObject_LookupAttr(v, name, &result) == 0) { in builtin_getattr()
1184 if (_PyObject_LookupAttr(obj, name, &v) < 0) { in builtin_hasattr_impl()
Dceval.c4798 if (_PyObject_LookupAttr(v, name, &x) != 0) { in import_from()