Home
last modified time | relevance | path

Searched refs:compareUnsigned (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DByteTest.java68 assertTrue(Byte.compareUnsigned(a, b) < 0); in testCompareUnsigned()
69 assertTrue(Byte.compareUnsigned(a, y) < 0); in testCompareUnsigned()
70 assertTrue(Byte.compareUnsigned(a, z) < 0); in testCompareUnsigned()
71 assertTrue(Byte.compareUnsigned(b, y) < 0); in testCompareUnsigned()
72 assertTrue(Byte.compareUnsigned(b, z) < 0); in testCompareUnsigned()
73 assertTrue(Byte.compareUnsigned(y, z) < 0); in testCompareUnsigned()
75 assertTrue(Byte.compareUnsigned(b, a) > 0); in testCompareUnsigned()
76 assertTrue(Byte.compareUnsigned(y, a) > 0); in testCompareUnsigned()
77 assertTrue(Byte.compareUnsigned(y, b) > 0); in testCompareUnsigned()
78 assertTrue(Byte.compareUnsigned(z, a) > 0); in testCompareUnsigned()
[all …]
DShortTest.java68 assertTrue(Short.compareUnsigned(a, b) < 0); in testCompareUnsigned()
69 assertTrue(Short.compareUnsigned(a, y) < 0); in testCompareUnsigned()
70 assertTrue(Short.compareUnsigned(a, z) < 0); in testCompareUnsigned()
71 assertTrue(Short.compareUnsigned(b, y) < 0); in testCompareUnsigned()
72 assertTrue(Short.compareUnsigned(b, z) < 0); in testCompareUnsigned()
73 assertTrue(Short.compareUnsigned(y, z) < 0); in testCompareUnsigned()
75 assertTrue(Short.compareUnsigned(b, a) > 0); in testCompareUnsigned()
76 assertTrue(Short.compareUnsigned(y, a) > 0); in testCompareUnsigned()
77 assertTrue(Short.compareUnsigned(y, b) > 0); in testCompareUnsigned()
78 assertTrue(Short.compareUnsigned(z, a) > 0); in testCompareUnsigned()
[all …]
DIntegerTest.java166 Integer.compareUnsigned(ordVals[i], ordVals[j]));
DLongTest.java174 Long.compareUnsigned(ordVals[i], ordVals[j]));
/libcore/ojluni/src/main/java/java/lang/
DLong.java708 if (compareUnsigned(result, first) < 0) { in parseUnsignedLong()
1272 public static int compareUnsigned(long x, long y) { in compareUnsigned() method in Long
1299 return (compareUnsigned(dividend, divisor)) < 0 ? 0L :1L; in divideUnsigned()
1332 if (compareUnsigned(dividend, divisor) < 0) // Avoid explicit check for 0 divisor in remainderUnsigned()
DShort.java497 public static int compareUnsigned(short x, short y) { in compareUnsigned() method in Short
DInteger.java1284 public static int compareUnsigned(int x, int y) {
/libcore/luni/src/main/java/libcore/io/
DNioBufferIterator.java44 if (Long.compareUnsigned(address, MAX_VALID_ADDRESS - length) > 0) { in NioBufferIterator()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DLong.java189 public static int compareUnsigned(long x, long y) { in compareUnsigned() method in Long
DInteger.java185 public static int compareUnsigned(int x, int y) { in compareUnsigned() method in Integer
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DLong.annotated.java99 public static int compareUnsigned(long x, long y) { throw new RuntimeException("Stub!"); } in compareUnsigned() method in Long
DInteger.annotated.java98 public static int compareUnsigned(int x, int y) { throw new RuntimeException("Stub!"); } in compareUnsigned() method in Integer