/external/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 127 PyDict_SetItem(self->values, key, sub_message); in subscript() 144 PyDict_SetItem(self->values, key, py_container); in subscript() 152 PyDict_SetItem(self->values, key, py_container); in subscript() 182 PyDict_SetItem(self->values, key, value); in ass_subscript()
|
D | message.cc | 1988 if (PyDict_SetItem(extensions_by_name.get(), full_name.get(), in CheckAndGetInteger() 2028 if (PyDict_SetItem(extensions_by_number.get(), number.get(), in CheckAndGetInteger() 2044 PyDict_SetItem(extensions_by_name.get(), message_name.get(), in CheckAndGetInteger() 2640 return PyDict_SetItem(self->composite_fields, name, value) == 0; in CheckAndGetInteger() 2885 PyDict_SetItem(CMessage_Type.tp_dict, kDESCRIPTOR, Py_None); in CheckAndGetInteger() 2897 if (PyDict_SetItem(CMessage_Type.tp_dict, in CheckAndGetInteger() 2901 if (PyDict_SetItem(CMessage_Type.tp_dict, in CheckAndGetInteger()
|
/external/python/cpython2/Objects/ |
D | moduleobject.c | 125 if (PyDict_SetItem(d, key, Py_None) != 0) in _PyModule_Clear() 139 if (PyDict_SetItem(d, key, Py_None) != 0) in _PyModule_Clear()
|
D | dictobject.c | 828 PyDict_SetItem(register PyObject *op, PyObject *key, PyObject *value) in PyDict_SetItem() function 1241 return PyDict_SetItem((PyObject *)mp, v, w); in dict_ass_sub() 1440 status = PyDict_SetItem(d, key, value); in dict_fromkeys() 1554 int status = PyDict_SetItem(d, key, value); in PyDict_MergeFromSeq2() 1660 status = PyDict_SetItem(a, key, value); in PyDict_Merge() 2469 err = PyDict_SetItem(v, kv, item); in PyDict_SetItemString()
|
/external/python/cpython2/Python/ |
D | symtable.c | 75 if (PyDict_SetItem(st->st_symbols, ste->ste_id, (PyObject *)ste) < 0) in ste_new() 358 if (PyDict_SetItem((DICT), (NAME), o) < 0) { \ 388 if (PyDict_SetItem(global, name, Py_None) < 0) in analyze_name() 398 if (PyDict_SetItem(local, name, Py_None) < 0) in analyze_name() 414 if (PyDict_SetItem(free, name, Py_None) < 0) in analyze_name() 469 if (PyDict_SetItem(scope, name, w) < 0) in analyze_cells() 546 if (PyDict_SetItem(symbols, name, u) < 0) { in update_symbols() 575 if (PyDict_SetItem(symbols, name, o) < 0) { in update_symbols() 588 if (PyDict_SetItem(symbols, name, free_value) < 0) { in update_symbols() 905 if (PyDict_SetItem(dict, mangled, o) < 0) { in symtable_add_def() [all …]
|
D | import.c | 513 PyDict_SetItem(modules, key, Py_None); in PyImport_Cleanup() 531 PyDict_SetItem(modules, key, Py_None); in PyImport_Cleanup() 652 if (PyDict_SetItem(modules, name, m) != 0) { in _PyImport_AddModuleObject() 1250 if (PyDict_SetItem(path_importer_cache, p, Py_None) != 0) in get_path_importer() 1278 int err = PyDict_SetItem(path_importer_cache, p, importer); in get_path_importer() 2405 error = PyDict_SetItem(globals, pkgstr, modname); in get_parent() 2423 error = PyDict_SetItem(globals, pkgstr, Py_None); in get_parent() 2443 error = PyDict_SetItem(globals, pkgstr, pkgname); in get_parent()
|
D | _warnings.c | 185 return PyDict_SetItem(registry, key, Py_True); in already_warned() 363 PyDict_SetItem(registry, key, Py_True) < 0) in warn_explicit()
|
D | pystate.c | 483 stat = PyDict_SetItem(result, id, (PyObject *)frame); in _PyThread_CurrentFrames()
|
D | ceval.c | 2174 err = PyDict_SetItem(x, w, v); in PyEval_EvalFrameEx() 2275 err = PyDict_SetItem(f->f_globals, w, v); in PyEval_EvalFrameEx() 2515 err = PyDict_SetItem(v, w, u); /* v[w] = u */ in PyEval_EvalFrameEx() 2529 err = PyDict_SetItem(v, w, u); /* v[w] = u */ in PyEval_EvalFrameEx() 3461 PyDict_SetItem(kwdict, keyword, value); in PyEval_EvalCodeEx() 4482 err = PyDict_SetItem(kwdict, key, value); in update_keyword_args() 4926 err = PyDict_SetItem(locals, name, value); in import_all_from()
|
/external/python/cpython2/Modules/_sqlite/ |
D | microprotocols.c | 67 rc = PyDict_SetItem(psyco_adapters, key, cast); in pysqlite_microprotocols_add()
|
D | connection.c | 887 if (PyDict_SetItem(self->function_pinboard, func, Py_None) == -1) in pysqlite_connection_create_function() 919 if (PyDict_SetItem(self->function_pinboard, aggregate_class, Py_None) == -1) in pysqlite_connection_create_aggregate() 1016 if (PyDict_SetItem(self->function_pinboard, authorizer_cb, Py_None) == -1) in pysqlite_connection_set_authorizer() 1045 if (PyDict_SetItem(self->function_pinboard, progress_handler, Py_None) == -1) in pysqlite_connection_set_progress_handler() 1510 if (PyDict_SetItem(self->collations, uppercase_name, callable) == -1) in pysqlite_connection_create_collation()
|
D | cache.c | 198 if (PyDict_SetItem(self->mapping, key, (PyObject*)node) != 0) { in pysqlite_cache_get()
|
D | module.c | 193 if (PyDict_SetItem(converters, name, callable) != 0) { in module_register_converter()
|
/external/libnl/python/netlink/genl/ |
D | capi.i | 96 PyDict_SetItem(attrs, k, v); in py_genlmsg_parse()
|
/external/python/cpython2/PC/ |
D | winsound.c | 156 PyDict_SetItem(dict, k, v); in add_define()
|
/external/python/cpython2/Include/ |
D | dictobject.h | 112 PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
|
/external/python/cpython2/Modules/ |
D | threadmodule.c | 308 r = PyDict_SetItem(self->dummies, wr, ldict); in _local_create_dummy() 312 r = PyDict_SetItem(tdict, self->key, (PyObject *) dummy); in _local_create_dummy()
|
D | _hotshot.c | 359 if (PyDict_SetItem(self->info, key, list)) { in unpack_add_info() 792 if (PyDict_SetItem(self->filemap, fcode->co_filename, obj)) { in get_fileno() 821 if (PyDict_SetItem(dict, obj, fcode->co_name)) { in get_fileno()
|
D | errnomodule.c | 33 PyDict_SetItem(d, u, v); in _inscode() 35 PyDict_SetItem(de, v, u); in _inscode()
|
D | nismodule.c | 130 err = PyDict_SetItem(indata->dict, key, val); in nis_foreach()
|
D | pyexpat.c | 399 if (PyDict_SetItem(self->intern, result, result) == 0) in string_intern() 546 else if (PyDict_SetItem(container, n, v)) { in my_StartElementHandler() 1903 PyDict_SetItem(sys_modules, errmod_name, errors_module); in MODULE_INITFUNC() 1913 PyDict_SetItem(sys_modules, modelmod_name, model_module); in MODULE_INITFUNC()
|
/external/python/cpython2/Doc/c-api/ |
D | dict.rst | 79 .. c:function:: int PyDict_SetItem(PyObject *p, PyObject *key, PyObject *val) 187 if (PyDict_SetItem(self->dict, key, o) < 0) {
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 129 PyDict_SetItem
|
/external/python/cpython2/Mac/Modules/cf/ |
D | pycfbridge.c | 85 if (PyDict_SetItem(rv, key_py, value_py) < 0) goto err; in PyCF_CF2Python_mapping()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 240 PyDict_SetItem:int::: 241 PyDict_SetItem:PyObject*:p:0: 242 PyDict_SetItem:PyObject*:key:+1: 243 PyDict_SetItem:PyObject*:val:+1:
|