/external/python/cpython3/Objects/ |
D | moduleobject.c | 64 if (_PyDict_SetItemId(md_dict, &PyId___name__, name) != 0) in module_init_dict() 66 if (_PyDict_SetItemId(md_dict, &PyId___doc__, doc) != 0) in module_init_dict() 68 if (_PyDict_SetItemId(md_dict, &PyId___package__, Py_None) != 0) in module_init_dict() 70 if (_PyDict_SetItemId(md_dict, &PyId___loader__, Py_None) != 0) in module_init_dict() 72 if (_PyDict_SetItemId(md_dict, &PyId___spec__, Py_None) != 0) in module_init_dict()
|
D | typeobject.c | 577 return _PyDict_SetItemId(type->tp_dict, &PyId___module__, value); in type_set_module() 612 res = _PyDict_SetItemId(type->tp_dict, &PyId___abstractmethods__, value); in type_set_abstractmethods() 894 return _PyDict_SetItemId(type->tp_dict, &PyId___doc__, value); in type_set_doc() 2647 if (_PyDict_SetItemId(dict, &PyId___module__, in type_new() 2716 if (_PyDict_SetItemId(dict, &PyId___new__, tmp) < 0) { in type_new() 2733 if (_PyDict_SetItemId(dict, &PyId___init_subclass__, tmp) < 0) { in type_new() 2748 if (_PyDict_SetItemId(dict, &PyId___class_getitem__, tmp) < 0) { in type_new() 3082 err = _PyDict_SetItemId(type->tp_dict, &PyId___module__, modname); in PyType_FromModuleAndSpec() 5536 if (_PyDict_SetItemId(type->tp_dict, &PyId___doc__, doc) < 0) { in PyType_Ready() 5542 if (_PyDict_SetItemId(type->tp_dict, in PyType_Ready() [all …]
|
D | exceptions.c | 720 if (self->name && _PyDict_SetItemId(dict, &PyId_name, self->name) < 0) { in ImportError_getstate() 724 if (self->path && _PyDict_SetItemId(dict, &PyId_path, self->path) < 0) { in ImportError_getstate()
|
D | object.c | 1977 if (_PyDict_SetItemId(dict, &PyId_Py_Repr, list) < 0) in Py_ReprEnter()
|
D | dictobject.c | 3491 _PyDict_SetItemId(PyObject *v, struct _Py_Identifier *key, PyObject *item) in _PyDict_SetItemId() function
|
/external/python/cpython3/Include/cpython/ |
D | dictobject.h | 72 PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item);
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 312 if (_PyDict_SetItemId( in set_running_loop() 1445 if (_PyDict_SetItemId(context, &PyId_message, message) < 0 || in FutureObj_finalize() 1446 _PyDict_SetItemId(context, &PyId_exception, fut->fut_exception) < 0 || in FutureObj_finalize() 1447 _PyDict_SetItemId(context, &PyId_future, (PyObject*)fut) < 0) { in FutureObj_finalize() 1451 if (_PyDict_SetItemId(context, &PyId_source_traceback, in FutureObj_finalize() 2453 if (_PyDict_SetItemId(context, &PyId_message, message) < 0 || in TaskObj_finalize() 2454 _PyDict_SetItemId(context, &PyId_task, (PyObject*)task) < 0) in TaskObj_finalize() 2460 if (_PyDict_SetItemId(context, &PyId_source_traceback, in TaskObj_finalize()
|
D | _lzmamodule.c | 389 status = _PyDict_SetItemId(spec, key, value_object); in spec_add_field()
|
/external/python/cpython3/Python/ |
D | _warnings.c | 412 if (_PyDict_SetItemId(registry, &PyId_version, version_obj) < 0) { in already_warned() 887 rc = _PyDict_SetItemId(globals, &PyId___warningregistry__, *registry); in setup_context()
|
D | bltinmodule.c | 928 if (_PyDict_SetItemId(globals, &PyId___builtins__, in builtin_eval_impl() 1016 if (_PyDict_SetItemId(globals, &PyId___builtins__, in builtin_exec_impl()
|
D | sysmodule.c | 105 return _PyDict_SetItemId(sd, key, v); in sys_set_object_id() 2996 if (_PyDict_SetItemId(sysdict, &PyId_stderr, pstderr) < 0) { in _PySys_SetPreliminaryStderr()
|
D | errors.c | 1110 if (_PyDict_SetItemId(dict, &PyId___module__, modulename) != 0) in PyErr_NewException()
|
D | import.c | 1026 _PyDict_SetItemId(d, &PyId___builtins__, in module_dict_for_exec()
|
D | ceval.c | 2874 err = _PyDict_SetItemId(f->f_locals, in _PyEval_EvalFrameDefault()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 1144 if (-1 == _PyDict_SetItemId((PyObject *)dict, &PyId__type_, type)) in PyCPointerType_set_type()
|