Home
last modified time | relevance | path

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

12345678910>>...60

/external/llvm/unittests/ADT/
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/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/guava/guava-tests/test/com/google/common/collect/
DSetsTest.java73 import java.util.Set;
117 @Override protected Set<String> create(String[] elements) { in suite()
120 Set<String> set1 = (size > 1) in suite()
125 Set<String> set2 = (size > 0) in suite()
137 @Override protected Set<String> create(String[] elements) { in suite()
138 Set<String> set1 = Sets.newHashSet(elements); in suite()
140 Set<String> set2 = Sets.newHashSet(elements); in suite()
150 @Override protected Set<String> create(String[] elements) { in suite()
151 Set<String> set1 = Sets.newHashSet(elements); in suite()
153 Set<String> set2 = Sets.newHashSet(samples().e3); in suite()
[all …]
DSetOperationsTest.java33 import java.util.Set;
47 @Override protected Set<String> create(String[] elements) { in suite()
58 @Override protected Set<String> create(String[] elements) { in suite()
69 @Override protected Set<String> create(String[] elements) { in suite()
80 @Override protected Set<String> create(String[] elements) { in suite()
91 @Override protected Set<String> create(String[] elements) { in suite()
106 @Override protected Set<String> create(String[] elements) { in suite()
119 @Override protected Set<String> create(String[] elements) { in suite()
131 @Override protected Set<String> create(String[] elements) { in suite()
142 @Override protected Set<String> create(String[] elements) { in suite()
[all …]
DAbstractImmutableSetTest.java36 import java.util.Set;
47 protected abstract Set<String> of(); in of()
48 protected abstract Set<String> of(String e); in of()
49 protected abstract Set<String> of(String e1, String e2); in of()
50 protected abstract Set<String> of(String e1, String e2, String e3); in of()
51 protected abstract Set<String> of(String e1, String e2, String e3, String e4); in of()
52 protected abstract Set<String> of(String e1, String e2, String e3, String e4, in of()
54 protected abstract Set<String> of(String e1, String e2, String e3, String e4, in of()
56 protected abstract Set<String> copyOf(String[] elements); in copyOf()
57 protected abstract Set<String> copyOf(Collection<String> elements); in copyOf()
[all …]
/external/chromium/base/win/
Dscoped_variant.h91 void Set(const wchar_t* str);
94 void Set(int8 i8);
95 void Set(uint8 ui8);
96 void Set(int16 i16);
97 void Set(uint16 ui16);
98 void Set(int32 i32);
99 void Set(uint32 ui32);
100 void Set(int64 i64);
101 void Set(uint64 ui64);
102 void Set(float r32);
[all …]
Dscoped_variant.cc21 Set(str); in ScopedVariant()
42 Set(dispatch); in ScopedVariant()
47 Set(unknown); in ScopedVariant()
52 Set(safearray); in ScopedVariant()
57 Set(var); in ScopedVariant()
114 void ScopedVariant::Set(const wchar_t* str) { in Set() function in base::win::ScopedVariant
120 void ScopedVariant::Set(int8 i8) { in Set() function in base::win::ScopedVariant
126 void ScopedVariant::Set(uint8 ui8) { in Set() function in base::win::ScopedVariant
132 void ScopedVariant::Set(int16 i16) { in Set() function in base::win::ScopedVariant
138 void ScopedVariant::Set(uint16 ui16) { in Set() function in base::win::ScopedVariant
[all …]
Dscoped_variant_unittest.cc82 var_bstr.Set(kTestString2); in TEST()
109 var_bstr2.Set(V_BSTR(&var_bstr)); in TEST()
129 var.Set(static_cast<int8>('v')); in TEST()
133 var.Set(static_cast<short>(123)); in TEST()
137 var.Set(static_cast<int32>(123)); in TEST()
141 var.Set(static_cast<int64>(123)); in TEST()
145 var.Set(static_cast<uint8>(123)); in TEST()
149 var.Set(static_cast<unsigned short>(123)); in TEST()
153 var.Set(static_cast<uint32>(123)); in TEST()
157 var.Set(static_cast<uint64>(123)); in TEST()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
DFeatureUtil.java29 import java.util.Set;
56 public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) { in addImpliedFeatures()
71 public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) { in impliedFeatures()
72 Set<Feature<?>> implied = new LinkedHashSet<Feature<?>>(); in impliedFeatures()
231 Set<Feature<?>> allPresentFeatures = in buildTesterRequirements()
233 Set<Feature<?>> allAbsentFeatures = in buildTesterRequirements()
235 Set<Feature<?>> conflictingFeatures = in buildTesterRequirements()
260 Set<Feature<?>> presentFeatures = requirements.getPresentFeatures(); in incorporateRequirements()
261 Set<Feature<?>> absentFeatures = requirements.getAbsentFeatures(); in incorporateRequirements()
262 Set<Feature<?>> morePresentFeatures = moreRequirements.getPresentFeatures(); in incorporateRequirements()
[all …]
/external/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/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/main/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 …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DPKIXParametersTest.java40 import java.util.Set;
78 Set taSet = TestUtils.getTrustAnchorSet(); in testPKIXParametersSet01()
95 Set taSet = TestUtils.getTrustAnchorSet(); in testPKIXParametersSet02()
107 Set returnedSet = pp.getTrustAnchors(); in testPKIXParametersSet02()
119 new PKIXParameters((Set)null); in testPKIXParametersSet03()
147 Set taSet = TestUtils.getTrustAnchorSet(); in testPKIXParametersSet05()
185 Set taSet = TestUtils.getTrustAnchorSet(); in testGetPolicyQualifiersRejected()
201 Set taSet = TestUtils.getTrustAnchorSet(); in testSetPolicyQualifiersRejected()
222 Set taSet = TestUtils.getTrustAnchorSet(); in testIsAnyPolicyInhibited()
238 Set taSet = TestUtils.getTrustAnchorSet(); in testSetAnyPolicyInhibited()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java27 import java.util.Set;
41 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
42 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
43 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
44 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
45 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
46 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
47 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
48 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
50 CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) { in withConcurrencyLevels()
[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))
137 $(call Set,Tmp.ArchsToBuild,\
145 $(call Set,Tmp.Inputs,$(Tmp.ArchsToBuild:%=$(Tmp.ObjPath)/%/libcompiler_rt.a))
164 $(call Set,Tmp.Arch,$(1))
165 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch))
[all …]
/external/chromium/webkit/glue/
Dcpp_variant_unittest.cc91 value.Set(17); in TEST()
98 source.Set("test string"); in TEST()
113 source.Set(object); in TEST()
127 source.Set("test string"); in TEST()
143 source.Set(object); in TEST()
159 source.Set("test string"); in TEST()
168 source.Set(object); in TEST()
180 cpp.Set(true); in TEST()
186 cpp.Set(17); in TEST()
192 cpp.Set(3.1415); in TEST()
[all …]
Dcpp_binding_example.cc15 value->Set(value_); in GetValue()
20 value_.Set(value); in SetValue()
52 my_value.Set(10); in CppBindingExample()
53 my_other_value.Set("Reinitialized!"); in CppBindingExample()
62 result->Set(args[0]); in echoValue()
76 result->Set(true); in echoType()
78 result->Set(7); in echoType()
80 result->Set(3.14159); in echoType()
82 result->Set("Success!"); in echoType()
113 result->Set(sum); in plus()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DPKIXNameConstraintValidator.java18 import java.util.Set;
22 private Set excludedSubtreesDN = new HashSet();
24 private Set excludedSubtreesDNS = new HashSet();
26 private Set excludedSubtreesEmail = new HashSet();
28 private Set excludedSubtreesURI = new HashSet();
30 private Set excludedSubtreesIP = new HashSet();
32 private Set permittedSubtreesDN;
34 private Set permittedSubtreesDNS;
36 private Set permittedSubtreesEmail;
38 private Set permittedSubtreesURI;
[all …]
/external/guava/guava/src/com/google/common/collect/
DAbstractSetMultimap.java23 import java.util.Set;
47 @Override abstract Set<V> createCollection(); in createCollection()
58 @Override public Set<V> get(@Nullable K key) { in get()
59 return (Set<V>) super.get(key); in get()
69 @Override public Set<Map.Entry<K, V>> entries() { in entries()
70 return (Set<Map.Entry<K, V>>) super.entries(); in entries()
80 @Override public Set<V> removeAll(@Nullable Object key) { in removeAll()
81 return (Set<V>) super.removeAll(key); in removeAll()
93 @Override public Set<V> replaceValues( in replaceValues()
95 return (Set<V>) super.replaceValues(key, values); in replaceValues()
DSets.java48 import java.util.Set;
357 public static <E> Set<E> newIdentityHashSet() { in newIdentityHashSet()
453 public static <E> Set<E> newSetFromMap(Map<E, Boolean> map) { in newSetFromMap()
458 implements Set<E>, Serializable {
460 private transient Set<E> s; // Its keySet
561 public <S extends Set<E>> S copyInto(S set) { in copyInto()
583 final Set<? extends E> set1, final Set<? extends E> set2) { in union()
587 final Set<? extends E> set2minus1 = difference(set2, set1); in union()
603 @Override public <S extends Set<E>> S copyInto(S set) { in union()
642 final Set<E> set1, final Set<?> set2) {
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DDecisionProbe.java82 protected Set<DFAState> statesWithSyntacticallyAmbiguousAltsSet = new HashSet<DFAState>();
89 protected Map<DFAState, Set<Integer>> stateToSyntacticallyAmbiguousTokensRuleAltsMap =
90 new HashMap<DFAState, Set<Integer>>();
96 protected Set<DFAState> statesResolvedWithSemanticPredicatesSet = new HashSet<DFAState>();
110 protected Map<DFAState,Map<Integer, Set<Token>>> stateToIncompletelyCoveredAltsMap =
111 new HashMap<DFAState,Map<Integer, Set<Token>>>();
114 protected Set<DFAState> danglingStates = new HashSet<DFAState>();
119 protected Set<Integer> altsWithProblem = new HashSet<Integer>();
162 protected Set<String> statesVisitedAtInputDepth;
164 protected Set<Integer> statesVisitedDuringSampleSequence;
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java45 import java.util.Set;
354 public static <E> Set<E> newIdentityHashSet() { in newIdentityHashSet()
450 public static <E> Set<E> newSetFromMap(Map<E, Boolean> map) { in newSetFromMap()
455 implements Set<E>, Serializable {
457 private transient Set<E> s; // Its keySet
549 public <S extends Set<E>> S copyInto(S set) { in copyInto()
571 final Set<? extends E> set1, final Set<? extends E> set2) { in union()
575 final Set<? extends E> set2minus1 = difference(set2, set1); in union()
591 @Override public <S extends Set<E>> S copyInto(S set) { in union()
630 final Set<E> set1, final Set<?> set2) {
[all …]
/external/chromium/base/
Dvalues_unittest.cc24 settings.Set("global", Value::CreateBooleanValue(true)); in TEST_F()
38 settings.Set("global.toolbar.bookmarks", toolbar_bookmarks); in TEST_F()
61 mixed_list->Set(0, Value::CreateBooleanValue(true)); in TEST_F()
62 mixed_list->Set(1, Value::CreateIntegerValue(42)); in TEST_F()
63 mixed_list->Set(2, Value::CreateDoubleValue(88.8)); in TEST_F()
64 mixed_list->Set(3, Value::CreateStringValue("foo")); in TEST_F()
195 EXPECT_TRUE(list.Set(0, Value::CreateNullValue())); in TEST_F()
247 dict.Set(key, new DeletionTestValue(&deletion_flag)); in TEST_F()
254 dict.Set(key, new DeletionTestValue(&deletion_flag)); in TEST_F()
262 dict.Set(key, new DeletionTestValue(&deletion_flag)); in TEST_F()
[all …]
/external/llvm/include/llvm/ADT/
DSmallSet.h36 std::set<T, C> Set; variable
42 bool empty() const { return Vector.empty() && Set.empty(); } in empty()
44 return isSmall() ? Vector.size() : Set.size(); in size()
53 return Set.count(V); in count()
60 return Set.insert(V).second; in insert()
72 Set.insert(Vector.back()); in insert()
75 Set.insert(V); in insert()
87 return Set.erase(V); in erase()
98 Set.clear(); in clear()
101 bool isSmall() const { return Set.empty(); } in isSmall()
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/
Dset-href-attribute-whitespace-expected.txt6 Set href that starts with a space
8 Set href that starts with a newline
10 Set href that starts with a tab
12 Set href that starts with a carriage return
14 Set href that starts with a combination of newlines, spaces and tabs
16 Set href that ends with a space
18 Set href that ends with a newline
20 Set href that ends with a tab
22 Set href that ends with a carriage return
24 Set href that ends with a combination of newlines, spaces and tabs
[all …]

12345678910>>...60