Home
last modified time | relevance | path

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

/third_party/python/Python/
DPython-ast.c797 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 …]
Dbltinmodule.c1099 if (_PyObject_LookupAttr(v, name, &result) == 0) { in builtin_getattr()
1163 if (_PyObject_LookupAttr(obj, name, &v) < 0) { in builtin_hasattr_impl()
Dceval.c6019 if (_PyObject_LookupAttr(v, name, &x) != 0) { in import_from()
/third_party/python/Modules/_io/
Diobase.c189 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()
Dtextio.c1251 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()
Dbufferedio.c1549 if (_PyObject_LookupAttr(self->raw, _PyIO_str_readall, &readall) < 0) { in _bufferedreader_read_all()
/third_party/python/Include/cpython/
Dobject.h327 PyAPI_FUNC(int) _PyObject_LookupAttr(PyObject *, PyObject *, PyObject **);
/third_party/python/Objects/
Dobject.c944 _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()
Dtypeobject.c4965 if (_PyObject_LookupAttr(obj, name, &value) < 0) { in _PyObject_GetState()
/third_party/python/Modules/
D_abc.c381 if (_PyObject_LookupAttr(self, key, &value) < 0) { in compute_abstract_methods()
D_pickle.c1847 (void)_PyObject_LookupAttr(parent, name, &obj); in get_deep_attribute()
1874 (void)_PyObject_LookupAttr(obj, name, &attr); in getattribute()