Home
last modified time | relevance | path

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

1234567

/external/guava/guava-tests/test/com/google/common/collect/
DTreeMultimapNaturalTest.java63 Ordering.natural().nullsFirst(), Ordering.natural().nullsFirst()); in suite()
76 .compare(left.getKey(), right.getKey(), Ordering.natural().nullsFirst()) in suite()
77 .compare(left.getValue(), right.getValue(), Ordering.natural().nullsFirst()) in suite()
181 Ordering.natural();
184 Ordering.natural().reverse().nullsFirst();
199 assertSame(Ordering.natural(), copyFromTree.keyComparator()); in testCreateFromTreeMultimap()
200 assertSame(Ordering.natural(), copyFromTree.valueComparator()); in testCreateFromTreeMultimap()
201 assertSame(Ordering.natural(), copyFromTree.get(1.0).comparator()); in testCreateFromTreeMultimap()
217 assertEquals(Ordering.natural(), copyFromHash.keyComparator()); in testCreateFromHashMultimap()
218 assertEquals(Ordering.natural(), copyFromHash.valueComparator()); in testCreateFromHashMultimap()
[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.java476 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfEmptyMap()
484 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfSingletonMap()
497 assertSame(Ordering.natural(), copy.comparator()); in testCopyOf()
501 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfExplicitComparator()
515 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfImmutableSortedSetDifferentComparator()
535 assertSame(Ordering.natural(), copy.comparator()); in testCopyOfSortedNatural()
539 Comparator<String> comparator = Ordering.natural().reverse(); in testCopyOfSortedExplicit()
608 assertEquals(Ordering.natural().reverse(), map.comparator()); in testBuilderReverseOrder()
612 Comparator<String> comparator = Ordering.natural().reverse(); in testBuilderComparator()
765 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),
/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.java97 Ordering.natural();
129 ImmutableList.of(element), Ordering.natural()); in of()
142 return construct(Ordering.natural(), 2, e1, e2); in of()
155 return construct(Ordering.natural(), 3, e1, e2, e3); in of()
168 return construct(Ordering.natural(), 4, e1, e2, e3, e4); in of()
181 return construct(Ordering.natural(), 5, e1, e2, e3, e4, e5); in of()
203 return construct(Ordering.natural(), contents.length, (E[]) contents); in of()
218 return construct(Ordering.natural(), elements.length, elements.clone()); in copyOf()
252 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf()
290 Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable>natural(); in copyOf()
[all …]
DImmutableSortedMap.java64 private static final Comparator<Comparable> NATURAL_ORDER = Ordering.natural();
70 if (Ordering.natural().equals(comparator)) { in emptyMap()
137 return fromEntries(Ordering.natural(), false, 2, entryOf(k1, v1), entryOf(k2, v2)); in of()
150 return fromEntries(Ordering.natural(), false, 3, entryOf(k1, v1), entryOf(k2, v2), in of()
164 return fromEntries(Ordering.natural(), false, 4, entryOf(k1, v1), entryOf(k2, v2), in of()
178 return fromEntries(Ordering.natural(), false, 5, entryOf(k1, v1), entryOf(k2, v2), in of()
204 Ordering<K> naturalOrder = (Ordering<K>) Ordering.<Comparable>natural(); in copyOf()
310 return new Builder<K, V>(Ordering.natural()); in naturalOrder()
330 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-malayalam/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…
/external/harfbuzz_ng/test/shaping/texts/in-tree/shaper-indic/indic/script-gurmukhi/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-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-assamese/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…

1234567