/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/Python/ |
D | symtable.c | 75 if (PyDict_SetItem(st->st_symbols, ste->ste_id, (PyObject *)ste) < 0) in ste_new() 360 if (PyDict_SetItem((DICT), (NAME), o) < 0) { \ 390 if (PyDict_SetItem(global, name, Py_None) < 0) in analyze_name() 400 if (PyDict_SetItem(local, name, Py_None) < 0) in analyze_name() 416 if (PyDict_SetItem(free, name, Py_None) < 0) in analyze_name() 471 if (PyDict_SetItem(scope, name, w) < 0) in analyze_cells() 548 if (PyDict_SetItem(symbols, name, u) < 0) { in update_symbols() 577 if (PyDict_SetItem(symbols, name, o) < 0) { in update_symbols() 590 if (PyDict_SetItem(symbols, name, free_value) < 0) { in update_symbols() 911 if (PyDict_SetItem(dict, mangled, o) < 0) { in symtable_add_def() [all …]
|
D | import.c | 521 if (PyDict_SetItem(modules, key, Py_None) < 0) { in PyImport_Cleanup() 544 if (PyDict_SetItem(modules, key, Py_None) < 0) { in PyImport_Cleanup() 674 if (PyDict_SetItem(modules, name, m) != 0) { in _PyImport_AddModuleObject() 1272 if (PyDict_SetItem(path_importer_cache, p, Py_None) != 0) in get_path_importer() 1300 int err = PyDict_SetItem(path_importer_cache, p, importer); in get_path_importer() 2427 error = PyDict_SetItem(globals, pkgstr, modname); in get_parent() 2445 error = PyDict_SetItem(globals, pkgstr, Py_None); in get_parent() 2465 error = PyDict_SetItem(globals, pkgstr, pkgname); in get_parent()
|
/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()
|
/external/tensorflow/tensorflow/python/util/ |
D | py_checkpoint_reader.i | 60 if (PyDict_SetItem(output_map.get(), key.get(), value.get()) == -1) { 92 if (PyDict_SetItem(output_map.get(), key.get(), value.get()) == -1) {
|
/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()
|
/external/python/cpython3/Modules/_sqlite/ |
D | microprotocols.c | 67 rc = PyDict_SetItem(psyco_adapters, key, cast); in pysqlite_microprotocols_add()
|
D | connection.c | 830 if (PyDict_SetItem(self->function_pinboard, func, Py_None) == -1) { in pysqlite_connection_create_function() 861 if (PyDict_SetItem(self->function_pinboard, aggregate_class, Py_None) == -1) { in pysqlite_connection_create_aggregate() 983 if (PyDict_SetItem(self->function_pinboard, authorizer_cb, Py_None) == -1) { in pysqlite_connection_set_authorizer() 1014 if (PyDict_SetItem(self->function_pinboard, progress_handler, Py_None) == -1) in pysqlite_connection_set_progress_handler() 1041 if (PyDict_SetItem(self->function_pinboard, trace_callback, Py_None) == -1) in pysqlite_connection_set_trace_callback() 1649 if (PyDict_SetItem(self->collations, uppercase_name, callable) == -1) in pysqlite_connection_create_collation()
|
D | cache.c | 197 if (PyDict_SetItem(self->mapping, key, (PyObject*)node) != 0) { in pysqlite_cache_get()
|
/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/cpython3/Python/ |
D | symtable.c | 93 if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0) in ste_new() 455 if (PyDict_SetItem((DICT), (NAME), o) < 0) { \ 568 if (PyDict_SetItem(scopes, name, v_cell) < 0) in analyze_cells() 617 if (PyDict_SetItem(symbols, name, v_new) < 0) { in update_symbols() 651 if (PyDict_SetItem(symbols, name, v_new) < 0) { in update_symbols() 667 if (PyDict_SetItem(symbols, name, v_free) < 0) { in update_symbols() 1006 if (PyDict_SetItem(dict, mangled, o) < 0) { in symtable_add_def() 1025 if (PyDict_SetItem(st->st_global, mangled, o) < 0) { in symtable_add_def()
|
/external/python/cpython3/PC/ |
D | winsound.c | 203 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/cpython3/Modules/ |
D | _json.c | 756 if (PyDict_SetItem(s->memo, key, key) < 0) in _parse_object_unicode() 788 if (PyDict_SetItem(rval, key, val) < 0) in _parse_object_unicode() 1518 if (PyDict_SetItem(s->markers, ident, obj)) { in encoder_listencode_obj() 1589 if (PyDict_SetItem(s->markers, ident, dct)) { in encoder_listencode_dict() 1749 if (PyDict_SetItem(s->markers, ident, seq)) { in encoder_listencode_list()
|
/external/tensorflow/tensorflow/python/grappler/ |
D | cluster.i | 302 CHECK_EQ(0, PyDict_SetItem(result, PyString_FromString(node.c_str()), dev)); in TF_GetSupportedDevices() 427 PyDict_SetItem(result, PyString_FromString(device.first.c_str()), ret); in TF_DeterminePeakMemoryUsage()
|
/external/python/cpython3/Include/ |
D | dictobject.h | 82 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()
|
/external/python/cpython3/Doc/c-api/ |
D | dict.rst | 63 .. c:function:: int PyDict_SetItem(PyObject *p, PyObject *key, PyObject *val) 194 if (PyDict_SetItem(self->dict, key, o) < 0) {
|
/external/python/cpython3/Objects/ |
D | moduleobject.c | 606 if (PyDict_SetItem(d, key, Py_None) != 0) in _PyModule_ClearDict() 626 if (PyDict_SetItem(d, key, Py_None) != 0) in _PyModule_ClearDict()
|
D | dictobject.c | 1443 PyDict_SetItem(PyObject *op, PyObject *key, PyObject *value) in PyDict_SetItem() function 1865 status = PyDict_SetItem(d, key, value); in _PyDict_FromKeys() 2056 return PyDict_SetItem((PyObject *)mp, v, w); in dict_ass_sub() 2340 int status = PyDict_SetItem(d, key, value); in PyDict_MergeFromSeq2() 2486 status = PyDict_SetItem(a, key, value); in dict_merge() 3279 return PyDict_SetItem(v, kv, item); in _PyDict_SetItemId() 3291 err = PyDict_SetItem(v, kv, item); in PyDict_SetItemString() 4333 res = PyDict_SetItem(dict, key, value); in _PyObjectDict_SetItem() 4373 res = PyDict_SetItem(dict, key, value); in _PyObjectDict_SetItem()
|
/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) {
|