Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 5108) sorted by relevance

12345678910>>...205

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DSparseMultiSetTest.cpp21 USet Set; in TEST() local
22 EXPECT_TRUE(Set.empty()); in TEST()
23 EXPECT_EQ(0u, Set.size()); in TEST()
25 Set.setUniverse(10); in TEST()
28 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
29 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
32 const USet &CSet = Set; in TEST()
42 USet Set; in TEST() local
43 Set.setUniverse(10); in TEST()
44 USet::iterator I = Set.insert(5); in TEST()
[all …]
DSparseSetTest.cpp21 USet Set; in TEST() local
22 EXPECT_TRUE(Set.empty()); in TEST()
23 EXPECT_TRUE(Set.begin() == Set.end()); in TEST()
24 EXPECT_EQ(0u, Set.size()); in TEST()
26 Set.setUniverse(10); in TEST()
29 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
30 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
33 const USet &CSet = Set; in TEST()
44 USet Set; in TEST() local
45 Set.setUniverse(10); in TEST()
[all …]
/external/llvm/unittests/ADT/
DSparseMultiSetTest.cpp21 USet Set; in TEST() local
22 EXPECT_TRUE(Set.empty()); in TEST()
23 EXPECT_EQ(0u, Set.size()); in TEST()
25 Set.setUniverse(10); in TEST()
28 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
29 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
32 const USet &CSet = Set; in TEST()
42 USet Set; in TEST() local
43 Set.setUniverse(10); in TEST()
44 USet::iterator I = Set.insert(5); in TEST()
[all …]
DSparseSetTest.cpp21 USet Set; in TEST() local
22 EXPECT_TRUE(Set.empty()); in TEST()
23 EXPECT_TRUE(Set.begin() == Set.end()); in TEST()
24 EXPECT_EQ(0u, Set.size()); in TEST()
26 Set.setUniverse(10); in TEST()
29 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
30 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
33 const USet &CSet = Set; in TEST()
44 USet Set; in TEST() local
45 Set.setUniverse(10); in TEST()
[all …]
/external/python/cpython2/Lib/test/
Dtest_sets.py5 from sets import Set, ImmutableSet
7 empty_set = Set()
90 self.set = Set(self.values)
91 self.dup = Set(self.values)
101 self.set = Set(self.values)
102 self.dup = Set(self.values)
118 self.set = Set(self.values)
119 self.dup = Set(self.values)
135 self.set = Set(self.values)
136 self.dup = Set(self.values)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DSetTheory.td8 class Set<dag d> {
12 // It prints all Set instances and their ordered set interpretation.
22 def S0a : Set<(add)>;
23 def S0b : Set<(add a)>;
24 def S0c : Set<(add a, b)>;
25 def S0d : Set<(add b, a)>;
26 def S0e : Set<(add a, a)>;
27 def S0f : Set<(add a, a, b, a, c, b, d, a)>;
28 def S0g : Set<(add b, a, b)>;
37 // Defs of Set class expand into their elements.
[all …]
/external/llvm/test/TableGen/
DSetTheory.td8 class Set<dag d> {
12 // It prints all Set instances and their ordered set interpretation.
22 def S0a : Set<(add)>;
23 def S0b : Set<(add a)>;
24 def S0c : Set<(add a, b)>;
25 def S0d : Set<(add b, a)>;
26 def S0e : Set<(add a, a)>;
27 def S0f : Set<(add a, a, b, a, c, b, d, a)>;
28 def S0g : Set<(add b, a, b)>;
37 // Defs of Set class expand into their elements.
[all …]
/external/libxml2/result/XPath/tests/
Dsimplebase4 Object is a Node Set :
5 Set contains 1 nodes:
16 Object is a Node Set :
17 Set contains 1 nodes:
28 Object is a Node Set :
29 Set contains 1 nodes:
34 Object is a Node Set :
35 Set contains 2 nodes:
41 Object is a Node Set :
42 Set contains 1 nodes:
[all …]
Dchaptersbase4 Object is a Node Set :
5 Set contains 1 nodes:
16 Object is a Node Set :
17 Set contains 1 nodes:
28 Object is a Node Set :
29 Set contains 1 nodes:
34 Object is a Node Set :
35 Set contains 6 nodes:
60 Object is a Node Set :
61 Set contains 1 nodes:
[all …]
Dsimpleabbr4 Object is a Node Set :
5 Set contains 1 nodes:
16 Object is a Node Set :
17 Set contains 1 nodes:
22 Object is a Node Set :
23 Set contains 1 nodes:
28 Object is a Node Set :
29 Set contains 2 nodes:
35 Object is a Node Set :
36 Set contains 1 nodes:
[all …]
Dchaptersprefol4 Object is a Node Set :
5 Set contains 0 nodes:
9 Object is a Node Set :
10 Set contains 0 nodes:
14 Object is a Node Set :
15 Set contains 0 nodes:
19 Object is a Node Set :
20 Set contains 0 nodes:
24 Object is a Node Set :
25 Set contains 10 nodes:
[all …]
/external/webrtc/webrtc/test/
Drtcp_packet_parser.cc32 sender_report_.Set(parser.Packet().SR); in Parse()
35 receiver_report_.Set(parser.Packet().RR); in Parse()
38 report_block_.Set(parser.Packet().ReportBlockItem); in Parse()
42 sdes_.Set(); in Parse()
45 sdes_chunk_.Set(parser.Packet().CName); in Parse()
48 bye_.Set(parser.Packet().BYE); in Parse()
51 app_.Set(parser.Packet().APP); in Parse()
54 app_item_.Set(parser.Packet().APP); in Parse()
57 ij_.Set(); in Parse()
60 ij_item_.Set(parser.Packet().ExtendedJitterReportItem); in Parse()
[all …]
/external/curl/tests/data/
Dtest3119 Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
20 Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/
21 Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/
22 Set-Cookie: overwrite=this2 ; domain=127.0.0.1; path=/overwrite
23 Set-Cookie: sec1value=secure1 ; domain=127.0.0.1; path=/secure1/ ; secure
24 Set-Cookie: sec2value=secure2 ; domain=127.0.0.1; path=/secure2/ ; secure=
25 Set-Cookie: sec3value=secure3 ; domain=127.0.0.1; path=/secure3/ ; secure=
26 Set-Cookie: sec4value=secure4 ; secure=; domain=127.0.0.1; path=/secure4/ ;
27 Set-Cookie: sec5value=secure5 ; secure; domain=127.0.0.1; path=/secure5/ ;
28 Set-Cookie: sec6value=secure6 ; secure ; domain=127.0.0.1; path=/secure6/ ;
[all …]
Dtest156119 Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
20 Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
21 Set-Cookie: __Secure-SID=12345; Domain=example.com
22 Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
23 Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
24 Set-Cookie: __Host-SID=22345
25 Set-Cookie: __Host-SID=22346; Secure
26 Set-Cookie: __Host-SID=22347; Domain=example.com
27 Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/
28 Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DSetsTest.java71 import java.util.Set;
117 protected Set<String> create(String[] elements) { in suite()
129 protected Set<String> create(String[] elements) { in suite()
132 Set<String> set1 = in suite()
137 Set<String> set2 = in suite()
152 protected Set<String> create(String[] elements) { in suite()
153 Set<String> set1 = Sets.newHashSet(elements); in suite()
155 Set<String> set2 = Sets.newHashSet(elements); in suite()
168 protected Set<String> create(String[] elements) { in suite()
169 Set<String> set1 = Sets.newHashSet(elements); in suite()
[all …]
/external/libchrome/base/threading/
Dthread_restrictions.cc38 g_blocking_disallowed.Get().Set(true); in DisallowBlocking()
43 g_blocking_disallowed.Get().Set(true); in ScopedDisallowBlocking()
48 g_blocking_disallowed.Get().Set(was_disallowed_); in ~ScopedDisallowBlocking()
53 g_blocking_disallowed.Get().Set(false); in ScopedAllowBlocking()
58 g_blocking_disallowed.Get().Set(was_disallowed_); in ~ScopedAllowBlocking()
62 g_base_sync_primitives_disallowed.Get().Set(true); in DisallowBaseSyncPrimitives()
70 g_base_sync_primitives_disallowed.Get().Set(false); in ScopedAllowBaseSyncPrimitives()
75 g_base_sync_primitives_disallowed.Get().Set(was_disallowed_); in ~ScopedAllowBaseSyncPrimitives()
81 g_base_sync_primitives_disallowed.Get().Set(false); in ScopedAllowBaseSyncPrimitivesOutsideBlockingScope()
87 g_base_sync_primitives_disallowed.Get().Set(was_disallowed_); in ~ScopedAllowBaseSyncPrimitivesOutsideBlockingScope()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DXEquivalenceMap.java14 import java.util.Set;
24 public class XEquivalenceMap<K, V, R> implements Iterable<Set<K>> {
26 Map<K, Row.R2<V, Set<R>>> source_target_reasons = new HashMap<K, Row.R2<V, Set<R>>>();
28 Map<V, Set<K>> target_sourceSet;
29 …Map<K, Set<K>> source_Set = new HashMap<K, Set<K>>(); // not really needed: could go source-target…
32 this(new HashMap<V, Set<K>>()); in XEquivalenceMap()
35 public XEquivalenceMap(Map<V, Set<K>> storage) { in XEquivalenceMap()
51 R2<V, Set<R>> target_reasons = source_target_reasons.get(source); in add()
53 Set<R> reasons = new HashSet<R>(); in add()
61 Set<R> reasons = target_reasons.get1(); in add()
[all …]
DUnicodeRelation.java10 import java.util.Set;
18 final UnicodeMap<Set<T>> data = new UnicodeMap<>();
22 Set<T> make(); in make()
27 public Set<Object> make() {
33 public Set<Object> make() {
63 for (Set<T> v : data.values()) { in containsValue()
71 public Set<T> get(int key) { in get()
75 public Set<T> get(String key) { in get()
81 for (Entry<String, Set<T>> entry : data.entrySet()) { in getKeys()
90 Set<T> newValues = addValue(data.get(key), value); in add()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DSetsTest.java71 import java.util.Set;
118 protected Set<String> create(String[] elements) { in suite()
130 protected Set<String> create(String[] elements) { in suite()
133 Set<String> set1 = in suite()
138 Set<String> set2 = in suite()
153 protected Set<String> create(String[] elements) { in suite()
154 Set<String> set1 = Sets.newHashSet(elements); in suite()
156 Set<String> set2 = Sets.newHashSet(elements); in suite()
169 protected Set<String> create(String[] elements) { in suite()
170 Set<String> set1 = Sets.newHashSet(elements); in suite()
[all …]
/external/compiler-rt/
DMakefile114 $(call Set,Tmp.Key,$(1))
115 $(call Set,Tmp.Name,$($(Tmp.Key).Name))
116 $(call Set,Tmp.Configs,$($(Tmp.Key).Configs))
117 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name))
132 $(call Set,Tmp.Config,$(1))
133 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config))
134 $(call Set,Tmp.SHARED_LIBRARY,$(strip \
136 $(call Set,Tmp.SHARED_LIBRARY_SUFFIX,$(strip \
141 $(call Set,Tmp.LibrarySuffix,$(Tmp.SHARED_LIBRARY_SUFFIX)),
142 $(call Set,Tmp.LibrarySuffix,a))
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelation.java22 import java.util.Set;
34 private Map<K, Set<V>> data;
36 Constructor<? extends Set<V>> setCreator;
39 public static <K, V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator) { in of()
43 …public static <K,V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setCo… in of()
47 public Relation(Map<K, Set<V>> map, Class<?> setCreator) { in Relation()
52 public Relation(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setComparator) { in Relation()
56 this.setCreator = ((Class<? extends Set<V>>)setCreator).getConstructor(); in Relation()
59 … this.setCreator = ((Class<? extends Set<V>>)setCreator).getConstructor(Comparator.class); in Relation()
62 data = map == null ? new HashMap<K, Set<V>>() : map; in Relation()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelation.java23 import java.util.Set;
36 private Map<K, Set<V>> data;
38 Constructor<? extends Set<V>> setCreator;
41 public static <K, V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator) { in of()
45 …public static <K,V> Relation<K, V> of(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setCo… in of()
49 public Relation(Map<K, Set<V>> map, Class<?> setCreator) { in Relation()
54 public Relation(Map<K, Set<V>> map, Class<?> setCreator, Comparator<V> setComparator) { in Relation()
58 this.setCreator = ((Class<? extends Set<V>>)setCreator).getConstructor(); in Relation()
61 … this.setCreator = ((Class<? extends Set<V>>)setCreator).getConstructor(Comparator.class); in Relation()
64 data = map == null ? new HashMap<K, Set<V>>() : map; in Relation()
[all …]
/external/deqp-deps/SPIRV-Tools/test/util/
Dbit_vector_test.cpp37 TEST(BitVectorTest, Set) { in TEST() argument
43 bvec.Set(i); in TEST()
62 EXPECT_FALSE(bvec.Set(i)); in TEST()
67 EXPECT_TRUE(bvec.Set(i)); in TEST()
74 bvec.Set(i); in TEST()
99 bvec.Set(i); in TEST()
115 bvec1.Set(3); in TEST()
116 bvec1.Set(4); in TEST()
119 bvec2.Set(2); in TEST()
120 bvec2.Set(4); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/util/
Dbit_vector_test.cpp37 TEST(BitVectorTest, Set) { in TEST() argument
43 bvec.Set(i); in TEST()
62 EXPECT_FALSE(bvec.Set(i)); in TEST()
67 EXPECT_TRUE(bvec.Set(i)); in TEST()
74 bvec.Set(i); in TEST()
99 bvec.Set(i); in TEST()
115 bvec1.Set(3); in TEST()
116 bvec1.Set(4); in TEST()
119 bvec2.Set(2); in TEST()
120 bvec2.Set(4); in TEST()
[all …]
/external/angle/third_party/spirv-tools/src/test/util/
Dbit_vector_test.cpp37 TEST(BitVectorTest, Set) { in TEST() argument
43 bvec.Set(i); in TEST()
62 EXPECT_FALSE(bvec.Set(i)); in TEST()
67 EXPECT_TRUE(bvec.Set(i)); in TEST()
74 bvec.Set(i); in TEST()
99 bvec.Set(i); in TEST()
115 bvec1.Set(3); in TEST()
116 bvec1.Set(4); in TEST()
119 bvec2.Set(2); in TEST()
120 bvec2.Set(4); in TEST()
[all …]

12345678910>>...205