Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
DPython-ast.c922 if (_PyObject_LookupAttr((PyObject*)Py_TYPE(self), state->_fields, &fields) < 0) { in ast_type_init()
996 if (_PyObject_LookupAttr(self, state->__dict__, &dict) < 0) { in ast_type_reduce()
4905 if (_PyObject_LookupAttr(obj, state->body, &tmp) < 0) { in obj2ast_mod()
4938 if (_PyObject_LookupAttr(obj, state->type_ignores, &tmp) < 0) { in obj2ast_mod()
4983 if (_PyObject_LookupAttr(obj, state->body, &tmp) < 0) { in obj2ast_mod()
5028 if (_PyObject_LookupAttr(obj, state->body, &tmp) < 0) { in obj2ast_mod()
5054 if (_PyObject_LookupAttr(obj, state->argtypes, &tmp) < 0) { in obj2ast_mod()
5087 if (_PyObject_LookupAttr(obj, state->returns, &tmp) < 0) { in obj2ast_mod()
5127 if (_PyObject_LookupAttr(obj, state->lineno, &tmp) < 0) { in obj2ast_stmt()
5140 if (_PyObject_LookupAttr(obj, state->col_offset, &tmp) < 0) { in obj2ast_stmt()
[all …]
Dbltinmodule.c1078 if (_PyObject_LookupAttr(v, name, &result) == 0) { in builtin_getattr()
1142 if (_PyObject_LookupAttr(obj, name, &v) < 0) { in builtin_hasattr_impl()
Dceval.c5220 if (_PyObject_LookupAttr(v, name, &x) != 0) { in import_from()
/external/python/cpython3/Modules/_io/
Diobase.c188 closed = _PyObject_LookupAttr(self, _PyIO_str_closed, &res); in iobase_check_closed()
269 if (_PyObject_LookupAttr(self, _PyIO_str_closed, &res) <= 0) { in iobase_finalize()
543 if (_PyObject_LookupAttr(self, _PyIO_str_peek, &peek) < 0) { in _io__IOBase_readline_impl()
Dtextio.c1255 r = _PyObject_LookupAttr(buffer, _PyIO_str_read1, &res); in _io_TextIOWrapper___init___impl()
3134 _PyObject_LookupAttr(self->decoder, _PyIO_str_newlines, &res) == 0) in textiowrapper_newlines_get()
Dbufferedio.c1538 if (_PyObject_LookupAttr(self->raw, _PyIO_str_readall, &readall) < 0) { in _bufferedreader_read_all()
/external/python/cpython3/Include/cpython/
Dobject.h327 PyAPI_FUNC(int) _PyObject_LookupAttr(PyObject *, PyObject *, PyObject **);
/external/python/cpython3/Objects/
Dobject.c904 _PyObject_LookupAttr(PyObject *v, PyObject *name, PyObject **result) in _PyObject_LookupAttr() function
960 return _PyObject_LookupAttr(v, oname, result); in _PyObject_LookupAttrId()
967 if (_PyObject_LookupAttr(v, name, &res) < 0) { in PyObject_HasAttr()
Dtypeobject.c4383 if (_PyObject_LookupAttr(obj, name, &value) < 0) { in _PyObject_GetState()
/external/python/cpython3/Modules/
D_abc.c379 if (_PyObject_LookupAttr(self, key, &value) < 0) { in compute_abstract_methods()
D_pickle.c1846 (void)_PyObject_LookupAttr(parent, name, &obj); in get_deep_attribute()
1873 (void)_PyObject_LookupAttr(obj, name, &attr); in getattribute()