Home
last modified time | relevance | path

Searched refs:frozenset (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py350 self.flags = frozenset()
352 self.flags = frozenset([flags])
354 self.flags = frozenset(flags)
528 …6(unpack_snorm_1x16, op[0]->value.u[0], &data.f[0], &data.f[1])", flags=frozenset((horizontal_oper…
529 …0]->value.u[0], &data.f[0], &data.f[1], &data.f[2], &data.f[3])", flags=frozenset((horizontal_oper…
530 …6(unpack_unorm_1x16, op[0]->value.u[0], &data.f[0], &data.f[1])", flags=frozenset((horizontal_oper…
531 …0]->value.u[0], &data.f[0], &data.f[1], &data.f[2], &data.f[3])", flags=frozenset((horizontal_oper…
532 …16(unpack_half_1x16, op[0]->value.u[0], &data.f[0], &data.f[1])", flags=frozenset((horizontal_oper…
543 …ression="memcpy(&data.d[0], &op[0]->value.u[0], sizeof(double))", flags=frozenset((horizontal_oper…
544 …ression="memcpy(&data.u[0], &op[0]->value.d[0], sizeof(double))", flags=frozenset((horizontal_oper…
[all …]
/external/python/cpython2/Doc/c-api/
Dset.rst13 object: frozenset
17 This section details the public API for :class:`set` and :class:`frozenset`
32 :class:`set` and :class:`frozenset` objects. It is like a :c:type:`PyDictObject`
49 :class:`frozenset` type.
63 Return true if *p* is a :class:`frozenset` object or an instance of a
70 Return true if *p* is a :class:`set` object, a :class:`frozenset` object, or an
76 Return true if *p* is a :class:`set` object or a :class:`frozenset` object but
82 Return true if *p* is a :class:`frozenset` object but not an instance of a
97 Return a new :class:`frozenset` containing objects returned by the *iterable*.
98 The *iterable* may be *NULL* to create a new empty frozenset. Return the new
[all …]
/external/python/cpython3/Doc/c-api/
Dset.rst13 object: frozenset
15 This section details the public API for :class:`set` and :class:`frozenset`
30 :class:`set` and :class:`frozenset` objects. It is like a :c:type:`PyDictObject`
47 :class:`frozenset` type.
59 Return true if *p* is a :class:`frozenset` object or an instance of a
64 Return true if *p* is a :class:`set` object, a :class:`frozenset` object, or an
70 Return true if *p* is a :class:`set` object or a :class:`frozenset` object but
76 Return true if *p* is a :class:`frozenset` object but not an instance of a
91 Return a new :class:`frozenset` containing objects returned by the *iterable*.
92 The *iterable* may be *NULL* to create a new empty frozenset. Return the new
[all …]
/external/yapf/yapf/yapflib/
Dpytree_unwrapper.py58 _WHITESPACE_TOKENS = frozenset([
114 _STMT_TYPES = frozenset({
169 _IF_STMT_ELEMS = frozenset({'if', 'else', 'elif'})
174 _WHILE_STMT_ELEMS = frozenset({'while', 'else'})
179 _FOR_STMT_ELEMS = frozenset({'for', 'else'})
184 _TRY_STMT_ELEMS = frozenset({'try', 'except', 'else', 'finally'})
189 _EXCEPT_STMT_ELEMS = frozenset({'except'})
194 _FUNC_DEF_ELEMS = frozenset({'def'})
210 _CLASS_DEF_ELEMS = frozenset({'class'})
243 _WITH_STMT_ELEMS = frozenset({'with'})
Dpytree_utils.py39 NONSEMANTIC_TOKENS = frozenset(['DEDENT', 'INDENT', 'NEWLINE', 'ENDMARKER'])
41 OPENING_BRACKETS = frozenset({'(', '[', '{'})
42 CLOSING_BRACKETS = frozenset({')', ']', '}'})
/external/python/cpython2/Lib/test/
Dtest_set.py67 s = self.thetype([frozenset(self.letters)])
78 for C in set, frozenset, dict.fromkeys, str, unicode, list, tuple:
92 self.assertEqual(self.s | frozenset(self.otherword), i)
107 for C in set, frozenset, dict.fromkeys, str, unicode, list, tuple:
115 if self.thetype == frozenset():
127 for C in set, frozenset, dict.fromkeys, str, unicode, list, tuple:
137 self.assertEqual(self.s & frozenset(self.otherword), i)
153 for C in set, frozenset, dict.fromkeys, str, unicode, list, tuple:
164 self.assertEqual(self.s - frozenset(self.otherword), i)
180 for C in set, frozenset, dict.fromkeys, str, unicode, list, tuple:
[all …]
Dtest_pprint.py34 class frozenset2(frozenset):
37 class frozenset3(frozenset):
39 return frozenset.__repr__(self)
133 frozenset(), frozenset2(), frozenset3(),
142 frozenset({8}), frozenset2({8}), frozenset3({8}),
248 self.assertEqual(pprint.pformat(frozenset()), 'frozenset([])')
249 self.assertEqual(pprint.pformat(frozenset(range(3))),
251 self.assertEqual(pprint.pformat(frozenset(range(7)), width=20), '''\
Dtest_repr.py77 eq(r(frozenset([])), "frozenset([])")
78 eq(r(frozenset([1])), "frozenset([1])")
79 eq(r(frozenset([1, 2, 3])), "frozenset([1, 2, 3])")
80 eq(r(frozenset([1, 2, 3, 4, 5, 6])), "frozenset([1, 2, 3, 4, 5, 6])")
81 eq(r(frozenset([1, 2, 3, 4, 5, 6, 7])), "frozenset([1, 2, 3, 4, 5, 6, ...])")
211 y = frozenset(x)
/external/python/cpython3/Lib/test/
Dtest_set.py68 s = self.thetype([frozenset(self.letters)])
79 for C in set, frozenset, dict.fromkeys, str, list, tuple:
93 self.assertEqual(self.s | frozenset(self.otherword), i)
108 for C in set, frozenset, dict.fromkeys, str, list, tuple:
116 if self.thetype == frozenset():
128 for C in set, frozenset, dict.fromkeys, str, list, tuple:
138 self.assertEqual(self.s & frozenset(self.otherword), i)
154 for C in set, frozenset, dict.fromkeys, str, list, tuple:
165 self.assertEqual(self.s - frozenset(self.otherword), i)
181 for C in set, frozenset, dict.fromkeys, str, list, tuple:
[all …]
Dtest_reprlib.py80 eq(r(frozenset([])), "frozenset()")
81 eq(r(frozenset([1])), "frozenset({1})")
82 eq(r(frozenset([1, 2, 3])), "frozenset({1, 2, 3})")
83 eq(r(frozenset([1, 2, 3, 4, 5, 6])), "frozenset({1, 2, 3, 4, 5, 6})")
84 eq(r(frozenset([1, 2, 3, 4, 5, 6, 7])), "frozenset({1, 2, 3, 4, 5, 6, ...})")
115 eq(r(frozenset({1})), "frozenset({1})")
116 eq(r(frozenset({1, 2, 3})), "frozenset({1, 2, 3})")
117 eq(r(frozenset({1, 2, 3, 4, 5, 6})), "frozenset({1, 2, 3, 4, 5, 6})")
118 eq(r(frozenset({1, 2, 3, 4, 5, 6, 7})), "frozenset({1, 2, 3, 4, 5, 6, ...})")
213 y = frozenset(x)
Dtest_peepholer.py125 ('a in {1,2,3}', frozenset({1, 2, 3})),
126 ('a not in {"a","b","c"}', frozenset({'a', 'c', 'b'})),
127 ('a in {None, 1, None}', frozenset({1, None})),
128 ('a not in {(1, 2), 3, 4}', frozenset({(1, 2), 3, 4})),
129 ('a in {1, 2, 3, 3, 2, 1}', frozenset({1, 2, 3})),
Dtest_pprint.py35 class frozenset2(frozenset):
38 class frozenset3(frozenset):
40 return frozenset.__repr__(self)
169 frozenset(), frozenset2(), frozenset3(),
178 frozenset({8}), frozenset2({8}), frozenset3({8}),
372 self.assertEqual(pprint.pformat(frozenset()), 'frozenset()')
373 self.assertEqual(pprint.pformat(frozenset(range(3))),
375 self.assertEqual(pprint.pformat(frozenset(range(7)), width=20), '''\
631 self.assertEqual(clean(pprint.pformat(frozenset(keys))),
/external/antlr/runtime/Python/antlr3/
Dcompat.py35 frozenset = frozenset variable
37 from sets import Set as set, ImmutableSet as frozenset unknown
/external/tensorflow/tensorflow/contrib/graph_editor/
Dselect.py303 output_ts_set = frozenset(output_ts)
304 ops_set = frozenset(ops)
316 consumers = frozenset(t.consumers())
321 inside_ts_set = frozenset(inside_ts)
322 only_inside_ts_set = frozenset(only_inside_ts)
422 seed_ops = frozenset(seed_ops)
423 stop_at_ts = frozenset(util.make_list_of_t(stop_at_ts))
426 within_ops = frozenset(within_ops)
492 stop_at_ts = frozenset(util.make_list_of_t(stop_at_ts))
493 seed_ops = frozenset(util.make_list_of_op(seed_ops))
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dliveness.py58 gen = node_scope.read | self.extra_gen.get(node.ast_node, frozenset())
141 parent_analyzer.extra_gen[node] = frozenset(child_in_state,)
171 frozenset(self.current_analyzer.in_[cfg_node]))
187 anno.setanno(node, anno.Static.LIVE_VARS_OUT, frozenset(stmt_live_out))
192 stmt_live_in = frozenset(self.current_analyzer.in_[cfg_node])
219 frozenset(self.current_analyzer.out[cfg_node]))
/external/tensorflow/tensorflow/python/autograph/pyct/
Dcfg_test.py99 return frozenset(repr(n) for n in node_set)
103 return frozenset()
105 return frozenset((elements,))
107 return frozenset(elements)
115 if (self._as_set(prev) == frozenset(map(repr, cfg_node.prev)) and
116 self._as_set(next_) == frozenset(map(repr, cfg_node.next))):
129 frozenset(graph.stmt_next.keys()), frozenset(graph.stmt_prev.keys()))
134 actual_next = frozenset(map(repr, graph.stmt_next[stmt_ast_node]))
135 actual_prev = frozenset(map(repr, graph.stmt_prev[stmt_ast_node]))
Danno.py100 return frozenset()
101 return frozenset(getattr(node, field_name).keys())
/external/libchrome/third_party/jinja2/
Dsandbox.py89 (_mutable_set_types, frozenset([
93 (_mutable_mapping_types, frozenset([
96 (_mutable_sequence_types, frozenset([
99 (deque, frozenset([
282 intercepted_binops = frozenset()
297 intercepted_unops = frozenset()
/external/tensorflow/tensorflow/tools/test/
Dcheck_futures_test.py41 REQUIRED_FUTURES = frozenset(['absolute_import', 'division', 'print_function'])
96 whitelist = frozenset(os.path.join(BASE_DIR, w) for w in WHITELIST)
97 old_division = frozenset(os.path.join(BASE_DIR, w) for w in OLD_DIVISION)
/external/autotest/site_utils/stats/
Dapache_access_log_metrics.py85 WHITELISTED_ENDPOINTS = frozenset((
99 WHITELISTED_METHODS = (frozenset(dir(rpc_interface)) |
100 frozenset(dir(moblab_rpc_interface)))
/external/autotest/scheduler/
Drdb_requests.py201 kwargs['deps'] = frozenset(kwargs['deps'])
202 kwargs['preferred_deps'] = frozenset(kwargs['preferred_deps'])
203 kwargs['acls'] = frozenset(kwargs['acls'])
/external/fonttools/Tests/misc/
DclassifyTools_test.py28 assert set([frozenset(c) for c in classes]) == set(
29 [frozenset(s) for s in ({1, 9}, {4}, {2}, {5}, {15})])
/external/mesa3d/src/egl/generate/
DgenCommon.py39 "opengl" : frozenset(( "GL_VERSION_1_0", "GL_VERSION_1_1",
45 "glesv1" : frozenset(("GL_VERSION_ES_CM_1_0", "GL_OES_point_size_array")),
46 "glesv2" : frozenset(("GL_ES_VERSION_2_0", "GL_ES_VERSION_3_0",
/external/python/apitools/apitools/base/protorpclite/
Dmessages.py145 _RESERVED_ATTRIBUTE_NAMES = frozenset(
148 _POST_INIT_FIELD_ATTRIBUTE_NAMES = frozenset(
155 _POST_INIT_ATTRIBUTE_NAMES = frozenset(
1469 VARIANTS = frozenset([
1486 VARIANTS = frozenset([
1499 VARIANTS = frozenset([Variant.BOOL])
1509 VARIANTS = frozenset([Variant.BYTES])
1519 VARIANTS = frozenset([Variant.STRING])
1598 VARIANTS = frozenset([Variant.MESSAGE])
1756 VARIANTS = frozenset([Variant.ENUM])
/external/autotest/server/site_tests/network_WiFi_VisibleScan/
Dnetwork_WiFi_VisibleScan.py59 expected_ssids = frozenset([self.BROADCAST_SSID])
61 frozenset([self.context.router.get_ssid()]))

12345678910