Home
last modified time | relevance | path

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

12345678910>>...223

/external/llvm-project/llvm/unittests/ADT/
DSparseMultiSetTest.cpp20 USet Set; in TEST() local
21 EXPECT_TRUE(Set.empty()); in TEST()
22 EXPECT_EQ(0u, Set.size()); in TEST()
24 Set.setUniverse(10); in TEST()
27 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
28 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
31 const USet &CSet = Set; in TEST()
41 USet Set; in TEST() local
42 Set.setUniverse(10); in TEST()
43 USet::iterator I = Set.insert(5); in TEST()
[all …]
DSparseSetTest.cpp20 USet Set; in TEST() local
21 EXPECT_TRUE(Set.empty()); in TEST()
22 EXPECT_TRUE(Set.begin() == Set.end()); in TEST()
23 EXPECT_EQ(0u, Set.size()); in TEST()
25 Set.setUniverse(10); in TEST()
28 EXPECT_FALSE(Set.contains(0)); in TEST()
29 EXPECT_FALSE(Set.contains(9)); in TEST()
32 const USet &CSet = Set; in TEST()
43 USet Set; in TEST() local
44 Set.setUniverse(10); in TEST()
[all …]
DStringSetTest.cpp19 StringSet<> Set; in TEST_F() local
20 Set.insert("A"); in TEST_F()
21 Set.insert("B"); in TEST_F()
22 Set.insert("C"); in TEST_F()
23 Set.insert("D"); in TEST_F()
25 auto Keys = to_vector<4>(Set.keys()); in TEST_F()
35 StringSet<> Set; in TEST_F() local
37 StringMapEntry<StringRef>::Create("A", Set.getAllocator()); in TEST_F()
38 Set.insert(*Element); in TEST_F()
39 size_t Count = Set.count(*Element); in TEST_F()
[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/libwebm/webm_parser/tests/
Dtrack_entry_parser_test.cc98 track_entry.track_number.Set(0, true); in TEST_F()
99 track_entry.track_uid.Set(0, true); in TEST_F()
100 track_entry.track_type.Set(TrackType{}, true); in TEST_F()
101 track_entry.is_enabled.Set(true, true); in TEST_F()
102 track_entry.is_default.Set(true, true); in TEST_F()
103 track_entry.is_forced.Set(false, true); in TEST_F()
104 track_entry.uses_lacing.Set(true, true); in TEST_F()
105 track_entry.default_duration.Set(0, true); in TEST_F()
106 track_entry.name.Set("", true); in TEST_F()
107 track_entry.language.Set("eng", true); in TEST_F()
[all …]
Debml_parser_test.cc63 ebml.ebml_version.Set(1, true); in TEST_F()
64 ebml.ebml_read_version.Set(1, true); in TEST_F()
65 ebml.ebml_max_id_length.Set(4, true); in TEST_F()
66 ebml.ebml_max_size_length.Set(8, true); in TEST_F()
67 ebml.doc_type.Set("matroska", true); in TEST_F()
68 ebml.doc_type_version.Set(1, true); in TEST_F()
69 ebml.doc_type_read_version.Set(1, true); in TEST_F()
115 ebml.ebml_version.Set(2, true); in TEST_F()
116 ebml.ebml_read_version.Set(4, true); in TEST_F()
117 ebml.ebml_max_id_length.Set(2, true); in TEST_F()
[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/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-project/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/
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 …]
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 …]
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 …]
/external/llvm-project/polly/utils/pyscop/
Disl.py99 class Set(IslObject): class
104 return Set(ptr = ptr)
248 ("is_empty", Set, [Set], c_int),
262 ("is_wrapping", Set, [Set], c_int),
266 ("is_equal", Set, [Set, Set], c_int),
275 ("is_subset", Set, [Set, Set], c_int),
281 ("is_strict_subset", Set, [Set, Set], c_int),
288 ("complement", Set, [Set], Set),
295 ("range", Map, [Map], Set),
298 ("domain", Map, [Map], Set),
[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/guava-tests/test/com/google/common/collect/
DSetsTest.java72 import java.util.Set;
119 protected Set<String> create(String[] elements) { in suite()
131 protected Set<String> create(String[] elements) { in suite()
134 Set<String> set1 = in suite()
139 Set<String> set2 = in suite()
154 protected Set<String> create(String[] elements) { in suite()
155 Set<String> set1 = Sets.newHashSet(elements); in suite()
157 Set<String> set2 = Sets.newHashSet(elements); in suite()
170 protected Set<String> create(String[] elements) { in suite()
171 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/guava/android/guava-tests/test/com/google/common/collect/
DSetsTest.java72 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/llvm-project/clang/unittests/Basic/
DFileEntryTest.cpp134 SmallDenseSet<FileEntryRef, 8> Set; in TEST() local
135 Set.insert(R1Also); in TEST()
136 Set.insert(R1); in TEST()
137 Set.insert(R2); in TEST()
138 EXPECT_TRUE(Set.find(R1Also)->isSameRef(R1Also)); in TEST()
139 EXPECT_TRUE(Set.find(R1)->isSameRef(R1Also)); in TEST()
140 EXPECT_TRUE(Set.find(R2)->isSameRef(R2)); in TEST()
145 SmallDenseSet<FileEntryRef, 8> Set; in TEST() local
146 Set.insert(R1); in TEST()
147 Set.insert(R1Also); in TEST()
[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/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/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/cldr/tools/java/org/unicode/cldr/util/
DXEquivalenceClass.java16 import java.util.Set;
44 private Map<T, Set<T>> toPartitionSet = new HashMap();
45 private Map<T, Map<T, Set<R>>> obj_obj_reasons = new HashMap();
50 Set<T> make(); in make()
110 Set<T> aPartitionSet = toPartitionSet.get(a); in add()
111 Set<T> bPartitionSet = toPartitionSet.get(b); in add()
140 Map<T, Set<R>> obj_reasons = other.obj_obj_reasons.get(a); in addAll()
142 Set<R> reasons = obj_reasons.get(b); in addAll()
155 Map<T, Set<R>> obj_reasons = obj_obj_reasons.get(a); in addReason()
157 Set<R> reasons = obj_reasons.get(b); in addReason()
[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() {
34 public Set<Object> make() {
64 for (Set<T> v : data.values()) { in containsValue()
72 public Set<T> get(int key) { in get()
76 public Set<T> get(String key) { in get()
82 for (Entry<String, Set<T>> entry : data.entrySet()) { in getKeys()
91 Set<T> newValues = addValue(data.get(key), value); in add()
[all …]

12345678910>>...223