Home
last modified time | relevance | path

Searched refs:ORDERING (Results 1 – 8 of 8) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java35 private static final Ordering<Integer> ORDERING = Ordering.natural().nullsFirst(); field in GeneralRangeTest
43 GeneralRange.range(ORDERING, 4, lboundType, 2, uboundType); in testCreateEmptyRangeFails()
54 GeneralRange.range(ORDERING, i, OPEN, i, OPEN); in testCreateEmptyRangeOpenOpenFails()
63 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds()
72 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds()
81 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); in testCreateSingletonRangeSucceeds()
89 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); in testSingletonRange()
91 assertEquals(ORDERING.compare(i, 3) == 0, range.contains(i)); in testSingletonRange()
97 GeneralRange<Integer> range = GeneralRange.downTo(ORDERING, 3, lBoundType); in testLowerRange()
100 ORDERING.compare(i, 3) > 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), in testLowerRange()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java35 private static final Ordering<Integer> ORDERING = Ordering.natural().nullsFirst(); field in GeneralRangeTest
43 GeneralRange.range(ORDERING, 4, lboundType, 2, uboundType); in testCreateEmptyRangeFails()
54 GeneralRange.range(ORDERING, i, OPEN, i, OPEN); in testCreateEmptyRangeOpenOpenFails()
63 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds()
72 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds()
81 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); in testCreateSingletonRangeSucceeds()
89 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); in testSingletonRange()
91 assertEquals(ORDERING.compare(i, 3) == 0, range.contains(i)); in testSingletonRange()
97 GeneralRange<Integer> range = GeneralRange.downTo(ORDERING, 3, lBoundType); in testLowerRange()
100 ORDERING.compare(i, 3) > 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), in testLowerRange()
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DSortedCopyBenchmark.java110 dummy += ORDERING.sortedCopy(input).get(0); in ordering()
114 dummy += ORDERING.immutableSortedCopy(input).get(0); in ordering()
135 private static final Ordering<Integer> ORDERING = Ordering.natural(); field in SortedCopyBenchmark
/external/guava/guava-tests/benchmark/com/google/common/collect/
DSortedCopyBenchmark.java110 dummy += ORDERING.sortedCopy(input).get(0); in ordering()
114 dummy += ORDERING.immutableSortedCopy(input).get(0); in ordering()
135 private static final Ordering<Integer> ORDERING = Ordering.natural(); field in SortedCopyBenchmark
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
DFakeResult.java20 private static final Comparator<FakeResult> ORDERING = field in FakeResult
85 int signum = ORDERING.compare(this, (FakeResult) other); in compareTo()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DRbPath.java32 private static final Comparator<RbPath> ORDERING = field in RbPath
217 return ORDERING.compare(this, other); in compareTo()
/external/cldr/tools/java/org/unicode/cldr/icu/
DLDMLConstants.java262 public static final String ORDERING = "ordering"; field in LDMLConstants
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Drender.cl1557 // ORDERING SO THAT COLOR CHANNELS MATCH 0xAARRGGBBAA ORDER
1608 // ORDERING SO THAT COLOR CHANNELS MATCH 0xAARRGGBBAA ORDER