Home
last modified time | relevance | path

Searched refs:new_dict (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/test/
Dtest_dict_version.py40 def new_dict(self, *args, **kw): member in DictVersionTests
47 empty1 = self.new_dict()
48 empty2 = self.new_dict()
49 empty3 = self.new_dict()
52 nonempty1 = self.new_dict(x='x')
53 nonempty2 = self.new_dict(x='x', y='y')
56 d = self.new_dict(a=1, b=2)
64 d = self.new_dict()
76 d = self.new_dict()
89 d2 = self.new_dict(key=value)
[all …]
/third_party/skia/tools/
Djsondiff.py141 def _DictionaryDiff(self, old_dict, new_dict): argument
145 all_keys = set(old_dict.keys() + new_dict.keys())
147 if old_dict.get(key) != new_dict.get(key):
150 new_entry['new'] = new_dict.get(key)
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/
Dutils.py70 new_dict = {}
72 new_dict.update(dict)
73 return new_dict
/third_party/icu/icu4c/source/python/icutools/databuilder/
Dutils.py70 new_dict = {}
72 new_dict.update(dict)
73 return new_dict
/third_party/node/deps/v8/src/objects/
Dordered-hash-table.cc1278 MaybeHandle<SmallOrderedNameDictionary> new_dict = in Add() local
1281 if (!new_dict.is_null()) return new_dict.ToHandleChecked(); in Add()
/third_party/python/Objects/
Ddictobject.c647 new_dict(PyDictKeysObject *keys, PyObject **values) in new_dict() function
696 return new_dict(keys, values); in new_dict_with_shared_keys()
745 return new_dict(Py_EMPTY_KEYS, empty_values); in PyDict_New()
1384 return new_dict(new_keys, NULL); in _PyDict_NewPresized()
2815 PyDictObject *new = (PyDictObject *)new_dict(keys, NULL); in PyDict_Copy()