Home
last modified time | relevance | path

Searched refs:_PyDict_SetItemId (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Objects/
Dmoduleobject.c72 if (_PyDict_SetItemId(md_dict, &PyId___name__, name) != 0) in module_init_dict()
74 if (_PyDict_SetItemId(md_dict, &PyId___doc__, doc) != 0) in module_init_dict()
76 if (_PyDict_SetItemId(md_dict, &PyId___package__, Py_None) != 0) in module_init_dict()
78 if (_PyDict_SetItemId(md_dict, &PyId___loader__, Py_None) != 0) in module_init_dict()
80 if (_PyDict_SetItemId(md_dict, &PyId___spec__, Py_None) != 0) in module_init_dict()
867 int result = _PyDict_SetItemId(dict, &PyId___annotations__, annotations); in module_get_annotations()
890 ret = _PyDict_SetItemId(dict, &PyId___annotations__, value); in module_set_annotations()
Dtypeobject.c615 return _PyDict_SetItemId(type->tp_dict, &PyId___module__, value); in type_set_module()
650 res = _PyDict_SetItemId(type->tp_dict, &PyId___abstractmethods__, value); in type_set_abstractmethods()
932 return _PyDict_SetItemId(type->tp_dict, &PyId___doc__, value); in type_set_doc()
963 int result = _PyDict_SetItemId(type->tp_dict, &PyId___annotations__, annotations); in type_get_annotations()
987 result = _PyDict_SetItemId(type->tp_dict, &PyId___annotations__, value); in type_set_annotations()
2820 if (_PyDict_SetItemId(type->tp_dict, &PyId___module__, module) < 0) { in type_new_set_module()
2913 if (_PyDict_SetItemId(type->tp_dict, attr_id, static_func) < 0) { in type_new_staticmethod()
2941 if (_PyDict_SetItemId(type->tp_dict, attr_id, method) < 0) { in type_new_classmethod()
3570 r = _PyDict_SetItemId(type->tp_dict, &PyId___doc__, __doc__); in PyType_FromModuleAndSpec()
3600 r = _PyDict_SetItemId(type->tp_dict, &PyId___module__, modname); in PyType_FromModuleAndSpec()
[all …]
Dexceptions.c723 if (self->name && _PyDict_SetItemId(dict, &PyId_name, self->name) < 0) { in ImportError_getstate()
727 if (self->path && _PyDict_SetItemId(dict, &PyId_path, self->path) < 0) { in ImportError_getstate()
Dobject.c2057 if (_PyDict_SetItemId(dict, &PyId_Py_Repr, list) < 0) in Py_ReprEnter()
Ddictobject.c3596 _PyDict_SetItemId(PyObject *v, struct _Py_Identifier *key, PyObject *item) in _PyDict_SetItemId() function
/external/python/cpython3/Include/cpython/
Ddictobject.h67 PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item);
/external/python/cpython3/Modules/
D_asynciomodule.c306 if (_PyDict_SetItemId( in set_running_loop()
1447 if (_PyDict_SetItemId(context, &PyId_message, message) < 0 || in FutureObj_finalize()
1448 _PyDict_SetItemId(context, &PyId_exception, fut->fut_exception) < 0 || in FutureObj_finalize()
1449 _PyDict_SetItemId(context, &PyId_future, (PyObject*)fut) < 0) { in FutureObj_finalize()
1453 if (_PyDict_SetItemId(context, &PyId_source_traceback, in FutureObj_finalize()
2404 if (_PyDict_SetItemId(context, &PyId_message, message) < 0 || in TaskObj_finalize()
2405 _PyDict_SetItemId(context, &PyId_task, (PyObject*)task) < 0) in TaskObj_finalize()
2411 if (_PyDict_SetItemId(context, &PyId_source_traceback, in TaskObj_finalize()
D_lzmamodule.c443 status = _PyDict_SetItemId(spec, key, value_object); in spec_add_field()
/external/python/cpython3/Python/
D_warnings.c406 if (_PyDict_SetItemId(registry, &PyId_version, version_obj) < 0) { in already_warned()
881 rc = _PyDict_SetItemId(globals, &PyId___warningregistry__, *registry); in setup_context()
Dbltinmodule.c950 r = _PyDict_SetItemId(globals, &PyId___builtins__, in builtin_eval_impl()
1038 r = _PyDict_SetItemId(globals, &PyId___builtins__, in builtin_exec_impl()
Derrors.c1140 if (_PyDict_SetItemId(dict, &PyId___module__, modulename) != 0) in PyErr_NewException()
Dimport.c773 r = _PyDict_SetItemId(d, &PyId___builtins__, in module_dict_for_exec()
Dsysmodule.c3019 if (_PyDict_SetItemId(sysdict, &PyId_stderr, pstderr) < 0) { in _PySys_SetPreliminaryStderr()
Dceval.c3289 err = _PyDict_SetItemId(f->f_locals, in _PyEval_EvalFrameDefault()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c1151 if (-1 == _PyDict_SetItemId((PyObject *)dict, &PyId__type_, type)) in PyCPointerType_set_type()
/external/python/cpython3/Doc/data/
Dpython3.10.abi988 …<elf-symbol name='_PyDict_SetItemId' type='func-type' binding='global-binding' visibility='default…
7994 …<function-decl name='_PyDict_SetItemId' mangled-name='_PyDict_SetItemId' filepath='./Include/cpyth…
9104_PyDict_SetItemId' mangled-name='_PyDict_SetItemId' filepath='Objects/dictobject.c' line='3596' co…