Searched refs:defaultdict (Results 1 – 25 of 90) sorted by relevance
1234
/third_party/python/Lib/test/ |
D | test_defaultdict.py | 9 from collections import defaultdict 17 d1 = defaultdict() 28 d2 = defaultdict(list, foo=1, bar=2) 50 self.assertRaises(TypeError, defaultdict, 1) 53 d1 = defaultdict() 59 d1 = defaultdict() 65 d2 = defaultdict(int) 70 d3 = defaultdict(foo) 76 d1 = defaultdict() 78 self.assertEqual(type(d2), defaultdict) [all …]
|
D | test_genericalias.py | 7 defaultdict, deque, OrderedDict, Counter, UserDict, UserList 52 defaultdict, deque, 107 for t in tuple, list, dict, set, frozenset, defaultdict, deque: 115 elif t is defaultdict: 119 d = defaultdict(default)
|
/third_party/python/Tools/msi/ |
D | csv_to_wxs.py | 23 from collections import defaultdict 49 directories = defaultdict(set) 50 cache_directories = defaultdict(set) 51 groups = defaultdict(list)
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
D | seed.py | 6 from collections import defaultdict 24 self._last_idx = defaultdict(int) 25 self._todo = defaultdict(int)
|
D | filter.py | 5 from collections import defaultdict 62 self._globs = defaultdict(list) 63 self._exact_matches = defaultdict(dict)
|
D | combiner.py | 5 from collections import defaultdict 32 self._groups = defaultdict(TestGroups) 110 self._groups = defaultdict(list)
|
/third_party/mesa3d/src/amd/registers/ |
D | canonicalize.py | 36 from collections import defaultdict 50 buckets = defaultdict(list)
|
D | makeregheader.py | 31 from collections import defaultdict 141 regtype_emit = defaultdict(set) 142 enum_emit = defaultdict(set) 275 field_lines_by_address = defaultdict(list) 285 value_lines_by_address = defaultdict(list)
|
D | regdb.py | 32 from collections import defaultdict 228 self.__regmap_by_addr = defaultdict(list) 334 values = defaultdict(list) 393 fields = defaultdict(list) 582 fields_merge = defaultdict(set) 840 buckets = defaultdict(list) 858 buckets = defaultdict(list)
|
D | mergedbs.py | 31 from collections import defaultdict
|
/third_party/littlefs/scripts/ |
D | coverage.py | 18 lines = co.defaultdict(lambda: 0) 46 reduced_funcs = co.defaultdict(lambda: (0, 0)) 134 merged_results = co.defaultdict(lambda: {}) 164 entries = co.defaultdict(lambda: (0, 0)) 172 diff = co.defaultdict(lambda: (0, 0, 0, 0, 0, 0, 0))
|
D | code.py | 21 results = co.defaultdict(lambda: 0) 126 merged_results = co.defaultdict(lambda: {}) 154 entries = co.defaultdict(lambda: 0) 161 diff = co.defaultdict(lambda: (0, 0, 0, 0))
|
D | data.py | 21 results = co.defaultdict(lambda: 0) 125 merged_results = co.defaultdict(lambda: {}) 153 entries = co.defaultdict(lambda: 0) 160 diff = co.defaultdict(lambda: (0, 0, 0, 0))
|
D | structs.py | 30 results = co.defaultdict(lambda: 0) 177 merged_results = co.defaultdict(lambda: {}) 205 entries = co.defaultdict(lambda: 0) 212 diff = co.defaultdict(lambda: (0, 0, 0, 0))
|
D | stack.py | 49 results = co.defaultdict(lambda: (None, None, 0, set())) 188 merged_results = co.defaultdict(lambda: {}) 218 entries = co.defaultdict(lambda: (0, 0, set())) 230 diff = co.defaultdict(lambda: (None, None, None, None, 0, 0, 0, set()))
|
D | summary.py | 71 results = co.defaultdict(lambda: {}) 117 prev_results = co.defaultdict(lambda: {}) 149 entries = co.defaultdict(lambda: {})
|
/third_party/protobuf/kokoro/linux/ |
D | make_test_output.py | 23 from collections import defaultdict 27 tests = defaultdict(dict)
|
/third_party/skia/tools/skpbench/ |
D | sheet.py | 11 from collections import defaultdict, namedtuple 71 self.rows = defaultdict(dict) 72 self.cols = defaultdict(dict)
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | gen-tag-table.py | 338 self.ranks = collections.defaultdict (int) 339 self.to_bcp_47 = collections.defaultdict (set) 340 self.from_bcp_47 = collections.defaultdict (set) 524 self.macrolanguages = collections.defaultdict (set) 525 self.prefixes = collections.defaultdict (set) 613 inverted = collections.defaultdict (list) 970 complex_tags = collections.defaultdict (list)
|
/third_party/python/Lib/lib2to3/ |
D | btm_matcher.py | 12 from collections import defaultdict 100 results = defaultdict(list)
|
/third_party/node/deps/v8/tools/ignition/ |
D | linux_perf_report.py | 151 chain_counters = collections.defaultdict(int) 162 handler_counters = collections.defaultdict(int)
|
/third_party/mesa3d/src/amd/common/ |
D | sid_tables.py | 27 from collections import defaultdict 183 self.name_to_idx = defaultdict(lambda: []) 288 regmaps_by_chip = defaultdict(list)
|
/third_party/mesa3d/src/mesa/main/ |
D | get_hash_generator.py | 32 from collections import defaultdict 141 tables = defaultdict(lambda:{})
|
/third_party/python/Lib/importlib/metadata/ |
D | _collections.py | 5 class FreezableDefaultDict(collections.defaultdict):
|
/third_party/python/Doc/tools/ |
D | rstlint.py | 18 from collections import defaultdict 248 count = defaultdict(int)
|
1234