Home
last modified time | relevance | path

Searched refs:Sets (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/external/guava/android/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java50 return Sets.union(Sets.<String>newHashSet(), Sets.<String>newHashSet()); in suite()
64 return Sets.union(Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); in suite()
76 return Sets.union(Sets.<String>newHashSet(), Sets.newHashSet(elements)); in suite()
89 return Sets.union(Sets.newHashSet(elements), Sets.<String>newHashSet()); in suite()
104 return Sets.union( in suite()
105 Sets.newLinkedHashSet(asList(elements)), in suite()
106 Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2]))); in suite()
119 return Sets.union( in suite()
120 Sets.newHashSet(elements[0]), Sets.newHashSet(elements[1], elements[2])); in suite()
132 return Sets.union( in suite()
[all …]
DSetsTest.java20 import static com.google.common.collect.Sets.newEnumSet;
21 import static com.google.common.collect.Sets.newHashSet;
22 import static com.google.common.collect.Sets.newLinkedHashSet;
23 import static com.google.common.collect.Sets.powerSet;
24 import static com.google.common.collect.Sets.unmodifiableNavigableSet;
119 return Sets.newConcurrentHashSet(Arrays.asList(elements)); in suite()
135 ? Sets.newHashSet(Arrays.asList(elements).subList(0, size - 1)) in suite()
136 : Sets.newHashSet(elements); in suite()
140 ? Sets.newHashSet(Arrays.asList(elements).subList(1, size)) in suite()
141 : Sets.<String>newHashSet(); in suite()
[all …]
DImmutableSortedSetTest.java631 SortedSet<String> set = copyOf(Sets.newTreeSet(asList("e", "a", "f", "b", "d", "c"))); in testCopyOf_sortedSet_ordering()
636 SortedSet<String> set = copyOf(Sets.<String>newTreeSet()); in testCopyOf_sortedSet_comparator()
685 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH); in testCopyOf_sortedSetIterable()
692 SortedSet<String> input = Sets.newTreeSet(asList("in", "the", "quick", "jumped", "over", "a")); in testCopyOfSorted_natural_ordering()
698 SortedSet<String> input = Sets.newTreeSet(asList("in", "the", "quick", "jumped", "over", "a")); in testCopyOfSorted_natural_comparator()
704 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH); in testCopyOfSorted_explicit_ordering()
713 assertEquals(set, Sets.newTreeSet(asList("a", "b", "c"))); in testEquals_bothDefaultOrdering()
714 assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set); in testEquals_bothDefaultOrdering()
715 assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d")))); in testEquals_bothDefaultOrdering()
716 assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set)); in testEquals_bothDefaultOrdering()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java50 return Sets.union(Sets.<String>newHashSet(), Sets.<String>newHashSet()); in suite()
64 return Sets.union(Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); in suite()
76 return Sets.union(Sets.<String>newHashSet(), Sets.newHashSet(elements)); in suite()
89 return Sets.union(Sets.newHashSet(elements), Sets.<String>newHashSet()); in suite()
104 return Sets.union( in suite()
105 Sets.newLinkedHashSet(asList(elements)), in suite()
106 Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2]))); in suite()
119 return Sets.union( in suite()
120 Sets.newHashSet(elements[0]), Sets.newHashSet(elements[1], elements[2])); in suite()
132 return Sets.union( in suite()
[all …]
DSetsTest.java20 import static com.google.common.collect.Sets.newEnumSet;
21 import static com.google.common.collect.Sets.newHashSet;
22 import static com.google.common.collect.Sets.newLinkedHashSet;
23 import static com.google.common.collect.Sets.powerSet;
24 import static com.google.common.collect.Sets.unmodifiableNavigableSet;
120 return Sets.newConcurrentHashSet(Arrays.asList(elements)); in suite()
136 ? Sets.newHashSet(Arrays.asList(elements).subList(0, size - 1)) in suite()
137 : Sets.newHashSet(elements); in suite()
141 ? Sets.newHashSet(Arrays.asList(elements).subList(1, size)) in suite()
142 : Sets.<String>newHashSet(); in suite()
[all …]
DImmutableSortedSetTest.java635 SortedSet<String> set = copyOf(Sets.newTreeSet(asList("e", "a", "f", "b", "d", "c"))); in testCopyOf_sortedSet_ordering()
640 SortedSet<String> set = copyOf(Sets.<String>newTreeSet()); in testCopyOf_sortedSet_comparator()
689 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH); in testCopyOf_sortedSetIterable()
696 SortedSet<String> input = Sets.newTreeSet(asList("in", "the", "quick", "jumped", "over", "a")); in testCopyOfSorted_natural_ordering()
702 SortedSet<String> input = Sets.newTreeSet(asList("in", "the", "quick", "jumped", "over", "a")); in testCopyOfSorted_natural_comparator()
708 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH); in testCopyOfSorted_explicit_ordering()
787 assertEquals(set, Sets.newTreeSet(asList("a", "b", "c"))); in testEquals_bothDefaultOrdering()
788 assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set); in testEquals_bothDefaultOrdering()
789 assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d")))); in testEquals_bothDefaultOrdering()
790 assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set)); in testEquals_bothDefaultOrdering()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDeltaAlgorithm.cpp45 const changesetlist_ty &Sets) { in Delta() argument
47 UpdatedSearchState(Changes, Sets); in Delta()
50 if (Sets.size() <= 1) in Delta()
55 if (Search(Changes, Sets, Res)) in Delta()
60 for (changesetlist_ty::const_iterator it = Sets.begin(), in Delta()
61 ie = Sets.end(); it != ie; ++it) in Delta()
63 if (SplitSets.size() == Sets.size()) in Delta()
70 const changesetlist_ty &Sets, in Search() argument
73 for (changesetlist_ty::const_iterator it = Sets.begin(), in Search()
74 ie = Sets.end(); it != ie; ++it) { in Search()
[all …]
/external/llvm-project/llvm/lib/Support/
DDeltaAlgorithm.cpp45 const changesetlist_ty &Sets) { in Delta() argument
47 UpdatedSearchState(Changes, Sets); in Delta()
50 if (Sets.size() <= 1) in Delta()
55 if (Search(Changes, Sets, Res)) in Delta()
60 for (changesetlist_ty::const_iterator it = Sets.begin(), in Delta()
61 ie = Sets.end(); it != ie; ++it) in Delta()
63 if (SplitSets.size() == Sets.size()) in Delta()
70 const changesetlist_ty &Sets, in Search() argument
73 for (changesetlist_ty::const_iterator it = Sets.begin(), in Search()
74 ie = Sets.end(); it != ie; ++it) { in Search()
[all …]
/external/llvm/lib/Support/
DDeltaAlgorithm.cpp45 const changesetlist_ty &Sets) { in Delta() argument
47 UpdatedSearchState(Changes, Sets); in Delta()
50 if (Sets.size() <= 1) in Delta()
55 if (Search(Changes, Sets, Res)) in Delta()
60 for (changesetlist_ty::const_iterator it = Sets.begin(), in Delta()
61 ie = Sets.end(); it != ie; ++it) in Delta()
63 if (SplitSets.size() == Sets.size()) in Delta()
70 const changesetlist_ty &Sets, in Search() argument
73 for (changesetlist_ty::const_iterator it = Sets.begin(), in Search()
74 ie = Sets.end(); it != ie; ++it) { in Search()
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java25 import com.google.common.collect.Sets;
40 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
41 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
42 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
43 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
44 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
45 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
46 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
47 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
50 this.concurrencyLevels = Sets.newLinkedHashSet(concurrencyLevels); in withConcurrencyLevels()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java25 import com.google.common.collect.Sets;
40 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
41 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
42 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
43 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
44 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
45 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
46 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
47 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
50 this.concurrencyLevels = Sets.newLinkedHashSet(concurrencyLevels); in withConcurrencyLevels()
[all …]
/external/llvm-project/lldb/source/Commands/
DOptionsBase.td8 // - `Group`: Sets a single group to this option.
10 // - `Groups`: Sets a given list of group numbers.
12 // - `GroupRange`: Sets an interval of groups. Start and end are inclusive.
14 // Sets group 1, 2, 3, 4 for the option.
41 // - `OptionalArg`: Sets the argument type and marks it as optional.
42 // - `Arg`: Sets the argument type and marks it as required.
43 // - `EnumArg`: Sets the argument type to an enum and marks it as required.
50 // - `Validator`: Sets the value to a given validator (which has to exist in
57 // - `EnumArg`: Sets the argument type and assigns it a enum holding the valid
70 // Sets the completion to eDiskFileCompletion
[all …]
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureUtilTest.java22 import com.google.common.collect.Sets;
144 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet(ExampleBaseFeature.BASE_FEATURE_1); in testAddImpliedFeatures_returnsSameSetInstance()
151 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_1); in testAddImpliedFeatures_addsImpliedFeatures()
155 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_2); in testAddImpliedFeatures_addsImpliedFeatures()
160 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.COMPOUND_DERIVED_FEATURE); in testAddImpliedFeatures_addsImpliedFeatures()
171 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet(ExampleBaseFeature.BASE_FEATURE_1); in testImpliedFeatures_returnsNewSetInstance()
178 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_1); in testImpliedFeatures_returnsImpliedFeatures()
181 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_2); in testImpliedFeatures_returnsImpliedFeatures()
184 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.COMPOUND_DERIVED_FEATURE); in testImpliedFeatures_returnsImpliedFeatures()
198 Sets.<Feature<?>>newHashSet(ExampleBaseFeature.BASE_FEATURE_1), in testBuildTesterRequirements_class()
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureUtilTest.java22 import com.google.common.collect.Sets;
144 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet(ExampleBaseFeature.BASE_FEATURE_1); in testAddImpliedFeatures_returnsSameSetInstance()
151 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_1); in testAddImpliedFeatures_addsImpliedFeatures()
155 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_2); in testAddImpliedFeatures_addsImpliedFeatures()
160 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.COMPOUND_DERIVED_FEATURE); in testAddImpliedFeatures_addsImpliedFeatures()
171 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet(ExampleBaseFeature.BASE_FEATURE_1); in testImpliedFeatures_returnsNewSetInstance()
178 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_1); in testImpliedFeatures_returnsImpliedFeatures()
181 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.DERIVED_FEATURE_2); in testImpliedFeatures_returnsImpliedFeatures()
184 features = Sets.<Feature<?>>newHashSet(ExampleDerivedFeature.COMPOUND_DERIVED_FEATURE); in testImpliedFeatures_returnsImpliedFeatures()
198 Sets.<Feature<?>>newHashSet(ExampleBaseFeature.BASE_FEATURE_1), in testBuildTesterRequirements_class()
[all …]
/external/libcxx/benchmarks/
Dordered_set.bench.cpp46 std::vector<std::set<uint64_t> > Sets; member
53 R.Sets.resize(1); in makeTestingSets()
56 R.Sets[0].insert(2 * I); in makeTestingSets()
59 R.Sets.resize(NumTables, R.Sets[0]); in makeTestingSets()
91 std::vector<std::set<uint64_t>> Sets(NumTables); in run() local
93 for (auto& Set : Sets) { in run()
114 for (auto& Set : Data.Sets) { in run()
135 for (auto& Set : Data.Sets) { in run()
156 for (auto& Set : Data.Sets) { in run()
177 for (auto& Set : Data.Sets) { in run()
[all …]
/external/llvm-project/libcxx/benchmarks/
Dordered_set.bench.cpp45 std::vector<std::set<uint64_t> > Sets; member
52 R.Sets.resize(1); in makeTestingSets()
55 R.Sets[0].insert(2 * I); in makeTestingSets()
58 R.Sets.resize(NumTables, R.Sets[0]); in makeTestingSets()
90 std::vector<std::set<uint64_t>> Sets(NumTables); in run() local
92 for (auto& Set : Sets) { in run()
113 for (auto& Set : Data.Sets) { in run()
134 for (auto& Set : Data.Sets) { in run()
155 for (auto& Set : Data.Sets) { in run()
176 for (auto& Set : Data.Sets) { in run()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp73 StratifiedSets<InstantiatedValue> Sets; member in CFLSteensAAResult::FunctionInfo
81 return Sets; in getStratifiedSets()
119 : Sets(std::move(S)) { in FunctionInfo()
148 auto &Link = Sets.getLink(SetIndex); in FunctionInfo()
167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo()
298 auto &Sets = MaybeInfo->getStratifiedSets(); in query() local
299 auto MaybeA = Sets.find(InstantiatedValue{ValA, 0}); in query()
303 auto MaybeB = Sets.find(InstantiatedValue{ValB, 0}); in query()
309 auto AttrsA = Sets.getLink(SetA.Index).Attrs; in query()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp73 StratifiedSets<InstantiatedValue> Sets; member in CFLSteensAAResult::FunctionInfo
81 return Sets; in getStratifiedSets()
119 : Sets(std::move(S)) { in FunctionInfo()
148 auto &Link = Sets.getLink(SetIndex); in FunctionInfo()
167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo()
298 auto &Sets = MaybeInfo->getStratifiedSets(); in query() local
299 auto MaybeA = Sets.find(InstantiatedValue{ValA, 0}); in query()
303 auto MaybeB = Sets.find(InstantiatedValue{ValB, 0}); in query()
309 auto AttrsA = Sets.getLink(SetA.Index).Attrs; in query()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DSetMultimapAsMapTester.java23 import com.google.common.collect.Sets;
73 expected.put(k0(), Sets.newHashSet(v0(), v3())); in testEquals()
74 expected.put(k1(), Sets.newHashSet(v0())); in testEquals()
82 Set<Entry<K, Collection<V>>> expected = Sets.newHashSet(); in testEntrySetEquals()
83 expected.add(Helpers.mapEntry(k0(), (Collection<V>) Sets.newHashSet(v0(), v3()))); in testEntrySetEquals()
84 expected.add(Helpers.mapEntry(k1(), (Collection<V>) Sets.newHashSet(v0()))); in testEntrySetEquals()
95 assertEquals(Collections.singletonMap(k0(), Sets.newHashSet(v0(), v3())), multimap().asMap()); in testValuesRemove()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSetMultimapAsMapTester.java23 import com.google.common.collect.Sets;
73 expected.put(k0(), Sets.newHashSet(v0(), v3())); in testEquals()
74 expected.put(k1(), Sets.newHashSet(v0())); in testEquals()
82 Set<Entry<K, Collection<V>>> expected = Sets.newHashSet(); in testEntrySetEquals()
83 expected.add(Helpers.mapEntry(k0(), (Collection<V>) Sets.newHashSet(v0(), v3()))); in testEntrySetEquals()
84 expected.add(Helpers.mapEntry(k1(), (Collection<V>) Sets.newHashSet(v0()))); in testEntrySetEquals()
95 assertEquals(Collections.singletonMap(k0(), Sets.newHashSet(v0(), v3())), multimap().asMap()); in testValuesRemove()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeySimplifier.java18 import com.google.common.collect.Sets;
19 import com.google.common.collect.Sets.SetView;
94 checkArgument(Sets.intersection(onKeys, dontCareKeys).size() == 0); in simplifyInput()
149 TreeSet<ModifierKey> onKeysForOutput = Sets.newTreeSet(); in simplifyToString()
150 TreeSet<ModifierKey> dontCareKeysForOutput = Sets.newTreeSet(); in simplifyToString()
213 Set<ModifierKeyCombination> finalCombinations = Sets.newHashSet(combinations); in simplifySet()
233 Iterator<ModifierKeyCombination> iterator = Sets.newTreeSet(combinations).iterator(); in simplifyCombinationsOnePass()
234 Set<ModifierKeyCombination> finalCombinations = Sets.newHashSet(); in simplifyCombinationsOnePass()
263 SetView<ModifierKey> onKeyDifferences = Sets.symmetricDifference(combination1.onKeys(), in simplifyTwoCombinations()
265 SetView<ModifierKey> offKeyDifferences = Sets.symmetricDifference(combination1.offKeys(), in simplifyTwoCombinations()
[all …]
/external/libxkbcommon/test/data/compat/
Dmisc13 // Sets the "Alt" virtual modifier.
35 // Sets the "Meta" virtual modifier.
57 // Sets the "Super" virtual modifier.
79 // Sets the "Hyper" virtual modifier.
101 // Sets the "ScrollLock" virtual modifier and
102 // makes it actually lock when pressed. Sets
/external/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp70 StratifiedSets<InstantiatedValue> Sets; member in CFLSteensAAResult::FunctionInfo
78 return Sets; in getStratifiedSets()
131 : Sets(std::move(S)) { in FunctionInfo()
160 auto &Link = Sets.getLink(SetIndex); in FunctionInfo()
179 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
188 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo()
309 auto &Sets = MaybeInfo->getStratifiedSets(); in query() local
310 auto MaybeA = Sets.find(InstantiatedValue{ValA, 0}); in query()
314 auto MaybeB = Sets.find(InstantiatedValue{ValB, 0}); in query()
320 auto AttrsA = Sets.getLink(SetA.Index).Attrs; in query()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugPubTable.cpp26 Sets.clear(); in extract()
30 Sets.push_back({}); in extract()
31 Set &NewSet = Sets.back(); in extract()
38 Sets.pop_back(); in extract()
94 for (const Set &S : Sets) { in dump()
/external/curl/docs/cmdline-opts/
Dtelnet-option.d9 TTYPE=<term> Sets the terminal type.
11 XDISPLOC=<X display> Sets the X display location.
13 NEW_ENV=<var,val> Sets an environment variable.

12345678910>>...30