/libcore/luni/src/main/java/java/net/ |
D | InterfaceAddress.java | 84 InterfaceAddress rhs = (InterfaceAddress) obj; in equals() local 85 return ((address == null) ? rhs.address == null : address.equals(rhs.address)) && in equals() 86 (rhs.prefixLength == prefixLength) && in equals() 87 …((broadcastAddress == null) ? rhs.broadcastAddress == null : broadcastAddress.equals(rhs.broadcast… in equals()
|
D | NetworkInterface.java | 336 NetworkInterface rhs = (NetworkInterface) obj; in equals() local 338 return interfaceIndex == rhs.interfaceIndex && in equals() 339 name.equals(rhs.name) && in equals() 340 addresses.equals(rhs.addresses); in equals()
|
/libcore/luni/src/main/java/java/text/ |
D | DateFormatSymbols.java | 191 DateFormatSymbols rhs = (DateFormatSymbols) object; in equals() local 192 return localPatternChars.equals(rhs.localPatternChars) && in equals() 193 Arrays.equals(ampms, rhs.ampms) && in equals() 194 Arrays.equals(eras, rhs.eras) && in equals() 195 Arrays.equals(months, rhs.months) && in equals() 196 Arrays.equals(shortMonths, rhs.shortMonths) && in equals() 197 Arrays.equals(shortWeekdays, rhs.shortWeekdays) && in equals() 198 Arrays.equals(weekdays, rhs.weekdays) && in equals() 199 timeZoneStringsEqual(this, rhs); in equals() 202 private static boolean timeZoneStringsEqual(DateFormatSymbols lhs, DateFormatSymbols rhs) { in timeZoneStringsEqual() argument [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | RuleBasedCollatorICU.java | 141 RuleBasedCollatorICU rhs = (RuleBasedCollatorICU) object; in equals() local 142 return getRules().equals(rhs.getRules()) && in equals() 143 getStrength() == rhs.getStrength() && in equals() 144 getDecomposition() == rhs.getDecomposition(); in equals()
|
D | NativeBreakIterator.java | 63 NativeBreakIterator rhs = (NativeBreakIterator) object; in equals() local 64 return type == rhs.type && charIterator.equals(rhs.charIterator); in equals()
|
D | TimeZoneNames.java | 108 public int compare(String[] lhs, String[] rhs) { 109 return lhs[OLSON_NAME].compareTo(rhs[OLSON_NAME]);
|
/libcore/luni/src/main/java/java/lang/ |
D | Short.java | 117 public static int compare(long lhs, long rhs) { in compare() argument 118 return lhs > rhs ? 1 : (lhs < rhs ? -1 : 0); in compare()
|
D | Byte.java | 118 public static int compare(byte lhs, byte rhs) { in compare() argument 119 return lhs > rhs ? 1 : (lhs < rhs ? -1 : 0); in compare()
|
D | Boolean.java | 134 public static int compare(boolean lhs, boolean rhs) { in compare() argument 135 return lhs == rhs ? 0 : lhs ? 1 : -1; in compare()
|
D | Integer.java | 133 public static int compare(int lhs, int rhs) { in compare() argument 134 return lhs < rhs ? -1 : (lhs == rhs ? 0 : 1); in compare()
|
D | Long.java | 120 public static int compare(long lhs, long rhs) { in compare() argument 121 return lhs < rhs ? -1 : (lhs == rhs ? 0 : 1); in compare()
|
D | Character.java | 1619 public static int compare(char lhs, char rhs) { in compare() argument 1620 return lhs - rhs; in compare()
|
/libcore/luni/src/main/java/java/util/ |
D | Comparator.java | 55 public int compare(T lhs, T rhs); in compare() argument
|
/libcore/luni/src/main/java/java/lang/reflect/ |
D | Method.java | 389 Method rhs = (Method) object; in equals() local 392 return declaringClass.equals(rhs.declaringClass) && in equals() 393 name.equals(rhs.name) && in equals() 394 getModifiers() == rhs.getModifiers() && in equals() 395 returnType.equals(rhs.returnType) && in equals() 396 Arrays.equals(parameterTypes, rhs.parameterTypes); in equals()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeCollation.cpp | 44 ScopedStringChars rhs(env, javaRhs); in NativeCollation_compare() local 45 if (rhs.get() == NULL) { in NativeCollation_compare() 48 return ucol_strcoll(toCollator(address), lhs.get(), lhs.size(), rhs.get(), rhs.size()); in NativeCollation_compare()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 487 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/java/math/ |
D | BigInteger.java | 384 BigInt rhs = value.getBigInt(); in add() local 385 if (rhs.sign() == 0) { in add() 391 return new BigInteger(BigInt.addition(lhs, rhs)); in add() 399 BigInt rhs = value.getBigInt(); in subtract() local 400 if (rhs.sign() == 0) { in subtract() 403 return new BigInteger(BigInt.subtraction(lhs, rhs)); in subtract()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 432 public int compare(Provider lhs, Provider rhs) { in sortByName() 433 return lhs.getName().compareTo(rhs.getName()); in sortByName()
|