Home
last modified time | relevance | path

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

12345678910>>...152

/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/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/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-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/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 …]
/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/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 …]
DSetOperationsTest.java34 import java.util.Set;
49 @Override protected Set<String> create(String[] elements) { in suite()
60 @Override protected Set<String> create(String[] elements) { in suite()
71 @Override protected Set<String> create(String[] elements) { in suite()
82 @Override protected Set<String> create(String[] elements) { in suite()
93 @Override protected Set<String> create(String[] elements) { in suite()
108 @Override protected Set<String> create(String[] elements) { in suite()
121 @Override protected Set<String> create(String[] elements) { in suite()
133 @Override protected Set<String> create(String[] elements) { in suite()
144 @Override protected Set<String> create(String[] elements) { in suite()
[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/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 …]
/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/guava/guava-testlib/src/com/google/common/collect/testing/features/
DFeatureUtil.java29 import java.util.Set;
54 public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) { in addImpliedFeatures()
69 public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) { in impliedFeatures()
70 Set<Feature<?>> implied = new LinkedHashSet<Feature<?>>(); in impliedFeatures()
229 Set<Feature<?>> allPresentFeatures = in buildTesterRequirements()
231 Set<Feature<?>> allAbsentFeatures = in buildTesterRequirements()
233 Set<Feature<?>> conflictingFeatures = in buildTesterRequirements()
258 Set<Feature<?>> presentFeatures = requirements.getPresentFeatures(); in incorporateRequirements()
259 Set<Feature<?>> absentFeatures = requirements.getAbsentFeatures(); in incorporateRequirements()
260 Set<Feature<?>> morePresentFeatures = moreRequirements.getPresentFeatures(); in incorporateRequirements()
[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/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
Dgroup-file-parser.rb615 TOKENS_FOLLOWING_group_name_IN_group_spec_85 = Set[ 1, 5 ]
616 TOKENS_FOLLOWING_member_IN_group_spec_108 = Set[ 1, 5 ]
617 TOKENS_FOLLOWING_T__10_IN_group_name_128 = Set[ 4 ]
618 TOKENS_FOLLOWING_CONSTANT_IN_group_name_144 = Set[ 11 ]
619 TOKENS_FOLLOWING_T__11_IN_group_name_146 = Set[ 4 ]
620 TOKENS_FOLLOWING_CONSTANT_IN_group_name_169 = Set[ 1, 12 ]
621 TOKENS_FOLLOWING_T__12_IN_group_name_177 = Set[ 1 ]
622 TOKENS_FOLLOWING_ID_IN_member_199 = Set[ 5, 13, 14, 17, 18 ]
623 TOKENS_FOLLOWING_parameter_declaration_IN_member_203 = Set[ 13 ]
624 TOKENS_FOLLOWING_T__13_IN_member_210 = Set[ 5, 6, 7 ]
[all …]
/external/valgrind/auxprogs/
DDotToScc.hs94 [Set a] -- The topologically sorted components
106 (Set a, [a]) -> -- state: visited set,
109 (Set a, [a]) -- final state
128 (Set a, [Set a]) -> -- Current state: visited set,
131 (Set a, [Set a]) -- Final state
159 data Set e = MkSet [e] type
163 unMkSet :: (Ord a) => Set a -> [a]
170 utSetEmpty :: (Ord a) => Set a
177 utSetIsEmpty :: (Ord a) => Set a -> Bool
184 utSetSingleton :: (Ord a) => a -> Set a
[all …]

12345678910>>...152