Searched refs:_PyObject_LookupAttr (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Python/ |
D | Python-ast.c | 797 if (_PyObject_LookupAttr((PyObject*)Py_TYPE(self), state->_fields, &fields) < 0) { in ast_type_init() 871 if (_PyObject_LookupAttr(self, state->__dict__, &dict) < 0) { in ast_type_reduce() 5351 if (_PyObject_LookupAttr(obj, state->body, &tmp) < 0) { in obj2ast_mod() 5388 if (_PyObject_LookupAttr(obj, state->type_ignores, &tmp) < 0) { in obj2ast_mod() 5437 if (_PyObject_LookupAttr(obj, state->body, &tmp) < 0) { in obj2ast_mod() 5486 if (_PyObject_LookupAttr(obj, state->body, &tmp) < 0) { in obj2ast_mod() 5516 if (_PyObject_LookupAttr(obj, state->argtypes, &tmp) < 0) { in obj2ast_mod() 5553 if (_PyObject_LookupAttr(obj, state->returns, &tmp) < 0) { in obj2ast_mod() 5598 if (_PyObject_LookupAttr(obj, state->lineno, &tmp) < 0) { in obj2ast_stmt() 5615 if (_PyObject_LookupAttr(obj, state->col_offset, &tmp) < 0) { in obj2ast_stmt() [all …]
|
D | bltinmodule.c | 1099 if (_PyObject_LookupAttr(v, name, &result) == 0) { in builtin_getattr() 1163 if (_PyObject_LookupAttr(obj, name, &v) < 0) { in builtin_hasattr_impl()
|
D | ceval.c | 6019 if (_PyObject_LookupAttr(v, name, &x) != 0) { in import_from()
|
/third_party/python/Modules/_io/ |
D | iobase.c | 189 closed = _PyObject_LookupAttr(self, _PyIO_str_closed, &res); in iobase_check_closed() 270 if (_PyObject_LookupAttr(self, _PyIO_str_closed, &res) <= 0) { in iobase_finalize() 545 if (_PyObject_LookupAttr(self, _PyIO_str_peek, &peek) < 0) { in _io__IOBase_readline_impl()
|
D | textio.c | 1251 r = _PyObject_LookupAttr(buffer, _PyIO_str_read1, &res); in _io_TextIOWrapper___init___impl() 3146 _PyObject_LookupAttr(self->decoder, _PyIO_str_newlines, &res) == 0) in textiowrapper_newlines_get()
|
D | bufferedio.c | 1549 if (_PyObject_LookupAttr(self->raw, _PyIO_str_readall, &readall) < 0) { in _bufferedreader_read_all()
|
/third_party/python/Include/cpython/ |
D | object.h | 327 PyAPI_FUNC(int) _PyObject_LookupAttr(PyObject *, PyObject *, PyObject **);
|
/third_party/python/Objects/ |
D | object.c | 944 _PyObject_LookupAttr(PyObject *v, PyObject *name, PyObject **result) in _PyObject_LookupAttr() function 1000 return _PyObject_LookupAttr(v, oname, result); in _PyObject_LookupAttrId() 1007 if (_PyObject_LookupAttr(v, name, &res) < 0) { in PyObject_HasAttr()
|
D | typeobject.c | 4965 if (_PyObject_LookupAttr(obj, name, &value) < 0) { in _PyObject_GetState()
|
/third_party/python/Modules/ |
D | _abc.c | 381 if (_PyObject_LookupAttr(self, key, &value) < 0) { in compute_abstract_methods()
|
D | _pickle.c | 1847 (void)_PyObject_LookupAttr(parent, name, &obj); in get_deep_attribute() 1874 (void)_PyObject_LookupAttr(obj, name, &attr); in getattribute()
|