Home
last modified time | relevance | path

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

12345678910>>...201

/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/perf_data_converter/src/
Dintervalmap_test.cc34 map->Set(start_, limit_, value_); in ExecuteOn()
148 std::shared_ptr<Command> Set(uint64 start, uint64 limit, const char* value) { in Set() function
181 Set(0, 10, "Added"), NumIntervals(1), Lookup(0, 9, "Added"),
186 Set(5, 10, "Added"), Set(5, 20, "Overwrite"), NumIntervals(1),
191 Set(5, 10, "Segment 1"), Set(10, 20, "Segment 2"), NumIntervals(2),
197 Set(5, 10, "Added"), Set(8, 12, "Overwrite"), NumIntervals(2),
203 Set(5, 10, "Added"), Set(3, 8, "Overwrite"), NumIntervals(2),
209 Set(5, 10, "Added"), Set(3, 12, "Overwrite"), NumIntervals(1),
214 Set(4, 11, "Added"), Set(6, 9, "Overwrite"), NumIntervals(3),
220 Set(5, 10, "Added"), Set(5, 10, "Overwrite"), NumIntervals(1),
[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/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/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/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 …]
/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/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DSetsTest.java51 import java.util.Set;
92 Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B); in testImmutableEnumSet()
138 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.B, SomeEnum.C); in testNewEnumSet_collection()
143 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.A, SomeEnum.B, SomeEnum.C); in testNewEnumSet_iterable()
183 Set<Integer> set = Sets.newConcurrentHashSet(); in testNewConcurrentHashSetEmpty()
188 Set<Integer> set = Sets.newConcurrentHashSet(SOME_COLLECTION); in testNewConcurrentHashSetFromCollection()
277 Set<Integer> set = Sets.newIdentityHashSet(); in testNewIdentityHashSet()
288 Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D); in testComplementOfEnumSet()
294 Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D); in testComplementOfEnumSetWithType()
300 Set<SomeEnum> units = Sets.newHashSet(SomeEnum.B, SomeEnum.D); in testComplementOfRegularSet()
[all …]
/external/dagger2/producers/src/main/java/dagger/producers/internal/
DSetProducer.java26 import java.util.Set;
36 public final class SetProducer<T> extends AbstractProducer<Set<T>> {
42 public static <T> Producer<Set<T>> create(Producer<Set<T>>... producers) { in create()
46 private final Set<Producer<Set<T>>> contributingProducers;
48 private SetProducer(Set<Producer<Set<T>>> contributingProducers) { in SetProducer()
66 public ListenableFuture<Set<T>> compute(ProducerMonitor unusedMonitor) { in compute()
67 List<ListenableFuture<Set<T>>> futureSets = in compute()
68 new ArrayList<ListenableFuture<Set<T>>>(contributingProducers.size()); in compute()
69 for (Producer<Set<T>> producer : contributingProducers) { in compute()
70 ListenableFuture<Set<T>> futureSet = producer.get(); in compute()
[all …]
DSetOfProducedProducer.java27 import java.util.Set;
38 public final class SetOfProducedProducer<T> extends AbstractProducer<Set<Produced<T>>> {
44 public static <T> Producer<Set<Produced<T>>> create(Producer<Set<T>>... producers) { in create()
48 private final ImmutableSet<Producer<Set<T>>> contributingProducers;
50 private SetOfProducedProducer(ImmutableSet<Producer<Set<T>>> contributingProducers) { in SetOfProducedProducer()
68 public ListenableFuture<Set<Produced<T>>> compute(ProducerMonitor unusedMonitor) { in compute()
69 List<ListenableFuture<Produced<Set<T>>>> futureProducedSets = in compute()
70 new ArrayList<ListenableFuture<Produced<Set<T>>>>(contributingProducers.size()); in compute()
71 for (Producer<Set<T>> producer : contributingProducers) { in compute()
72 ListenableFuture<Set<T>> futureSet = producer.get(); in compute()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DSetsTest.java75 import java.util.Set;
120 @Override protected Set<String> create(String[] elements) { in suite()
129 @Override protected Set<String> create(String[] elements) { in suite()
132 Set<String> set1 = (size > 1) in suite()
137 Set<String> set2 = (size > 0) in suite()
149 @Override protected Set<String> create(String[] elements) { in suite()
150 Set<String> set1 = Sets.newHashSet(elements); in suite()
152 Set<String> set2 = Sets.newHashSet(elements); in suite()
162 @Override protected Set<String> create(String[] elements) { in suite()
163 Set<String> set1 = Sets.newHashSet(elements); in suite()
[all …]
/external/dagger2/core/src/test/java/dagger/internal/
DSetFactoryTest.java22 import java.util.Set;
41 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsNullSet()
43 public Set<Integer> get() { in providerReturnsNullSet()
53 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsNullSet_single()
55 public Set<Integer> get() { in providerReturnsNullSet_single()
65 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsSetWithNullElement()
67 public Set<Integer> get() { in providerReturnsSetWithNullElement()
81 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsSetWithNullElement_single()
83 public Set<Integer> get() { in providerReturnsSetWithNullElement_single()
97 Factory<Set<Integer>> factory = SetFactory.create( in invokesProvidersEverytTime()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DSetTheory.cpp67 RecSet &Set, int64_t N,
73 RecSet Set; in apply() local
74 ST.evaluate(Expr->arg_begin()[0], Set); in apply()
78 apply2(ST, Expr, Set, II->getValue(), Elts); in apply()
85 RecSet &Set, int64_t N, in apply2()
89 if (unsigned(N) < Set.size()) in apply2()
90 Elts.insert(Set.begin() + N, Set.end()); in apply2()
97 RecSet &Set, int64_t N, in apply2()
101 if (unsigned(N) > Set.size()) in apply2()
102 N = Set.size(); in apply2()
[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 …]
/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/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/dagger2/core/src/main/java/dagger/internal/
DSetFactory.java22 import java.util.Set;
36 public final class SetFactory<T> implements Factory<Set<T>> {
47 public static <T> Factory<Set<T>> create(Factory<Set<T>> factory) { in create()
57 public static <T> Factory<Set<T>> create( in create()
58 @SuppressWarnings("unchecked") Provider<Set<T>>... providers) { in create()
61 List<Provider<Set<T>>> contributingProviders = Arrays.asList(providers); in create()
75 Set<Object> asSet = new HashSet<Object>(original); in hasDuplicates()
79 private final List<Provider<Set<T>>> contributingProviders;
81 private SetFactory(List<Provider<Set<T>>> contributingProviders) { in SetFactory()
93 public Set<T> get() { in get()
[all …]

12345678910>>...201