/third_party/python/Modules/_sqlite/ |
D | microprotocols.c | 68 rc = PyDict_SetItem(psyco_adapters, key, cast); in pysqlite_microprotocols_add()
|
D | module.c | 204 if (PyDict_SetItem(_pysqlite_converters, name, callable) != 0) { in pysqlite_register_converter_impl()
|
D | cache.c | 245 if (PyDict_SetItem(self->mapping, key, (PyObject*)node) != 0) { in pysqlite_cache_get()
|
/third_party/libnl/python/netlink/genl/ |
D | capi.i | 104 PyDict_SetItem(attrs, k, v); in py_genlmsg_parse()
|
/third_party/python/Include/ |
D | dictobject.h | 24 PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
|
/third_party/python/PC/ |
D | winsound.c | 203 PyDict_SetItem(dict, k, v); in add_define()
|
/third_party/python/Python/ |
D | symtable.c | 119 if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0) in ste_new() 493 if (PyDict_SetItem((DICT), (NAME), o) < 0) { \ 606 if (PyDict_SetItem(scopes, name, v_cell) < 0) in analyze_cells() 655 if (PyDict_SetItem(symbols, name, v_new) < 0) { in update_symbols() 689 if (PyDict_SetItem(symbols, name, v_new) < 0) { in update_symbols() 708 if (PyDict_SetItem(symbols, name, v_free) < 0) { in update_symbols() 1083 if (PyDict_SetItem(dict, mangled, o) < 0) { in symtable_add_def_helper() 1105 if (PyDict_SetItem(st->st_global, mangled, o) < 0) { in symtable_add_def_helper()
|
D | import.c | 475 int res = PyDict_SetItem(extensions, key, (PyObject *)def); in _PyImport_FixupExtensionObject() 958 if (PyDict_SetItem(path_importer_cache, p, Py_None) != 0) in get_path_importer() 977 if (PyDict_SetItem(path_importer_cache, p, importer) < 0) { in get_path_importer()
|
D | _warnings.c | 426 return PyDict_SetItem(registry, key, Py_True); in already_warned() 702 PyDict_SetItem(registry, key, Py_True) < 0) in warn_explicit()
|
D | modsupport.c | 158 if (v == NULL || PyDict_SetItem(d, k, v) < 0) { in do_mkdict()
|
D | sysmodule.c | 129 return PyDict_SetItem(sd, key, v); in sys_set_object() 2361 if (PyDict_SetItem(opts, name, value) < 0) { in _PySys_AddXOptionWithError() 2898 if (PyDict_SetItem(opts, name, value) < 0) { in sys_add_xoption()
|
D | pystate.c | 1230 int stat = PyDict_SetItem(result, id, (PyObject *)frame); in _PyThread_CurrentFrames() 1292 int stat = PyDict_SetItem(result, id, exc_info); in _PyThread_CurrentExceptions()
|
/third_party/python/Modules/ |
D | errnomodule.c | 65 if (PyDict_SetItem(module_dict, name, code) < 0) { in _add_errcode() 69 if (PyDict_SetItem(error_dict, code, name) < 0) { in _add_errcode()
|
D | xxlimited.c | 173 return PyDict_SetItem(self->x_attr, name, v); in Xxo_setattro()
|
D | _json.c | 760 if (PyDict_SetItem(rval, key, val) < 0) in _parse_object_unicode() 1459 if (PyDict_SetItem(s->markers, ident, obj)) { in encoder_listencode_obj() 1529 if (PyDict_SetItem(s->markers, ident, dct)) { in encoder_listencode_dict() 1688 if (PyDict_SetItem(s->markers, ident, seq)) { in encoder_listencode_list()
|
D | nismodule.c | 156 err = PyDict_SetItem(indata->dict, key, val); in nis_foreach()
|
D | pyexpat.c | 241 PyDict_SetItem(self->intern, result, result) == 0) in string_intern() 393 else if (PyDict_SetItem(container, n, v)) { in my_StartElementHandler() 1678 int res = PyDict_SetItem(rev_codes_dict, num, str); in add_error()
|
D | _threadmodule.c | 751 int r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy() 756 r = PyDict_SetItem(tdict, self->key, (PyObject *) dummy); in _local_create_dummy()
|
/third_party/python/Doc/c-api/ |
D | dict.rst | 63 .. c:function:: int PyDict_SetItem(PyObject *p, PyObject *key, PyObject *val) 201 if (PyDict_SetItem(self->dict, key, o) < 0) {
|
/third_party/python/Objects/ |
D | moduleobject.c | 600 if (PyDict_SetItem(d, key, Py_None) != 0) { in _PyModule_ClearDict() 621 if (PyDict_SetItem(d, key, Py_None) != 0) { in _PyModule_ClearDict()
|
D | dictobject.c | 1600 PyDict_SetItem(PyObject *op, PyObject *key, PyObject *value) in PyDict_SetItem() function 2028 status = PyDict_SetItem(d, key, value); in _PyDict_FromKeys() 2225 return PyDict_SetItem((PyObject *)mp, v, w); in dict_ass_sub() 2514 if (PyDict_SetItem(d, key, value) < 0) { in PyDict_MergeFromSeq2() 2706 status = PyDict_SetItem(a, key, value); in dict_merge() 3508 if (PyDict_SetItem(self, PyTuple_GET_ITEM(kwnames, i), args[i]) < 0) { in dict_vectorcall() 3602 return PyDict_SetItem(v, kv, item); in _PyDict_SetItemId() 3614 err = PyDict_SetItem(v, kv, item); in PyDict_SetItemString() 5043 res = PyDict_SetItem(dict, key, value); in _PyObjectDict_SetItem() 5083 res = PyDict_SetItem(dict, key, value); in _PyObjectDict_SetItem()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | map_container.cc | 508 if (PyDict_SetItem(dict.get(), key.get(), value.get()) < 0) { in ScalarMapToStr() 747 if (PyDict_SetItem(dict.get(), key.get(), value.get()) < 0) { in MessageMapToStr()
|
/third_party/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 2520 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2538 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2550 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2573 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2591 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_SetSwigThis() 2596 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_SetSwigThis() 2819 PyDict_SetItem(cache, key, obj); in SWIG_Python_TypeQuery()
|
/third_party/flutter/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 2499 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2517 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2529 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2552 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance() 2570 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_SetSwigThis() 2575 PyDict_SetItem(dict, SWIG_This(), swig_this); in SWIG_Python_SetSwigThis() 2798 PyDict_SetItem(cache, key, obj); in SWIG_Python_TypeQuery()
|
/third_party/python/Modules/_ctypes/ |
D | callproc.c | 173 if (-1 == PyDict_SetItem(dict, error_object_name, in _ctypes_get_errobj() 1937 if (-1 == PyDict_SetItem(_ctypes_ptrtype_cache, key, result)) { in POINTER()
|