Home
last modified time | relevance | path

Searched refs:_PyDict_SetItemId (Results 1 – 13 of 13) 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()
Dtypeobject.c520 return _PyDict_SetItemId(type->tp_dict, &PyId___module__, value); in type_set_module()
553 res = _PyDict_SetItemId(type->tp_dict, &PyId___abstractmethods__, value); in type_set_abstractmethods()
833 return _PyDict_SetItemId(type->tp_dict, &PyId___doc__, value); in type_set_doc()
2633 if (_PyDict_SetItemId(dict, &PyId___module__, in type_new()
2690 if (_PyDict_SetItemId(dict, &PyId___new__, tmp) < 0) { in type_new()
2704 if (_PyDict_SetItemId(dict, &PyId___init_subclass__, tmp) < 0) { in type_new()
2716 if (_PyDict_SetItemId(dict, &PyId___class_getitem__, tmp) < 0) { in type_new()
2971 err = _PyDict_SetItemId(type->tp_dict, &PyId___module__, modname); in PyType_FromSpecWithBases()
5262 if (_PyDict_SetItemId(type->tp_dict, &PyId___doc__, doc) < 0) { in PyType_Ready()
5268 if (_PyDict_SetItemId(type->tp_dict, in PyType_Ready()
[all …]
Dexceptions.c699 if (self->name && _PyDict_SetItemId(dict, &PyId_name, self->name) < 0) { in ImportError_getstate()
703 if (self->path && _PyDict_SetItemId(dict, &PyId_path, self->path) < 0) { in ImportError_getstate()
Dobject.c2080 if (_PyDict_SetItemId(dict, &PyId_Py_Repr, list) < 0) in Py_ReprEnter()
Ddictobject.c3273 _PyDict_SetItemId(PyObject *v, struct _Py_Identifier *key, PyObject *item) in _PyDict_SetItemId() function
/external/python/cpython3/Modules/
D_asynciomodule.c303 if (_PyDict_SetItemId( in set_running_loop()
1363 if (_PyDict_SetItemId(context, &PyId_message, message) < 0 || in FutureObj_finalize()
1364 _PyDict_SetItemId(context, &PyId_exception, fut->fut_exception) < 0 || in FutureObj_finalize()
1365 _PyDict_SetItemId(context, &PyId_future, (PyObject*)fut) < 0) { in FutureObj_finalize()
1369 if (_PyDict_SetItemId(context, &PyId_source_traceback, in FutureObj_finalize()
2342 if (_PyDict_SetItemId(context, &PyId_message, message) < 0 || in TaskObj_finalize()
2343 _PyDict_SetItemId(context, &PyId_task, (PyObject*)task) < 0) in TaskObj_finalize()
2349 if (_PyDict_SetItemId(context, &PyId_source_traceback, in TaskObj_finalize()
D_lzmamodule.c393 status = _PyDict_SetItemId(spec, key, value_object); in spec_add_field()
/external/python/cpython3/Include/
Ddictobject.h164 PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item);
/external/python/cpython3/Python/
Dbltinmodule.c987 if (_PyDict_SetItemId(globals, &PyId___builtins__, in builtin_eval_impl()
1067 if (_PyDict_SetItemId(globals, &PyId___builtins__, in builtin_exec_impl()
D_warnings.c268 if (_PyDict_SetItemId(registry, &PyId_version, version_obj) < 0) { in already_warned()
Dsysmodule.c88 return _PyDict_SetItemId(sd, key, v); in _PySys_SetObjectId()
Dceval.c2408 err = _PyDict_SetItemId(f->f_locals, in _PyEval_EvalFrameDefault()
DPython-ast.c828 _PyDict_SetItemId(d, &PyId__fields, empty_tuple) < 0 || in add_ast_fields()
829 _PyDict_SetItemId(d, &PyId__attributes, empty_tuple) < 0) { in add_ast_fields()