Searched refs:lhs (Results 1 – 7 of 7) 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/libcore/util/ |
D | HexEncodingTest.java | 112 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/luni/src/main/java/java/net/ |
D | AddressCache.java | 62 AddressCacheKey lhs = (AddressCacheKey) o; in equals() local 63 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 | 115 public int compare(String[] lhs, String[] rhs) { 116 return lhs[OLSON_NAME].compareTo(rhs[OLSON_NAME]);
|
/libcore/luni/src/main/java/java/math/ |
D | BigInteger.java | 419 BigInt lhs = getBigInt(); in add() local 424 if (lhs.sign() == 0) { in add() 427 return new BigInteger(BigInt.addition(lhs, rhs)); in add() 434 BigInt lhs = getBigInt(); in subtract() local 439 return new BigInteger(BigInt.subtraction(lhs, rhs)); in subtract()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CollectionsTest.java | 252 public int compare(Integer lhs, Integer rhs) { in testBinarySearch_comparatorThatReturnsMinAndMaxValue() 253 final int compare = lhs.compareTo(rhs); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()
|