Home
last modified time | relevance | path

Searched refs:collections (Results 1 - 25 of 489) sorted by relevance

12345678910>>...20

/third_party/python/Lib/test/
H A Dtest_userdict.py5 import collections namespace
15 type2test = collections.UserDict
19 u = collections.UserDict()
20 u0 = collections.UserDict(d0)
21 u1 = collections.UserDict(d1)
22 u2 = collections.UserDict(d2)
24 uu = collections.UserDict(u)
25 uu0 = collections.UserDict(u0)
26 uu1 = collections.UserDict(u1)
27 uu2 = collections
[all...]
H A Dtest_dictviews.py1 import collections.abc namespace
313 self.assertIsInstance(d.keys(), collections.abc.KeysView)
314 self.assertIsInstance(d.keys(), collections.abc.MappingView)
315 self.assertIsInstance(d.keys(), collections.abc.Set)
316 self.assertIsInstance(d.keys(), collections.abc.Sized)
317 self.assertIsInstance(d.keys(), collections.abc.Iterable)
318 self.assertIsInstance(d.keys(), collections.abc.Container)
320 self.assertIsInstance(d.values(), collections.abc.ValuesView)
321 self.assertIsInstance(d.values(), collections.abc.MappingView)
322 self.assertIsInstance(d.values(), collections
[all...]
H A Dtest_pprint.py3 import collections namespace
405 d = collections.OrderedDict()
407 d = collections.OrderedDict([])
410 d = collections.OrderedDict(zip(words, itertools.count()))
437 d = collections.OrderedDict(zip(words, itertools.count()))
1078 d = collections.defaultdict(int)
1081 d = collections.defaultdict(int, zip(words, itertools.count()))
1096 d = collections.Counter()
1098 d = collections.Counter('senselessness')
1107 d = collections
[all...]
H A Dtest_xmlrpc_net.py1 import collections.abc namespace
26 self.assertIsInstance(builders, collections.abc.Sequence)
/third_party/PyYAML/tests/lib/
H A Dtest_all.py5 collections = []
7 collections.append(test_yaml)
10 collections.append(test_yaml_ext)
11 return test_appliance.run(collections, args)
H A Dtest_appliance.py6 def find_test_functions(collections):
7 if not isinstance(collections, list):
8 collections = [collections]
10 for collection in collections:
119 def run(collections, args=None):
120 test_functions = find_test_functions(collections)
/third_party/python/Lib/importlib/metadata/
H A D_collections.py1 import collections namespace
4 # from jaraco.collections 3.3
5 class FreezableDefaultDict(collections.defaultdict):
27 class Pair(collections.namedtuple('Pair', 'name value')):
/third_party/python/Lib/test/libregrtest/
H A Drefleak.py30 import collections.abc namespace
51 for abc in [getattr(collections.abc, a) for a in collections.abc.__all__]:
154 import collections.abc namespace
171 abs_classes = [getattr(collections.abc, a) for a in collections.abc.__all__]
/third_party/node/deps/v8/third_party/inspector_protocol/
H A Dpdl.py6 import collections namespace
22 item['items'] = collections.OrderedDict()
40 result = collections.OrderedDict(d)
54 protocol = collections.OrderedDict()
55 protocol['version'] = collections.OrderedDict()
/third_party/node/tools/inspector_protocol/
H A Dpdl.py6 import collections namespace
21 item['items'] = collections.OrderedDict()
36 result = collections.OrderedDict(d)
50 protocol = collections.OrderedDict()
51 protocol['version'] = collections.OrderedDict()
/third_party/python/Tools/scripts/
H A Dsummarize_stats.py5 import collections namespace
87 stats = collections.Counter()
107 defines = collections.defaultdict(list)
311 predecessors = collections.defaultdict(collections.Counter)
312 successors = collections.defaultdict(collections.Counter)
313 total_predecessors = collections.Counter()
314 total_successors = collections.Counter()
/third_party/python/Lib/
H A Dtyping.py19 * Deprecated aliases for builtin types and collections.abc ABCs.
23 import collections namespace
24 from collections import defaultdict
25 import collections.abc namespace
63 # ABCs (from collections.abc).
64 'AbstractSet', # collections.abc.Set.
207 """Internal helper for munging collections.abc.Callable's __args__.
212 collections.abc.Callable[[int, int], str].__args__ == (int, int, str)
213 collections.abc.Callable[ParamSpec, str].__args__ == (ParamSpec, str)
219 typ.__origin__ is collections
[all...]
/third_party/python/Lib/asyncio/
H A Dqueues.py3 import collections namespace
37 self._getters = collections.deque()
39 self._putters = collections.deque()
48 self._queue = collections.deque()
H A Dlocks.py6 import collections namespace
105 self._waiters = collections.deque()
168 self._waiters = collections.deque()
239 self._waiters = collections.deque()
378 self._waiters = collections.deque()
H A Dcoroutines.py3 import collections.abc namespace
30 collections.abc.Coroutine)
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dexecution.py5 import collections namespace
22 JobResult = collections.namedtuple('JobResult', ['id', 'result'])
23 ProcessContext = collections.namedtuple('ProcessContext', ['result_reduction'])
H A Drerun.py5 import collections namespace
17 self._results = collections.defaultdict(list)
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dapi_vtxfmt_init_h.py26 import collections namespace
47 settings_by_condition = collections.defaultdict(lambda: [])
H A Dapi_exec_init.py28 import collections namespace
99 settings_by_condition = collections.defaultdict(lambda: [])
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/
H A Dbootstrap.py5 import collections namespace
16 _ButlerBootstrapBase = collections.namedtuple(
/third_party/node/deps/v8/tools/ignition/
H A Dlinux_perf_report.py9 import collections namespace
151 chain_counters = collections.defaultdict(int)
162 handler_counters = collections.defaultdict(int)
/third_party/skia/third_party/externals/angle2/scripts/
H A Droll_chromium_deps.py17 import collections namespace
123 DepsEntry = collections.namedtuple('DepsEntry', 'path url revision')
124 ChangedDep = collections.namedtuple('ChangedDep', 'path url current_rev new_rev')
125 ClangChange = collections.namedtuple('ClangChange', 'mirror_change clang_change')
126 CipdDepsEntry = collections.namedtuple('CipdDepsEntry', 'path packages')
127 ChangedCipdPackage = collections.namedtuple('ChangedCipdPackage',
130 ChromiumRevisionUpdate = collections.namedtuple('ChromiumRevisionUpdate', ('current_chromium_rev '
/third_party/node/deps/v8/tools/
H A Dregexp-sequences.py17 import collections namespace
36 last[i] = collections.deque(maxlen=i+1)
/third_party/node/tools/gyp/tools/
H A Dgraphviz.py12 import collections namespace
49 files = collections.defaultdict(list)
/third_party/python/Lib/sqlite3/
H A Ddbapi2.py25 import collections.abc namespace
52 collections.abc.Sequence.register(Row)

Completed in 10 milliseconds

12345678910>>...20