Home
last modified time | relevance | path

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

12345678910

/external/guava/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java48 return Sets.union( in suite()
49 Sets.<String>newHashSet(), Sets.<String>newHashSet()); in suite()
60 return Sets.union( in suite()
61 Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); in suite()
70 return Sets.union( in suite()
71 Sets.<String>newHashSet(), Sets.newHashSet(elements)); in suite()
81 return Sets.union( in suite()
82 Sets.newHashSet(elements), Sets.<String>newHashSet()); in suite()
94 return Sets.union( in suite()
95 Sets.newLinkedHashSet(asList(elements)), 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.powerSet;
121 ? Sets.newHashSet( in suite()
123 : Sets.newHashSet(elements); in suite()
126 ? Sets.newHashSet( in suite()
128 : Sets.<String>newHashSet(); in suite()
129 return Sets.union(set1, set2); in suite()
138 Set<String> set1 = Sets.newHashSet(elements); in suite()
140 Set<String> set2 = Sets.newHashSet(elements); in suite()
[all …]
DAbstractSetMultimapTest.java65 equalMap.put("foo", Sets.newHashSet(1, nullValue())); in testAsMapEquals()
66 equalMap.put(nullKey(), Sets.newHashSet(3)); in testAsMapEquals()
72 equalMap.put("foo", Sets.newHashSet(3, nullValue())); in testAsMapEquals()
73 equalMap.put(nullKey(), Sets.newHashSet(1)); in testAsMapEquals()
113 assertEquals(Sets.newHashSet(1, 3), array[0]); in testAsMapValues()
118 asList(Sets.newHashSet(1, 3), Sets.newHashSet(3)))); in testAsMapValues()
120 asList(Sets.newHashSet(1, 3), Sets.newHashSet(1)))); in testAsMapValues()
161 Set<Map.Entry<String, Integer>> same = Sets.newHashSet( in testEntriesEquals()
172 Set<Map.Entry<String, Integer>> different3 = Sets.newHashSet( in testEntriesEquals()
179 Set<Map.Entry<String, Integer>> different4 = Sets.newHashSet( in testEntriesEquals()
DImmutableSortedSetTest.java485 copyOf(Sets.newTreeSet(asList("e", "a", "f", "b", "d", "c"))); in testCopyOf_sortedSet_ordering()
490 SortedSet<String> set = copyOf(Sets.<String>newTreeSet()); in testCopyOf_sortedSet_comparator()
539 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH); in testCopyOf_sortedSetIterable()
546 SortedSet<String> input = Sets.newTreeSet( in testCopyOfSorted_natural_ordering()
554 Sets.newTreeSet(asList("in", "the", "quick", "jumped", "over", "a")); in testCopyOfSorted_natural_comparator()
560 SortedSet<String> input = Sets.newTreeSet(STRING_LENGTH); in testCopyOfSorted_explicit_ordering()
569 assertEquals(set, Sets.newTreeSet(asList("a", "b", "c"))); in testEquals_bothDefaultOrdering()
570 assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set); in testEquals_bothDefaultOrdering()
571 assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d")))); in testEquals_bothDefaultOrdering()
572 assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set)); in testEquals_bothDefaultOrdering()
[all …]
DTreeMultimapNaturalTest.java20 import static com.google.common.collect.Sets.newHashSet;
156 assertEquals(Sets.newHashSet(1, 3), fooSet); in testHeadSet()
158 assertEquals(Sets.newHashSet(), missingSet); in testHeadSet()
161 assertEquals(Sets.newHashSet(0, 1, 3), fooSet); in testHeadSet()
164 assertEquals(Sets.newHashSet(2), multimap.get("missing")); in testHeadSet()
170 assertEquals(Sets.newHashSet(3, 7), fooSet); in testTailSet()
172 assertEquals(Sets.newHashSet(), missingSet); in testTailSet()
175 assertEquals(Sets.newHashSet(3, 6, 7), fooSet); in testTailSet()
178 assertEquals(Sets.newHashSet(9), multimap.get("missing")); in testTailSet()
184 assertEquals(Sets.newHashSet(3), fooSet); in testSubSet()
[all …]
DTransformedSetTest.java43 private static final Sets.InvertibleFunction<Integer, Integer> integerBijection =
44 new Sets.InvertibleFunction<Integer, Integer>() {
70 Set<Integer> original = Sets.newHashSet(0, 1, 2, 3); in testSimpleCases()
71 Set<Integer> transformed = Sets.transform(original, integerBijection); in testSimpleCases()
109 Set<Integer> invertedIntegers = Sets.newHashSet(Iterables.transform(integers, in create()
111 return Sets.transform(invertedIntegers, integerBijection); in create()
DLinkedHashMultimapTest.java20 import static com.google.common.collect.Sets.newHashSet;
21 import static com.google.common.collect.Sets.newLinkedHashSet;
229 Set<Entry<String, Integer>> set = Sets.newLinkedHashSet(asList( in testEntriesIteration()
324 (Collection<Integer>) Sets.newHashSet(2, 3, 6)), in testAsSetIteration()
326 (Collection<Integer>) Sets.newHashSet(4, 5, 10, 11)), in testAsSetIteration()
328 (Collection<Integer>) Sets.newHashSet(7, 8)), in testAsSetIteration()
330 (Collection<Integer>) Sets.newHashSet(9)), in testAsSetIteration()
332 (Collection<Integer>) Sets.newHashSet(12, 13, 14)) in testAsSetIteration()
DAbstractImmutableSetTest.java74 assertEquals(Sets.newHashSet("a", "b"), set); in testCreation_twoElements()
79 assertEquals(Sets.newHashSet("a", "b", "c"), set); in testCreation_threeElements()
84 assertEquals(Sets.newHashSet("a", "b", "c", "d"), set); in testCreation_fourElements()
89 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e"), set); in testCreation_fiveElements()
94 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f"), set); in testCreation_sixElements()
99 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g"), set); in testCreation_sevenElements()
104 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set); in testCreation_eightElements()
453 Sets.newHashSet(expected), copyOf(misleading)); in verifyThreadSafe()
DSortedIterablesTest.java55 assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet())); in testSameComparator()
62 Sets.newTreeSet(Ordering.natural().reverse()))); in testSameComparator()
DMapMakerTest.java119 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher()
169 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
170 assertTrue(Sets.intersection(map.keySet(), removalNotifications.keySet()).isEmpty()); in testRemovalNotification_clear_basher()
/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/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java24 import com.google.common.collect.Sets;
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);
51 this.concurrencyLevels = Sets.newLinkedHashSet(concurrencyLevels); in withConcurrencyLevels()
[all …]
/external/llvm/include/llvm/ADT/
DDeltaAlgorithm.h61 const changesetlist_ty &Sets);
69 bool Search(const changeset_ty &Changes, const changesetlist_ty &Sets,
75 const changesetlist_ty &Sets) {} in UpdatedSearchState() argument
/external/guava/guava/src/com/google/common/collect/
DForwardingSet.java72 return Sets.equalsImpl(this, object); in standardEquals()
83 return Sets.hashCodeImpl(this); in standardHashCode()
DWellBehavedMap.java61 return entrySet = Sets.transform( in entrySet()
66 extends Sets.InvertibleFunction<K, Map.Entry<K, V>> {
/external/chromium_org/ppapi/api/
Dppb_compositor_layer.idl58 * Sets the color of a solid color layer. If the layer is uninitialized,
86 * Sets the texture of a texture layer. If the layer is uninitialized,
111 * Sets the image of an image layer. If the layer is uninitialized,
135 * Sets a clip rectangle for a compositor layer. The Chromium compositor
150 * Sets a transform matrix which is used to composite the layer.
163 * Sets the opacity value which will be applied to the layer. The effective
181 * Sets the blend mode which is used to composite the layer.
194 * Sets a source rectangle for a texture layer or an image layer.
211 * Sets the premultiplied alpha for an texture layer.
/external/llvm/utils/TableGen/
DTableGen.cpp154 SetTheory Sets; in LLVMTableGenMain() local
155 Sets.addFieldExpander("Set", "Elements"); in LLVMTableGenMain()
159 const std::vector<Record*> *Elts = Sets.expand(Recs[i]); in LLVMTableGenMain()
/external/guava/guava-tests/test/com/google/common/io/
DCheckCloseSupplier.java19 import com.google.common.collect.Sets;
38 private final Set<Callback> open = Sets.newHashSet();
/external/sonivox/jet_tools/JetCreator/
DJetCreatorhlp.dat14 starting m/b/t = Sets the starting measure, beat, and tick for the event.
16 eventid = Sets the ID of the event. Each event must have a unique ID.
28 ending m/b/t = Sets the ending measure, beat, and tick for the segment.
55 starting m/b/t = Sets the starting measure, beat, and tick for the segment.
58 repeat = Sets the number of repeats for the segment.
60 transpose = Sets the transposition value for the segment, in semitones (half-steps).
67 ending m/b/t = Sets the ending measure, beat, and tick for the segment.
/external/guava/guava-tests/test/com/google/common/hash/
DHashFunctionsTest.java5 import com.google.common.collect.Sets;
43 Set<HashCode> hashcodes = Sets.newHashSetWithExpectedSize(objects); in assertInvariants()
/external/chromium_org/chrome/common/extensions/api/
Dhotword_private.idl39 // Sets the current enabled state of hotword search.
48 // Sets the current enabled state of audio logging in the extension.
53 // Sets the current state of the browser-requested hotword session.
/external/chromium_org/third_party/libsrtp/srtp/doc/
Dcrypto_kernel.txt41 * @brief Sets the initialization vector of a given cipher.
57 * @brief Sets a buffer to the keystream generated by the cipher.
/external/srtp/doc/
Dcrypto_kernel.txt41 * @brief Sets the initialization vector of a given cipher.
57 * @brief Sets a buffer to the keystream generated by the cipher.
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSet.java133 Set<E> delegate = Sets.newLinkedHashSet(); in copyOf()
157 Set<E> set = Sets.newLinkedHashSet(); in create()
174 return Sets.equalsImpl(this, obj); in equals()
/external/chromium_org/ppapi/api/private/finish_writing_these/
Dppb_pdf.idl123 /* Sets content restriction for a full-page plugin (i.e. can't copy/print).
154 /* Sets the selected text of the plugin. If |selected_text| is empty, then no
160 /* Sets the link under the cursor. If |url| is empty, then no link is under

12345678910