Home
last modified time | relevance | path

Searched refs:defaultdict (Results 1 - 25 of 83) sorted by relevance

1234

/third_party/python/Lib/test/
H A Dtest_defaultdict.py1 """Unit tests for collections.defaultdict."""
9 from collections import defaultdict namespace
17 d1 = defaultdict()
28 d2 = defaultdict(list, foo=1, bar=2)
50 self.assertRaises(TypeError, defaultdict, 1)
53 d1 = defaultdict()
59 d1 = defaultdict()
61 self.assertEqual(repr(d1), "defaultdict(None, {})")
64 self.assertEqual(repr(d1), "defaultdict(None, {11: 41})")
65 d2 = defaultdict(in
[all...]
H A Dtest_genericalias.py7 defaultdict, deque, OrderedDict, Counter, UserDict, UserList
92 defaultdict, deque,
150 for t in tuple, list, dict, set, frozenset, defaultdict, deque:
158 elif t is defaultdict:
162 d = defaultdict(default)
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dseed.py6 from collections import defaultdict namespace
24 self._last_idx = defaultdict(int)
25 self._todo = defaultdict(int)
H A Dfilter.py5 from collections import defaultdict namespace
62 self._globs = defaultdict(list)
63 self._exact_matches = defaultdict(dict)
H A Dcombiner.py5 from collections import defaultdict namespace
32 self._groups = defaultdict(TestGroups)
110 self._groups = defaultdict(list)
/third_party/python/Tools/msi/
H A Dcsv_to_wxs.py23 from collections import defaultdict namespace
49 directories = defaultdict(set)
50 cache_directories = defaultdict(set)
51 groups = defaultdict(list)
/third_party/mesa3d/src/amd/registers/
H A Dcanonicalize.py36 from collections import defaultdict namespace
50 buckets = defaultdict(list)
H A Dmakeregheader.py31 from collections import defaultdict namespace
141 regtype_emit = defaultdict(set)
142 enum_emit = defaultdict(set)
275 field_lines_by_address = defaultdict(list)
285 value_lines_by_address = defaultdict(list)
H A Dregdb.py32 from collections import defaultdict namespace
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)
H A Dmergedbs.py31 from collections import defaultdict namespace
/third_party/protobuf/kokoro/linux/
H A Dmake_test_output.py23 from collections import defaultdict namespace
27 tests = defaultdict(dict)
/third_party/skia/tools/skpbench/
H A Dsheet.py11 from collections import defaultdict, namedtuple namespace
71 self.rows = defaultdict(dict)
72 self.cols = defaultdict(dict)
/third_party/littlefs/scripts/
H A 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))
/third_party/notofonts/scripts/
H A Dversionator.py9 from collections import defaultdict namespace
45 notoversions = defaultdict(dict)
/third_party/python/Lib/lib2to3/
H A Dbtm_matcher.py12 from collections import defaultdict namespace
100 results = defaultdict(list)
/third_party/skia/third_party/externals/harfbuzz/src/
H A 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/mesa3d/src/amd/common/
H A Dsid_tables.py27 from collections import defaultdict namespace
183 self.name_to_idx = defaultdict(lambda: [])
288 regmaps_by_chip = defaultdict(list)
/third_party/node/deps/v8/tools/ignition/
H A Dlinux_perf_report.py151 chain_counters = collections.defaultdict(int)
162 handler_counters = collections.defaultdict(int)
/third_party/mesa3d/src/mesa/main/
H A Dget_hash_generator.py32 from collections import defaultdict namespace
141 tables = defaultdict(lambda:{})
/third_party/python/Lib/importlib/metadata/
H A D_collections.py5 class FreezableDefaultDict(collections.defaultdict):
/third_party/mesa3d/src/compiler/nir/
H A Dnir_algebraic.py27 from collections import defaultdict namespace
958 self.table = defaultdict(dict)
967 self.filter = defaultdict(list)
971 self.rep = defaultdict(self.IndexMap)
980 worklist_indices = defaultdict(lambda: 0)
1192 self.opcode_xforms = defaultdict(lambda : [])
/third_party/python/Doc/tools/
H A Drstlint.py18 from collections import defaultdict namespace
346 count = defaultdict(int)
/third_party/vk-gl-cts/external/vulkancts/scripts/
H A Dgen_ext_deps.py30 from collections import defaultdict namespace
123 allExtDepsDict = defaultdict(list)
H A Dohos_gen_ext_deps.py31 from collections import defaultdict namespace
124 allExtDepsDict = defaultdict(list)
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dapi_vtxfmt_init_h.py47 settings_by_condition = collections.defaultdict(lambda: [])

Completed in 12 milliseconds

1234