Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/awt/font/
DNumericShaper.java1378 NumericShaper rhs = (NumericShaper)o; in equals() local
1380 if (rhs.rangeSet != null) { in equals()
1381 return isContextual() == rhs.isContextual() in equals()
1382 && rangeSet.equals(rhs.rangeSet) in equals()
1383 && shapingRange == rhs.shapingRange; in equals()
1385 return isContextual() == rhs.isContextual() in equals()
1386 && rangeSet.equals(Range.maskToRangeSet(rhs.mask)) in equals()
1387 && shapingRange == Range.indexToRange(rhs.key); in equals()
1388 } else if (rhs.rangeSet != null) { in equals()
1391 return isContextual() == rhs.isContextual() in equals()
[all …]
/libcore/luni/src/test/java/libcore/libcore/util/
DHexEncodingTest.java112 private static void assertArraysEqual(char[] lhs, char[] rhs) { in assertArraysEqual() argument
113 assertEquals(new String(lhs), new String(rhs)); in assertArraysEqual()
116 private static void assertArraysEqual(byte[] lhs, byte[] rhs) { in assertArraysEqual() argument
117 assertEquals(Arrays.toString(lhs), Arrays.toString(rhs)); in assertArraysEqual()
/libcore/benchmarks/src/benchmarks/regression/
DCollectionsBenchmark.java33 public int compare(Integer lhs, Integer rhs) {
35 int rhsAsInt = rhs.intValue();
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java487 public abstract Duration add(final Duration rhs); in add() argument
613 public Duration subtract(final Duration rhs) { in subtract() argument
614 return add(rhs.negate()); in subtract()
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java115 public int compare(String[] lhs, String[] rhs) {
116 return lhs[OLSON_NAME].compareTo(rhs[OLSON_NAME]);
/libcore/luni/src/main/java/java/math/
DBigInteger.java420 BigInt rhs = value.getBigInt(); in add() local
421 if (rhs.sign() == 0) { in add()
427 return new BigInteger(BigInt.addition(lhs, rhs)); in add()
435 BigInt rhs = value.getBigInt(); in subtract() local
436 if (rhs.sign() == 0) { in subtract()
439 return new BigInteger(BigInt.subtraction(lhs, rhs)); in subtract()
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java252 public int compare(Integer lhs, Integer rhs) { in testBinarySearch_comparatorThatReturnsMinAndMaxValue()
253 final int compare = lhs.compareTo(rhs); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()