Home
last modified time | relevance | path

Searched refs:defaultdict (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/python/Lib/test/
Dtest_defaultdict.py9 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 …]
Dtest_genericalias.py7 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/
Dcsv_to_wxs.py23 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/
Dseed.py6 from collections import defaultdict
24 self._last_idx = defaultdict(int)
25 self._todo = defaultdict(int)
Dfilter.py5 from collections import defaultdict
62 self._globs = defaultdict(list)
63 self._exact_matches = defaultdict(dict)
Dcombiner.py5 from collections import defaultdict
32 self._groups = defaultdict(TestGroups)
110 self._groups = defaultdict(list)
/third_party/mesa3d/src/amd/registers/
Dcanonicalize.py36 from collections import defaultdict
50 buckets = defaultdict(list)
Dmakeregheader.py31 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)
Dregdb.py32 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)
Dmergedbs.py31 from collections import defaultdict
/third_party/littlefs/scripts/
Dcoverage.py18 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))
Dcode.py21 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))
Ddata.py21 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))
Dstructs.py30 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))
Dstack.py49 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()))
Dsummary.py71 results = co.defaultdict(lambda: {})
117 prev_results = co.defaultdict(lambda: {})
149 entries = co.defaultdict(lambda: {})
/third_party/protobuf/kokoro/linux/
Dmake_test_output.py23 from collections import defaultdict
27 tests = defaultdict(dict)
/third_party/skia/tools/skpbench/
Dsheet.py11 from collections import defaultdict, namedtuple
71 self.rows = defaultdict(dict)
72 self.cols = defaultdict(dict)
/third_party/skia/third_party/externals/harfbuzz/src/
Dgen-tag-table.py338 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/
Dbtm_matcher.py12 from collections import defaultdict
100 results = defaultdict(list)
/third_party/node/deps/v8/tools/ignition/
Dlinux_perf_report.py151 chain_counters = collections.defaultdict(int)
162 handler_counters = collections.defaultdict(int)
/third_party/mesa3d/src/amd/common/
Dsid_tables.py27 from collections import defaultdict
183 self.name_to_idx = defaultdict(lambda: [])
288 regmaps_by_chip = defaultdict(list)
/third_party/mesa3d/src/mesa/main/
Dget_hash_generator.py32 from collections import defaultdict
141 tables = defaultdict(lambda:{})
/third_party/python/Lib/importlib/metadata/
D_collections.py5 class FreezableDefaultDict(collections.defaultdict):
/third_party/python/Doc/tools/
Drstlint.py18 from collections import defaultdict
248 count = defaultdict(int)

1234