/external/python/cpython3/Modules/_sqlite/ |
D | microprotocols.c | 103 if (_PyObject_LookupAttrId(proto, &PyId___adapt__, &adapter) < 0) { in pysqlite_microprotocols_adapt() 122 if (_PyObject_LookupAttrId(obj, &PyId___conform__, &adapter) < 0) { in pysqlite_microprotocols_adapt()
|
/external/python/cpython3/Objects/ |
D | genericaliasobject.c | 59 if (_PyObject_LookupAttrId(p, &PyId___origin__, &tmp) < 0) { in ga_repr_item() 64 if (_PyObject_LookupAttrId(p, &PyId___args__, &tmp) < 0) { in ga_repr_item() 74 if (_PyObject_LookupAttrId(p, &PyId___qualname__, &qualname) < 0) { in ga_repr_item() 80 if (_PyObject_LookupAttrId(p, &PyId___module__, &module) < 0) { in ga_repr_item() 222 if (_PyObject_LookupAttrId(t, &PyId___parameters__, &subparams) < 0) { in make_parameters() 264 if (_PyObject_LookupAttrId(obj, &PyId___parameters__, &subparams) < 0) { in subs_tvars()
|
D | classobject.c | 282 if (_PyObject_LookupAttrId(func, &PyId___qualname__, &funcname) < 0 || in method_repr() 284 _PyObject_LookupAttrId(func, &PyId___name__, &funcname) < 0)) in method_repr() 517 if (_PyObject_LookupAttrId(func, &PyId___name__, &funcname) < 0) { in instancemethod_repr()
|
D | object.c | 584 int ret = _PyObject_LookupAttrId(x, &PyId___qualname__, &qualname); in _PyObject_FunctionStr() 593 ret = _PyObject_LookupAttrId(x, &PyId___module__, &module); in _PyObject_FunctionStr() 837 res = _PyObject_LookupAttrId(obj, &PyId___isabstractmethod__, &isabstract); in _PyObject_IsAbstract() 953 _PyObject_LookupAttrId(PyObject *v, _Py_Identifier *name, PyObject **result) in _PyObject_LookupAttrId() function
|
D | fileobject.c | 189 else if (_PyObject_LookupAttrId(o, &PyId_fileno, &meth) < 0) { in PyObject_AsFileDescriptor()
|
D | abstract.c | 186 if (_PyObject_LookupAttrId(o, &PyId___class_getitem__, &meth) < 0) { in PyObject_GetItem() 2378 (void)_PyObject_LookupAttrId(cls, &PyId___bases__, &bases); in abstract_get_bases() 2454 retval = _PyObject_LookupAttrId(inst, &PyId___class__, &icls); in object_isinstance() 2472 retval = _PyObject_LookupAttrId(inst, &PyId___class__, &icls); in object_isinstance()
|
D | typeobject.c | 1608 if (_PyObject_LookupAttrId(cls, &PyId___name__, &name) == 0) { in class_name() 2413 if (_PyObject_LookupAttrId(tmp, &PyId___mro_entries__, &tmp) < 0) { in type_new() 3549 if (_PyObject_LookupAttrId(aclass, &PyId___dict__, &classdict) < 0) { in merge_class_dict() 3560 if (_PyObject_LookupAttrId(aclass, &PyId___bases__, &bases) < 0) { in merge_class_dict() 4311 if (_PyObject_LookupAttrId(obj, &PyId___getstate__, &getstate) < 0) { in _PyObject_GetState() 4756 if (_PyObject_LookupAttrId(self, &PyId___reduce__, &reduce) < 0) { in object___reduce_ex___impl() 4872 if (_PyObject_LookupAttrId(self, &PyId___dict__, &dict) < 0) { in object___dir___impl() 4893 if (_PyObject_LookupAttrId(self, &PyId___class__, &itsclass) < 0) { in object___dir___impl() 6288 if (_PyObject_LookupAttrId((PyObject *)(Py_TYPE(right)), name, &b) < 0) { in method_is_overloaded() 6296 if (_PyObject_LookupAttrId((PyObject *)(Py_TYPE(left)), name, &a) < 0) { in method_is_overloaded() [all …]
|
D | odictobject.c | 2257 if (_PyObject_LookupAttrId(arg, &PyId_keys, &func) < 0) { in mutablemapping_update_arg() 2289 if (_PyObject_LookupAttrId(arg, &PyId_items, &func) < 0) { in mutablemapping_update_arg()
|
D | genobject.c | 309 if (_PyObject_LookupAttrId(yf, &PyId_close, &meth) < 0) { in gen_close_iter() 436 if (_PyObject_LookupAttrId(yf, &PyId_throw, &meth) < 0) { in _gen_throw()
|
D | weakrefobject.c | 173 if (_PyObject_LookupAttrId(obj, &PyId___name__, &name) < 0) { in weakref_repr()
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 289 if (_PyObject_LookupAttrId(type, &PyId__anonymous_, &anon) < 0) { in MakeAnonFields() 366 if (_PyObject_LookupAttrId(type, &PyId__swappedbytes_, &tmp) < 0) { in PyCStructUnionType_update_stgdict() 377 if (_PyObject_LookupAttrId(type, in PyCStructUnionType_update_stgdict() 390 if (_PyObject_LookupAttrId(type, &PyId__pack_, &tmp) < 0) { in PyCStructUnionType_update_stgdict()
|
D | _ctypes.c | 817 if (_PyObject_LookupAttrId(value, &PyId__as_parameter_, &as_parameter) < 0) { in CDataType_from_param() 1513 if (_PyObject_LookupAttrId((PyObject *)result, &PyId__length_, &length_attr) < 0) { in PyCArrayType_new() 1546 if (_PyObject_LookupAttrId((PyObject *)result, &PyId__type_, &type_attr) < 0) { in PyCArrayType_new() 1742 if (_PyObject_LookupAttrId(value, &PyId__as_parameter_, &as_parameter) < 0) { in c_wchar_p_from_param() 1809 if (_PyObject_LookupAttrId(value, &PyId__as_parameter_, &as_parameter) < 0) { in c_char_p_from_param() 1948 if (_PyObject_LookupAttrId(value, &PyId__as_parameter_, &as_parameter) < 0) { in c_void_p_from_param() 2086 if (_PyObject_LookupAttrId((PyObject *)result, &PyId__type_, &proto) < 0) { in PyCSimpleType_new() 2300 if (_PyObject_LookupAttrId(value, &PyId__as_parameter_, &as_parameter) < 0) { in PyCSimpleType_from_param() 2450 if (_PyObject_LookupAttrId(tp, &PyId_from_param, &cnv) <= 0) { in converters_from_argtypes() 2516 if (_PyObject_LookupAttrId(ob, &PyId__check_retval_, in make_funcptrtype_dict() [all …]
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 380 ret = _PyObject_LookupAttrId(self, name, &func); in init_method_ref() 1176 if (_PyObject_LookupAttrId(file, &PyId_write, &self->write) < 0) { in _Pickler_SetOutputStream() 1641 if (_PyObject_LookupAttrId(file, &PyId_peek, &self->peek) < 0) { in _Unpickler_SetInputStream() 1644 if (_PyObject_LookupAttrId(file, &PyId_readinto, &self->readinto) < 0) { in _Unpickler_SetInputStream() 1647 (void)_PyObject_LookupAttrId(file, &PyId_read, &self->read); in _Unpickler_SetInputStream() 1648 (void)_PyObject_LookupAttrId(file, &PyId_readline, &self->readline); in _Unpickler_SetInputStream() 1917 if (_PyObject_LookupAttrId(global, &PyId___module__, &module_name) < 0) { in whichmodule() 3603 if (_PyObject_LookupAttrId(obj, &PyId___qualname__, &global_name) < 0) in save_global() 3929 if (_PyObject_LookupAttrId(obj, &PyId___class__, &cls) == 0) { in get_class() 4014 if (_PyObject_LookupAttrId(callable, &PyId___name__, &name) < 0) { in save_reduce() [all …]
|
D | _abc.c | 365 if (_PyObject_LookupAttrId(item, &PyId___abstractmethods__, in compute_abstract_methods()
|
D | _threadmodule.c | 1364 if (_PyObject_LookupAttrId(thread, &PyId_name, &name) < 0) { in thread_excepthook_file()
|
D | _asynciomodule.c | 216 if (_PyObject_LookupAttrId(fut, &PyId_get_loop, &getloop) < 0) { in get_future_loop() 2841 if (_PyObject_LookupAttrId(result, &PyId__asyncio_future_blocking, &o) < 0) { in task_step_impl()
|
D | _csv.c | 1391 if (_PyObject_LookupAttrId(output_file, &PyId_write, &self->write) < 0) { in csv_writer()
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 328 PyAPI_FUNC(int) _PyObject_LookupAttrId(PyObject *, struct _Py_Identifier *, PyObject **);
|
/external/python/cpython3/Python/ |
D | _warnings.c | 226 (void)_PyObject_LookupAttrId(warnings_module, attr_id, &obj); in get_warnings_attr() 1012 (void)_PyObject_LookupAttrId(loader, &PyId_get_source, &get_source); in get_source_line()
|
D | bltinmodule.c | 48 if (_PyObject_LookupAttrId(base, &PyId___mro_entries__, &meth) < 0) { in update_bases() 198 if (_PyObject_LookupAttrId(meta, &PyId___prepare__, &prep) < 0) { in builtin___build_class__() 2263 if (_PyObject_LookupAttrId(v, &PyId___dict__, &d) == 0) { in builtin_vars()
|
D | sysmodule.c | 238 int canTrace = _PyObject_LookupAttrId(hook, &PyId___cantrace__, &o); in sys_audit_tstate() 629 if (_PyObject_LookupAttrId(outf, &PyId_buffer, &buffer) < 0) { in sys_displayhook_unencodable()
|
D | codecs.c | 538 if (_PyObject_LookupAttrId(codec, &PyId__is_text_encoding, &attr) < 0) { in _PyCodec_LookupTextEncoding()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 941 if (_PyObject_LookupAttrId(codec_info, &PyId_name, &res) < 0) { in _textiowrapper_set_encoder() 1235 if (_PyObject_LookupAttrId(buffer, &PyId_raw, &raw) < 0) in _io_TextIOWrapper___init___impl() 2904 if (_PyObject_LookupAttrId((PyObject *) self, &PyId_name, &nameobj) < 0) { in textiowrapper_repr() 2920 if (_PyObject_LookupAttrId((PyObject *) self, &PyId_mode, &modeobj) < 0) { in textiowrapper_repr()
|
D | iobase.c | 140 ret = _PyObject_LookupAttrId(self, &PyId___IOBase_closed, &res); in iobase_is_closed()
|
D | fileio.c | 1085 if (_PyObject_LookupAttrId((PyObject *) self, &PyId_name, &nameobj) < 0) {
|