Searched refs:lhs (Results 1 – 8 of 8) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedHashSetTest.java | 237 LinkedHashSet<Integer> lhs = new LinkedHashSet<Integer>(); in test_retainAllLjava_util_Collection() local 240 lhs.add(new Integer(1)); in test_retainAllLjava_util_Collection() 241 assertEquals(1, lhs.size()); in test_retainAllLjava_util_Collection() 242 lhs.retainAll(v); in test_retainAllLjava_util_Collection() 243 assertEquals(0, lhs.size()); in test_retainAllLjava_util_Collection() 251 lhs.add(new Integer(1)); in test_retainAllLjava_util_Collection() 252 lhs.add(new Integer(6)); in test_retainAllLjava_util_Collection() 253 lhs.add(new Integer(7)); in test_retainAllLjava_util_Collection() 254 lhs.add(new Integer(8)); in test_retainAllLjava_util_Collection() 255 lhs.add(new Integer(9)); in test_retainAllLjava_util_Collection() [all …]
|
/libcore/luni/src/test/java/libcore/util/ |
D | HexEncodingTest.java | 71 private static void assertArraysEqual(char[] lhs, char[] rhs) { in assertArraysEqual() argument 72 assertEquals(new String(lhs), new String(rhs)); in assertArraysEqual() 75 private static void assertArraysEqual(byte[] lhs, byte[] rhs) { in assertArraysEqual() argument 76 assertEquals(Arrays.toString(lhs), Arrays.toString(rhs)); in assertArraysEqual()
|
/libcore/luni/src/main/java/java/net/ |
D | AddressCache.java | 59 AddressCacheKey lhs = (AddressCacheKey) o; in equals() local 60 return mHostname.equals(lhs.mHostname) && mNetId == lhs.mNetId; in equals()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CollectionsBenchmark.java | 33 public int compare(Integer lhs, Integer rhs) { 34 int lhsAsInt = lhs.intValue();
|
/libcore/luni/src/main/java/libcore/icu/ |
D | TimeZoneNames.java | 104 public int compare(String[] lhs, String[] rhs) { 105 return lhs[OLSON_NAME].compareTo(rhs[OLSON_NAME]);
|
/libcore/luni/src/main/java/java/math/ |
D | BigInteger.java | 417 BigInt lhs = getBigInt(); in add() local 422 if (lhs.sign() == 0) { in add() 425 return new BigInteger(BigInt.addition(lhs, rhs)); in add() 432 BigInt lhs = getBigInt(); in subtract() local 437 return new BigInteger(BigInt.subtraction(lhs, rhs)); in subtract()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 447 public int compare(Provider lhs, Provider rhs) { in sortByName() 448 return lhs.getName().compareTo(rhs.getName()); in sortByName()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CollectionsTest.java | 174 public int compare(Integer lhs, Integer rhs) { in testBinarySearch_comparatorThatReturnsMinAndMaxValue() 175 final int compare = lhs.compareTo(rhs); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()
|