Home
last modified time | relevance | path

Searched refs:natural (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/guava/guava-tests/test/com/google/common/collect/
DTreeMultimapNaturalTest.java73 Ordering.natural().nullsFirst(), Ordering.natural().nullsFirst()); in suite()
86 .compare(left.getKey(), right.getKey(), Ordering.natural().nullsFirst()) in suite()
87 .compare(left.getValue(), right.getValue(), Ordering.natural().nullsFirst()) in suite()
109 Ordering.natural().nullsFirst(), Ordering.natural()); in suite()
118 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite()
213 Ordering.natural(), Ordering.natural().nullsFirst()); in suite()
220 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite()
234 Ordering.natural(), Ordering.natural().nullsFirst()); in suite()
241 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite()
338 Ordering.natural();
[all …]
DSortedIterablesTest.java31 assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet())); in testSameComparator()
35 SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet())); in testSameComparator()
37 assertTrue(SortedIterables.hasSameComparator(Ordering.natural().reverse(), in testSameComparator()
38 Sets.newTreeSet(Ordering.natural().reverse()))); in testSameComparator()
42 assertEquals(Ordering.natural(), SortedIterables.comparator(Sets.newTreeSet())); in testComparator()
DOrderingTest.java76 Ordering<Integer> comparator = Ordering.natural(); in testNatural()
104 Ordering.from(Ordering.<String>natural()); in testFrom()
107 .addEqualityGroup(orderingFromOrdering, Ordering.natural()) in testFrom()
240 return Ordering.natural().onResultOf(CharAtFunction.values()[index]);
317 .addEqualityGroup(Ordering.natural().reverse())
338 = Ordering.natural().reverse();
342 = Ordering.natural().onResultOf(StringLengthFunction.StringLength);
350 Ordering.natural().onResultOf(StringLengthFunction.StringLength))
371 .addEqualityGroup(Ordering.natural())
380 Ordering<String> ordering = Ordering.natural();
[all …]
DImmutableTableTest.java228 = builder.orderRowsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll()
229 .orderColumnsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll()
240 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse()
241 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse()
263 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense()
264 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense()
285 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_sparse()
303 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_dense()
320 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_sparse()
338 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_dense()
DImmutableSortedMapTest.java490 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfEmptyMap()
498 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfSingletonMap()
511 assertSame(Ordering.natural(), copy.comparator()); in testCopyOf()
515 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfExplicitComparator()
529 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfImmutableSortedSetDifferentComparator()
549 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfSortedNatural()
553 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfSortedExplicit()
622 assertEquals(Ordering.natural().reverse(), map.comparator()); in testBuilderReverseOrder()
626 Comparator<String> comparator = Ordering.natural().reverse(); in testBuilderComparator()
779 ImmutableSortedMap.Builder<SelfComparableExample, Object> natural = in testBuilderGenerics_SelfComparable() local
[all …]
DGeneralRangeTest.java37 private static final Ordering<Integer> ORDERING = Ordering.natural().nullsFirst();
173 assertEquals(GeneralRange.all(Ordering.natural()), GeneralRange.from(Range.all()));
178 assertEquals(GeneralRange.upTo(Ordering.natural(), 3, endpointType),
181 assertEquals(GeneralRange.downTo(Ordering.natural(), 3, endpointType),
189 assertEquals(GeneralRange.range(Ordering.natural(), 3, lowerType, 4, upperType),
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultimapNaturalTest.java123 Ordering.natural();
126 Ordering.natural().reverse().nullsFirst();
141 assertSame(Ordering.natural(), copyFromTree.keyComparator()); in testCreateFromTreeMultimap()
142 assertSame(Ordering.natural(), copyFromTree.valueComparator()); in testCreateFromTreeMultimap()
143 assertSame(Ordering.natural(), copyFromTree.get(1.0).comparator()); in testCreateFromTreeMultimap()
159 assertEquals(Ordering.natural(), copyFromHash.keyComparator()); in testCreateFromHashMultimap()
160 assertEquals(Ordering.natural(), copyFromHash.valueComparator()); in testCreateFromHashMultimap()
177 assertSame(Ordering.natural(), copyFromSorted.keyComparator()); in testCreateFromSortedSetMultimap()
178 assertSame(Ordering.natural(), copyFromSorted.valueComparator()); in testCreateFromSortedSetMultimap()
179 assertSame(Ordering.natural(), copyFromSorted.get(1.0).comparator()); in testCreateFromSortedSetMultimap()
[all …]
DOrderingTest.java74 Ordering<Integer> comparator = Ordering.natural(); in testNatural()
102 Ordering.from(Ordering.<String>natural()); in testFrom()
105 .addEqualityGroup(orderingFromOrdering, Ordering.natural()) in testFrom()
238 return Ordering.natural().onResultOf(CharAtFunction.values()[index]);
315 .addEqualityGroup(Ordering.natural().reverse())
336 = Ordering.natural().reverse();
340 = Ordering.natural().onResultOf(StringLengthFunction.StringLength);
348 Ordering.natural().onResultOf(StringLengthFunction.StringLength))
369 .addEqualityGroup(Ordering.natural())
378 Ordering<String> ordering = Ordering.natural();
[all …]
DImmutableTableTest.java227 = builder.orderRowsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll()
228 .orderColumnsBy(Ordering.natural()) in testBuilder_orderRowsAndColumnsBy_putAll()
239 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse()
240 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_sparse()
262 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense()
263 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderRowsAndColumnsBy_dense()
284 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_sparse()
302 builder.orderRowsBy(Ordering.natural()); in testBuilder_orderRowsBy_dense()
319 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_sparse()
337 builder.orderColumnsBy(Ordering.natural()); in testBuilder_orderColumnsBy_dense()
DImmutableSortedMapTest.java413 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfEmptyMap()
421 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfSingletonMap()
434 assertSame(Ordering.natural(), copy.comparator()); in testCopyOf()
438 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfExplicitComparator()
452 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfImmutableSortedSetDifferentComparator()
472 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfSortedNatural()
476 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfSortedExplicit()
545 assertEquals(Ordering.natural().reverse(), map.comparator()); in testBuilderReverseOrder()
549 Comparator<String> comparator = Ordering.natural().reverse(); in testBuilderComparator()
680 ImmutableSortedMap.Builder<SelfComparableExample, Object> natural = in testBuilderGenerics_SelfComparable() local
[all …]
DGeneralRangeTest.java35 private static final Ordering<Integer> ORDERING = Ordering.natural().nullsFirst();
171 assertEquals(GeneralRange.all(Ordering.natural()), GeneralRange.from(Range.all()));
176 assertEquals(GeneralRange.upTo(Ordering.natural(), 3, endpointType),
179 assertEquals(GeneralRange.downTo(Ordering.natural(), 3, endpointType),
187 assertEquals(GeneralRange.range(Ordering.natural(), 3, lowerType, 4, upperType),
DTreeMultimapExplicitTest.java67 Ordering.<Integer>natural().reverse().nullsFirst();
107 assertEquals(Ordering.natural(), copy.keyComparator()); in testMultimapCreateFromTreeMultimap()
108 assertEquals(Ordering.natural(), copy.valueComparator()); in testMultimapCreateFromTreeMultimap()
109 assertEquals(Ordering.natural(), copy.get("google").comparator()); in testMultimapCreateFromTreeMultimap()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSet.java54 private static final Comparator NATURAL_ORDER = Ordering.natural();
81 return ofInternal(Ordering.natural(), element); in of()
87 return ofInternal(Ordering.natural(), e1, e2); in of()
93 return ofInternal(Ordering.natural(), e1, e2, e3); in of()
99 return ofInternal(Ordering.natural(), e1, e2, e3, e4); in of()
105 return ofInternal(Ordering.natural(), e1, e2, e3, e4, e5); in of()
116 return ofInternal(Ordering.natural(), (E[]) all.toArray(new Comparable[0])); in of()
136 return copyOfInternal((Ordering<E>) Ordering.natural(), (Collection) elements, false); in copyOf()
140 return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterable) elements, false); in copyOf()
144 return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterator) elements); in copyOf()
[all …]
DTreeMultimap.java83 return new TreeMultimap<K, V>(Ordering.natural(), Ordering.natural()); in create()
109 return new TreeMultimap<K, V>(Ordering.natural(), Ordering.natural(), in create()
DImmutableSortedMap.java41 static final Comparator NATURAL_ORDER = Ordering.natural();
84 return create(Ordering.natural(), entryOf(k1, v1)); in of()
89 return new Builder<K, V>(Ordering.natural()) in of()
95 return new Builder<K, V>(Ordering.natural()) in of()
101 return new Builder<K, V>(Ordering.natural()) in of()
107 return new Builder<K, V>(Ordering.natural()) in of()
113 return copyOfInternal((Map) map, (Ordering<K>) Ordering.natural()); in copyOf()
173 return new Builder<K, V>(Ordering.natural()); in naturalOrder()
181 return new Builder<K, V>(Ordering.natural().reverse()); in reverseOrder()
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedMultiset.java86 private static final Comparator<Comparable> NATURAL_ORDER = Ordering.natural();
118 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); in of()
129 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); in of()
141 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); in of()
153 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); in of()
169 return copyOf(Ordering.natural(), all); in of()
179 return copyOf(Ordering.natural(), Arrays.asList(elements)); in copyOf()
208 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf()
226 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf()
402 return new Builder<E>(Ordering.natural().reverse()); in reverseOrder()
[all …]
DImmutableSortedSet.java98 Ordering.natural();
130 ImmutableList.of(element), Ordering.natural()); in of()
143 return construct(Ordering.natural(), 2, e1, e2); in of()
156 return construct(Ordering.natural(), 3, e1, e2, e3); in of()
169 return construct(Ordering.natural(), 4, e1, e2, e3, e4); in of()
182 return construct(Ordering.natural(), 5, e1, e2, e3, e4, e5); in of()
204 return construct(Ordering.natural(), contents.length, (E[]) contents); in of()
219 return construct(Ordering.natural(), elements.length, elements.clone()); in copyOf()
253 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf()
291 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf()
[all …]
DImmutableSortedMap.java65 private static final Comparator<Comparable> NATURAL_ORDER = Ordering.natural();
71 if (Ordering.natural().equals(comparator)) { in emptyMap()
138 return fromEntries(Ordering.natural(), false, 2, entryOf(k1, v1), entryOf(k2, v2)); in of()
151 return fromEntries(Ordering.natural(), false, 3, entryOf(k1, v1), entryOf(k2, v2), in of()
165 return fromEntries(Ordering.natural(), false, 4, entryOf(k1, v1), entryOf(k2, v2), in of()
179 return fromEntries(Ordering.natural(), false, 5, entryOf(k1, v1), entryOf(k2, v2), in of()
205 Ordering<K> naturalOrder = (Ordering<K>) Ordering.<Comparable>natural(); in copyOf()
311 return new Builder<K, V>(Ordering.natural()); in naturalOrder()
331 return new Builder<K, V>(Ordering.natural().reverse()); in reverseOrder()
DTreeMultimap.java89 return new TreeMultimap<K, V>(Ordering.natural(), Ordering.natural()); in create()
115 return new TreeMultimap<K, V>(Ordering.natural(), Ordering.natural(), in create()
/external/clang/test/Parser/
Dpragma-options.c9 #pragma options align=natural
19 #pragma align=natural
/external/harfbuzz_ng/test/shaping/texts/in-tree/shaper-indic/indic/script-gujarati/utrrs/
DREADME2 …graphical rules applicable to a natural language can be evaluated by one with no knowledge or abil…
/external/harfbuzz_ng/test/shaping/texts/in-tree/shaper-indic/indic/script-sinhala/utrrs/
DREADME2 …graphical rules applicable to a natural language can be evaluated by one with no knowledge or abil…
/external/harfbuzz_ng/test/shaping/texts/in-tree/shaper-indic/indic/script-tamil/utrrs/
DREADME2 …graphical rules applicable to a natural language can be evaluated by one with no knowledge or abil…
/external/harfbuzz_ng/test/shaping/texts/in-tree/shaper-indic/indic/script-oriya/utrrs/
DREADME2 …graphical rules applicable to a natural language can be evaluated by one with no knowledge or abil…
/external/harfbuzz_ng/test/shaping/texts/in-tree/shaper-indic/indic/script-telugu/utrrs/
DREADME2 …graphical rules applicable to a natural language can be evaluated by one with no knowledge or abil…

12345678910