Home
last modified time | relevance | path

Searched refs:_PyObject_GetAttrId (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Modules/
D_abc.c81 PyObject *impl = _PyObject_GetAttrId(self, &PyId__abc_impl); in _get_impl()
270 ns = _PyObject_GetAttrId(self, &PyId___dict__); in compute_abstract_methods()
314 bases = _PyObject_GetAttrId(self, &PyId___bases__); in compute_abstract_methods()
488 subclass = _PyObject_GetAttrId(instance, &PyId___class__); in _abc__abc_instancecheck_impl()
Dparsermodule.c1179 func = _PyObject_GetAttrId(copyreg, &PyId_pickle); in PyInit_parser()
1180 pickle_constructor = _PyObject_GetAttrId(module, &PyId_sequence2st); in PyInit_parser()
1181 pickler = _PyObject_GetAttrId(module, &PyId__pickler); in PyInit_parser()
D_asynciomodule.c221 return _PyObject_GetAttrId(fut, &PyId__loop); in get_future_loop()
353 PyObject *callable = _PyObject_GetAttrId(loop, &PyId_call_soon); in call_soon()
1375 func = _PyObject_GetAttrId(fut->fut_loop, &PyId_call_exception_handler); in FutureObj_finalize()
2091 current_task_func = _PyObject_GetAttrId(asyncio_mod, &PyId_current_task); in _asyncio_Task_current_task_impl()
2139 all_tasks_func = _PyObject_GetAttrId(asyncio_mod, &PyId__all_tasks_compat); in _asyncio_Task_all_tasks_impl()
2356 func = _PyObject_GetAttrId(task->task_loop, &PyId_call_exception_handler); in TaskObj_finalize()
2750 PyObject *add_cb = _PyObject_GetAttrId( in task_step_impl()
D_pickle.c3316 global_name = _PyObject_GetAttrId(obj, &PyId___name__); in save_global()
3780 cls_new = _PyObject_GetAttrId(cls, &PyId___new__); in save_reduce()
4100 reduce_func = _PyObject_GetAttrId(obj, &PyId___reduce__); in save()
6006 extend_func = _PyObject_GetAttrId(list, &PyId_extend); in do_append()
6027 append_func = _PyObject_GetAttrId(list, &PyId_append); in do_append()
6152 add_func = _PyObject_GetAttrId(set, &PyId_add); in load_additems()
6237 dict = _PyObject_GetAttrId(inst, &PyId___dict__); in load_build()
D_operator.c1647 partial = _PyObject_GetAttrId(functools, &PyId_partial); in methodcaller_reduce()
Dzipimport.c1167 decompress = _PyObject_GetAttrId(zlib, in get_decompress_func()
/external/python/cpython3/Python/
Dpythonrun.c196 oenc = _PyObject_GetAttrId(v, &PyId_encoding); in PyRun_InteractiveOneObjectEx()
480 *message = _PyObject_GetAttrId(err, &PyId_msg); in parse_syntax_error()
484 v = _PyObject_GetAttrId(err, &PyId_filename); in parse_syntax_error()
498 v = _PyObject_GetAttrId(err, &PyId_lineno); in parse_syntax_error()
507 v = _PyObject_GetAttrId(err, &PyId_offset); in parse_syntax_error()
521 v = _PyObject_GetAttrId(err, &PyId_text); in parse_syntax_error()
600 PyObject *code = _PyObject_GetAttrId(value, &PyId_code); in handle_system_exit()
787 moduleName = _PyObject_GetAttrId(type, &PyId___module__); in print_exception()
Dbltinmodule.c2037 stdin_encoding = _PyObject_GetAttrId(fin, &PyId_encoding); in builtin_input_impl()
2038 stdin_errors = _PyObject_GetAttrId(fin, &PyId_errors); in builtin_input_impl()
2058 stdout_encoding = _PyObject_GetAttrId(fout, &PyId_encoding); in builtin_input_impl()
2059 stdout_errors = _PyObject_GetAttrId(fout, &PyId_errors); in builtin_input_impl()
2249 callable = _PyObject_GetAttrId(newlist, &PyId_sort); in builtin_sorted()
2283 d = _PyObject_GetAttrId(v, &PyId___dict__); in builtin_vars()
Dimport.c115 PyObject *zipimporter = _PyObject_GetAttrId(zimpimport, in _PyImportZip_Init()
1507 PyObject *parent = _PyObject_GetAttrId(spec, &PyId_parent); in resolve_name()
1526 package = _PyObject_GetAttrId(spec, &PyId_parent); in resolve_name()
1730 spec = _PyObject_GetAttrId(mod, &PyId___spec__); in PyImport_ImportModuleLevelObject()
1732 value = _PyObject_GetAttrId(spec, &PyId__initializing); in PyImport_ImportModuleLevelObject()
Dsysmodule.c219 stdout_encoding = _PyObject_GetAttrId(outf, &PyId_encoding); in sys_displayhook_unencodable()
236 buffer = _PyObject_GetAttrId(outf, &PyId_buffer); in sys_displayhook_unencodable()
2652 writer = _PyObject_GetAttrId(file, &PyId_write); in sys_pyfile_write_unicode()
Dpylifecycle.c247 name = _PyObject_GetAttrId(codec, &PyId_name); in get_codec_name()
1739 raw = _PyObject_GetAttrId(buf, &PyId_raw); in create_stdio()
Derrors.c986 moduleName = _PyObject_GetAttrId(t, &PyId___module__); in PyErr_WriteUnraisable()
D_warnings.c351 name = _PyObject_GetAttrId(category, &PyId___name__); in show_warning()
/external/python/cpython3/Objects/
Dfileobject.c125 writer = _PyObject_GetAttrId(f, &PyId_write); in PyFile_WriteObject()
186 else if ((meth = _PyObject_GetAttrId(o, &PyId_fileno)) != NULL) in PyObject_AsFileDescriptor()
Dmethodobject.c157 type_qualname = _PyObject_GetAttrId(type, &PyId___qualname__); in meth_get__qualname__()
Dcall.c1091 callable = _PyObject_GetAttrId(obj, name); in _PyObject_CallMethodId()
1139 callable = _PyObject_GetAttrId(obj, name); in _PyObject_CallMethodId_SizeT()
1242 callable = _PyObject_GetAttrId(obj, name); in _PyObject_CallMethodIdObjArgs()
Dtypeobject.c1583 PyObject *name = _PyObject_GetAttrId(cls, &PyId___name__); in class_name()
3367 classdict = _PyObject_GetAttrId(aclass, &PyId___dict__); in merge_class_dict()
3378 bases = _PyObject_GetAttrId(aclass, &PyId___bases__); in merge_class_dict()
4420 newobj = _PyObject_GetAttrId(copyreg, &PyId___newobj__); in reduce_newobj()
4446 newobj = _PyObject_GetAttrId(copyreg, &PyId___newobj_ex__); in reduce_newobj()
4561 reduce = _PyObject_GetAttrId(self, &PyId___reduce__); in object___reduce_ex___impl()
4569 clsreduce = _PyObject_GetAttrId(cls, &PyId___reduce__); in object___reduce_ex___impl()
4677 dict = _PyObject_GetAttrId(self, &PyId___dict__); in object___dir___impl()
4697 itsclass = _PyObject_GetAttrId(self, &PyId___class__); in object___dir___impl()
5975 b = _PyObject_GetAttrId((PyObject *)(Py_TYPE(right)), name); in method_is_overloaded()
[all …]
Dclassobject.c83 funcname = _PyObject_GetAttrId(func, &PyId___name__); in method_reduce()
Ddescrobject.c424 type_qualname = _PyObject_GetAttrId((PyObject *)descr->d_type, in calculate_qualname()
1493 PyObject *get_doc = _PyObject_GetAttrId(fget, &PyId___doc__); in property_init_impl()
Dmoduleobject.c758 PyObject *dict = _PyObject_GetAttrId(self, &PyId___dict__); in module_dir()
Dweakrefobject.c166 name = _PyObject_GetAttrId(PyWeakref_GET_OBJECT(self), &PyId___name__); in weakref_repr()
/external/python/cpython3/Modules/_io/
Dbufferedio.c585 return _PyObject_GetAttrId(self->raw, &PyId_name); in buffered_name_get()
592 return _PyObject_GetAttrId(self->raw, &PyId_mode); in buffered_mode_get()
1390 nameobj = _PyObject_GetAttrId((PyObject *) self, &PyId_name); in buffered_repr()
2162 func = _PyObject_GetAttrId((PyObject *)self, name); in _forward_call()
D_iomodule.c410 blksize_obj = _PyObject_GetAttrId(raw, &PyId__blksize); in _io_open_impl()
Dtextio.c2783 nameobj = _PyObject_GetAttrId((PyObject *) self, &PyId_name); in textiowrapper_repr()
2799 modeobj = _PyObject_GetAttrId((PyObject *) self, &PyId_mode); in textiowrapper_repr()
3009 return _PyObject_GetAttrId(self->buffer, &PyId_name); in textiowrapper_name_get()
/external/python/cpython3/Include/
Dobject.h540 PyAPI_FUNC(PyObject *) _PyObject_GetAttrId(PyObject *, struct _Py_Identifier *);

12