Searched refs:new_dict (Results 1 - 6 of 6) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_dict_version.py | 40 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(ke [all...] |
/third_party/skia/tools/ |
H A D | jsondiff.py | 141 def _DictionaryDiff(self, old_dict, new_dict): 142 """Generate a dictionary showing diffs between old_dict and new_dict. 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/icu/icu4c/source/python/icutools/databuilder/ |
H A D | utils.py | 70 new_dict = {} 72 new_dict.update(dict) 73 return new_dict
|
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/ |
H A D | utils.py | 70 new_dict = {} 72 new_dict.update(dict) 73 return new_dict
|
/third_party/node/deps/v8/src/objects/ |
H A D | ordered-hash-table.cc | 1278 MaybeHandle<SmallOrderedNameDictionary> new_dict = in Add() local 1281 if (!new_dict.is_null()) return new_dict.ToHandleChecked(); in Add()
|
/third_party/python/Objects/ |
H A D | dictobject.c | 717 new_dict(PyDictKeysObject *keys, PyDictValues *values, Py_ssize_t used, int free_values_on_failure) in new_dict() function 724 // new_dict() must not be called after _PyDict_Fini() in new_dict() 777 return new_dict(keys, values, 0, 1); in new_dict_with_shared_keys() 841 return new_dict(Py_EMPTY_KEYS, NULL, 0, 0); in PyDict_New() 1591 return new_dict(new_keys, NULL, 0, 0); in dict_new_presized() 2383 // new_dict() must not be called after _PyDict_Fini() in dict_dealloc() 3081 PyDictObject *new = (PyDictObject *)new_dict(keys, NULL, 0, 0); in PyDict_Copy() 3083 /* In case of an error, `new_dict()` takes care of in PyDict_Copy() 5415 PyObject *res = new_dict(keys, values, used, 0); in make_dict_from_instance_attributes()
|
Completed in 11 milliseconds