Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/net/
DInterfaceAddress.java84 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()
DNetworkInterface.java336 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/
DDateFormatSymbols.java191 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/
DRuleBasedCollatorICU.java141 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()
DNativeBreakIterator.java63 NativeBreakIterator rhs = (NativeBreakIterator) object; in equals() local
64 return type == rhs.type && charIterator.equals(rhs.charIterator); in equals()
DTimeZoneNames.java108 public int compare(String[] lhs, String[] rhs) {
109 return lhs[OLSON_NAME].compareTo(rhs[OLSON_NAME]);
/libcore/luni/src/main/java/java/lang/
DShort.java117 public static int compare(long lhs, long rhs) { in compare() argument
118 return lhs > rhs ? 1 : (lhs < rhs ? -1 : 0); in compare()
DByte.java118 public static int compare(byte lhs, byte rhs) { in compare() argument
119 return lhs > rhs ? 1 : (lhs < rhs ? -1 : 0); in compare()
DBoolean.java134 public static int compare(boolean lhs, boolean rhs) { in compare() argument
135 return lhs == rhs ? 0 : lhs ? 1 : -1; in compare()
DInteger.java133 public static int compare(int lhs, int rhs) { in compare() argument
134 return lhs < rhs ? -1 : (lhs == rhs ? 0 : 1); in compare()
DLong.java120 public static int compare(long lhs, long rhs) { in compare() argument
121 return lhs < rhs ? -1 : (lhs == rhs ? 0 : 1); in compare()
DCharacter.java1619 public static int compare(char lhs, char rhs) { in compare() argument
1620 return lhs - rhs; in compare()
/libcore/luni/src/main/java/java/util/
DComparator.java55 public int compare(T lhs, T rhs); in compare() argument
/libcore/luni/src/main/java/java/lang/reflect/
DMethod.java389 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/
Dlibcore_icu_NativeCollation.cpp44 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/
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/java/math/
DBigInteger.java384 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/
DECDHKeyAgreementTest.java432 public int compare(Provider lhs, Provider rhs) { in sortByName()
433 return lhs.getName().compareTo(rhs.getName()); in sortByName()