Searched refs:new_dict (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Lib/test/ |
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(key=value) [all …]
|
/external/skqp/tools/ |
D | jsondiff.py | 140 def _DictionaryDiff(self, old_dict, new_dict): argument 144 all_keys = set(old_dict.keys() + new_dict.keys()) 146 if old_dict.get(key) != new_dict.get(key): 149 new_entry['new'] = new_dict.get(key)
|
/external/skia/tools/ |
D | jsondiff.py | 140 def _DictionaryDiff(self, old_dict, new_dict): argument 144 all_keys = set(old_dict.keys() + new_dict.keys()) 146 if old_dict.get(key) != new_dict.get(key): 149 new_entry['new'] = new_dict.get(key)
|
/external/toolchain-utils/crosperf/ |
D | results_organizer.py | 52 new_dict = {} 55 new_dict['retval'] = retval 57 new_dict[''] = pass_fail 58 return new_dict
|
/external/autotest/frontend/afe/json_rpc/ |
D | serviceHandler.py | 52 new_dict = {} 56 new_dict[new_key] = new_val 57 return new_dict
|
/external/libchrome/base/trace_event/ |
D | trace_event_argument.cc | 364 auto* new_dict = new DictionaryValue(); in ToBaseValue() local 367 WrapUnique(new_dict)); in ToBaseValue() 369 cur_dict = new_dict; in ToBaseValue() 371 cur_list->Append(WrapUnique(new_dict)); in ToBaseValue() 374 cur_dict = new_dict; in ToBaseValue()
|
/external/autotest/client/common_lib/ |
D | test.py | 99 new_dict = {} 102 new_dict[new_key] = value 103 return new_dict
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 575 new_dict(PyDictKeysObject *keys, PyObject **values) in new_dict() function 617 return new_dict(keys, values); in new_dict_with_shared_keys() 626 return new_dict(keys, NULL); in PyDict_New() 1386 return new_dict(new_keys, NULL); in _PyDict_NewPresized()
|
/external/v8/src/ |
D | objects.cc | 16748 Handle<SeededNumberDictionary> new_dict = in PrepareSlowElementsForSort() local 16786 new_dict, pos, value, details, object); in PrepareSlowElementsForSort() 16787 DCHECK(result.is_identical_to(new_dict)); in PrepareSlowElementsForSort() 16797 new_dict, key, value, details, object); in PrepareSlowElementsForSort() 16798 DCHECK(result.is_identical_to(new_dict)); in PrepareSlowElementsForSort() 16813 new_dict, pos, isolate->factory()->undefined_value(), no_details, in PrepareSlowElementsForSort() 16815 DCHECK(result.is_identical_to(new_dict)); in PrepareSlowElementsForSort() 16821 object->set_elements(*new_dict); in PrepareSlowElementsForSort()
|