Searched refs:_PyObject_LookupAttr (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Python/ |
D | Python-ast.c | 922 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 …]
|
D | bltinmodule.c | 1078 if (_PyObject_LookupAttr(v, name, &result) == 0) { in builtin_getattr() 1142 if (_PyObject_LookupAttr(obj, name, &v) < 0) { in builtin_hasattr_impl()
|
D | ceval.c | 5220 if (_PyObject_LookupAttr(v, name, &x) != 0) { in import_from()
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 188 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()
|
D | textio.c | 1255 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()
|
D | bufferedio.c | 1538 if (_PyObject_LookupAttr(self->raw, _PyIO_str_readall, &readall) < 0) { in _bufferedreader_read_all()
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 327 PyAPI_FUNC(int) _PyObject_LookupAttr(PyObject *, PyObject *, PyObject **);
|
/external/python/cpython3/Objects/ |
D | object.c | 904 _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()
|
D | typeobject.c | 4383 if (_PyObject_LookupAttr(obj, name, &value) < 0) { in _PyObject_GetState()
|
/external/python/cpython3/Modules/ |
D | _abc.c | 379 if (_PyObject_LookupAttr(self, key, &value) < 0) { in compute_abstract_methods()
|
D | _pickle.c | 1846 (void)_PyObject_LookupAttr(parent, name, &obj); in get_deep_attribute() 1873 (void)_PyObject_LookupAttr(obj, name, &attr); in getattribute()
|