/external/python/cpython3/Python/ |
D | Python-ast.c | 544 if (_PyObject_LookupAttrId((PyObject*)Py_TYPE(self), &PyId__fields, &fields) < 0) { in ast_type_init() 593 if (_PyObject_LookupAttrId(self, &PyId___dict__, &dict) < 0) { in ast_type_reduce() 3960 if (_PyObject_LookupAttrId(obj, &PyId_body, &tmp) < 0) { in obj2ast_mod() 4001 if (_PyObject_LookupAttrId(obj, &PyId_body, &tmp) < 0) { in obj2ast_mod() 4042 if (_PyObject_LookupAttrId(obj, &PyId_body, &tmp) < 0) { in obj2ast_mod() 4066 if (_PyObject_LookupAttrId(obj, &PyId_body, &tmp) < 0) { in obj2ast_mod() 4120 if (_PyObject_LookupAttrId(obj, &PyId_lineno, &tmp) < 0) { in obj2ast_stmt() 4133 if (_PyObject_LookupAttrId(obj, &PyId_col_offset, &tmp) < 0) { in obj2ast_stmt() 4157 if (_PyObject_LookupAttrId(obj, &PyId_name, &tmp) < 0) { in obj2ast_stmt() 4170 if (_PyObject_LookupAttrId(obj, &PyId_args, &tmp) < 0) { in obj2ast_stmt() [all …]
|
D | _warnings.c | 90 (void)_PyObject_LookupAttrId(warnings_module, attr_id, &obj); in get_warnings_attr() 904 (void)_PyObject_LookupAttrId(loader, &PyId_get_source, &get_source); in get_source_line()
|
D | bltinmodule.c | 74 if (_PyObject_LookupAttrId(base, &PyId___mro_entries__, &meth) < 0) { in update_bases() 219 if (_PyObject_LookupAttrId(meta, &PyId___prepare__, &prep) < 0) { in builtin___build_class__()
|
D | codecs.c | 543 if (_PyObject_LookupAttrId(codec, &PyId__is_text_encoding, &attr) < 0) { in _PyCodec_LookupTextEncoding()
|
D | ceval.c | 4869 if (_PyObject_LookupAttrId(v, &PyId___all__, &all) < 0) { in import_all_from() 4873 if (_PyObject_LookupAttrId(v, &PyId___dict__, &dict) < 0) { in import_all_from()
|
/external/python/cpython3/Objects/ |
D | classobject.c | 249 if (_PyObject_LookupAttrId(func, &PyId___qualname__, &funcname) < 0 || in method_repr() 251 _PyObject_LookupAttrId(func, &PyId___name__, &funcname) < 0)) in method_repr() 543 if (_PyObject_LookupAttrId(func, &PyId___name__, &funcname) < 0) { in instancemethod_repr()
|
D | abstract.c | 177 if (_PyObject_LookupAttrId(o, &PyId___class_getitem__, &meth) < 0) { in PyObject_GetItem() 2272 (void)_PyObject_LookupAttrId(cls, &PyId___bases__, &bases); in abstract_get_bases() 2343 retval = _PyObject_LookupAttrId(inst, &PyId___class__, &icls); in recursive_isinstance() 2361 retval = _PyObject_LookupAttrId(inst, &PyId___class__, &icls); in recursive_isinstance()
|
D | odictobject.c | 2236 if (_PyObject_LookupAttrId(other, &PyId_keys, &func) < 0) { in mutablemapping_update() 2272 if (_PyObject_LookupAttrId(other, &PyId_items, &func) < 0) { in mutablemapping_update()
|
D | genobject.c | 315 if (_PyObject_LookupAttrId(yf, &PyId_close, &meth) < 0) { in gen_close_iter() 432 if (_PyObject_LookupAttrId(yf, &PyId_throw, &meth) < 0) { in _gen_throw()
|
D | object.c | 859 res = _PyObject_LookupAttrId(obj, &PyId___isabstractmethod__, &isabstract); in _PyObject_IsAbstract() 975 _PyObject_LookupAttrId(PyObject *v, _Py_Identifier *name, PyObject **result) in _PyObject_LookupAttrId() function
|
D | typeobject.c | 2409 if (_PyObject_LookupAttrId(tmp, &PyId___mro_entries__, &tmp) < 0) { in type_new() 4114 if (_PyObject_LookupAttrId(obj, &PyId___getstate__, &getstate) < 0) { in _PyObject_GetState()
|
D | dictobject.c | 2245 if (_PyObject_LookupAttrId(arg, &PyId_keys, &func) < 0) { in dict_update_common()
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 370 ret = _PyObject_LookupAttrId(self, name, &func); in init_method_ref() 1154 if (_PyObject_LookupAttrId(file, &PyId_write, &self->write) < 0) { in _Pickler_SetOutputStream() 1506 if (_PyObject_LookupAttrId(file, &PyId_peek, &self->peek) < 0) { in _Unpickler_SetInputStream() 1509 (void)_PyObject_LookupAttrId(file, &PyId_read, &self->read); in _Unpickler_SetInputStream() 1510 (void)_PyObject_LookupAttrId(file, &PyId_readline, &self->readline); in _Unpickler_SetInputStream() 1761 if (_PyObject_LookupAttrId(global, &PyId___module__, &module_name) < 0) { in whichmodule() 3313 if (_PyObject_LookupAttrId(obj, &PyId___qualname__, &global_name) < 0) in save_global() 3639 if (_PyObject_LookupAttrId(obj, &PyId___class__, &cls) == 0) { in get_class() 3713 if (_PyObject_LookupAttrId(callable, &PyId___name__, &name) < 0) { in save_reduce() 4086 if (_PyObject_LookupAttrId(obj, &PyId___reduce_ex__, &reduce_func) < 0) { in save() [all …]
|
D | _abc.c | 327 if (_PyObject_LookupAttrId(item, &PyId___abstractmethods__, in compute_abstract_methods()
|
D | _collectionsmodule.c | 1352 if (_PyObject_LookupAttrId((PyObject *)deque, &PyId___dict__, &dict) < 0) { in deque_reduce()
|
D | arraymodule.c | 2211 if (_PyObject_LookupAttrId((PyObject *)self, &PyId___dict__, &dict) < 0) { in array_array___reduce_ex__()
|
D | _asynciomodule.c | 212 if (_PyObject_LookupAttrId(fut, &PyId_get_loop, &getloop) < 0) { in get_future_loop()
|
D | itertoolsmodule.c | 833 if (_PyObject_LookupAttrId(it, &PyId___copy__, ©func) < 0) { in tee()
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 139 ret = _PyObject_LookupAttrId(self, &PyId___IOBase_closed, &res); in iobase_is_closed()
|
D | fileio.c | 1074 if (_PyObject_LookupAttrId((PyObject *) self, &PyId_name, &nameobj) < 0) {
|
D | textio.c | 930 if (_PyObject_LookupAttrId(codec_info, &PyId_name, &res) < 0) { in _textiowrapper_set_encoder() 1181 if (_PyObject_LookupAttrId(buffer, &PyId_raw, &raw) < 0) in _io_TextIOWrapper___init___impl()
|
/external/python/cpython3/Include/ |
D | object.h | 553 PyAPI_FUNC(int) _PyObject_LookupAttrId(PyObject *, struct _Py_Identifier *, PyObject **);
|