/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 44 long m2 = System.currentTimeMillis(); in testNanoTime1() local 45 long millis = m2 - m1; in testNanoTime1() 62 long m2 = System.currentTimeMillis(); in testNanoTime2() local 65 long millis = m2 - m1; in testNanoTime2()
|
D | TreeSubMapTest.java | 66 map.put(m2, "B"); in dmap5() 674 assertTrue(s.contains(m2)); 764 (e.getKey().equals(m2) && e.getValue().equals("B")) || 780 assertTrue(empty.containsKey(m2)); 802 assertEquals(m2, e1.getKey()); 877 assertEquals(m2, e.getKey()); 911 map.remove(m2); 986 SortedMap sm = map.subMap(m2, m4); 987 assertEquals(m2, sm.firstKey()); 991 assertTrue(sm.containsKey(m2)); [all …]
|
D | ConcurrentSkipListSubMapTest.java | 61 map.put(m2, "B"); in dmap5() 839 assertTrue(s.contains(m2)); 929 (e.getKey().equals(m2) && e.getValue().equals("B")) || 945 assertTrue(empty.containsKey(m2)); 1037 assertEquals(m2, e1.getKey()); 1112 assertEquals(m2, e.getKey()); 1146 map.remove(m2); 1298 SortedMap sm = map.subMap(m2, m4); 1299 assertEquals(m2, sm.firstKey()); 1303 assertTrue(sm.containsKey(m2)); [all …]
|
D | TreeSubSetTest.java | 79 q.add(m2); in dset5() 821 assertEquals(m2, e1); in testDescendingLower() 992 SortedSet sm = set.subSet(m2, m4); in testDescendingSubSetContents() 993 assertEquals(m2, sm.first()); in testDescendingSubSetContents() 997 assertTrue(sm.contains(m2)); in testDescendingSubSetContents() 1004 assertEquals(m2, k); in testDescendingSubSetContents() 1011 assertFalse(set.contains(m2)); in testDescendingSubSetContents() 1023 SortedSet sm = set.subSet(m2, m3); in testDescendingSubSetContents2() 1025 assertEquals(m2, sm.first()); in testDescendingSubSetContents2() 1026 assertEquals(m2, sm.last()); in testDescendingSubSetContents2() [all …]
|
D | ConcurrentSkipListSubSetTest.java | 82 q.add(m2); in dset5() 835 assertEquals(m2, e1); in testDescendingLower() 1005 SortedSet sm = set.subSet(m2, m4); in testDescendingSubSetContents() 1006 assertEquals(m2, sm.first()); in testDescendingSubSetContents() 1010 assertTrue(sm.contains(m2)); in testDescendingSubSetContents() 1017 assertEquals(m2, k); in testDescendingSubSetContents() 1024 assertFalse(set.contains(m2)); in testDescendingSubSetContents() 1036 SortedSet sm = set.subSet(m2, m3); in testDescendingSubSetContents2() 1038 assertEquals(m2, sm.first()); in testDescendingSubSetContents2() 1039 assertEquals(m2, sm.last()); in testDescendingSubSetContents2() [all …]
|
D | CopyOnWriteArrayListTest.java | 170 full.add(2, m2); in testAddIndex() 172 assertEquals(m2, full.get(2)); in testAddIndex()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | SystemTest.java | 68 long m2 = System.currentTimeMillis(); in testNanoTime1() local 69 long millis = m2 - m1; in testNanoTime1() 86 long m2 = System.currentTimeMillis(); in testNanoTime2() local 89 long millis = m2 - m1; in testNanoTime2()
|
D | TreeSubMapTest.java | 89 map.put(m2, "B"); in dmap5() 697 assertTrue(s.contains(m2)); 787 (e.getKey().equals(m2) && e.getValue().equals("B")) || 803 assertTrue(empty.containsKey(m2)); 825 assertEquals(m2, e1.getKey()); 900 assertEquals(m2, e.getKey()); 934 map.remove(m2); 1009 SortedMap sm = map.subMap(m2, m4); 1010 assertEquals(m2, sm.firstKey()); 1014 assertTrue(sm.containsKey(m2)); [all …]
|
D | TreeSubSetTest.java | 102 q.add(m2); in dset5() 844 assertEquals(m2, e1); in testDescendingLower() 1015 SortedSet sm = set.subSet(m2, m4); in testDescendingSubSetContents() 1016 assertEquals(m2, sm.first()); in testDescendingSubSetContents() 1020 assertTrue(sm.contains(m2)); in testDescendingSubSetContents() 1027 assertEquals(m2, k); in testDescendingSubSetContents() 1034 assertFalse(set.contains(m2)); in testDescendingSubSetContents() 1046 SortedSet sm = set.subSet(m2, m3); in testDescendingSubSetContents2() 1048 assertEquals(m2, sm.first()); in testDescendingSubSetContents2() 1049 assertEquals(m2, sm.last()); in testDescendingSubSetContents2() [all …]
|
D | ConcurrentSkipListSubMapTest.java | 84 map.put(m2, "B"); in dmap5() 862 assertTrue(s.contains(m2)); 952 (e.getKey().equals(m2) && e.getValue().equals("B")) || 968 assertTrue(empty.containsKey(m2)); 1060 assertEquals(m2, e1.getKey()); 1135 assertEquals(m2, e.getKey()); 1169 map.remove(m2); 1321 SortedMap sm = map.subMap(m2, m4); 1322 assertEquals(m2, sm.firstKey()); 1326 assertTrue(sm.containsKey(m2)); [all …]
|
D | CopyOnWriteArrayListTest.java | 208 full.add(2, m2); in testAddIndex() 210 assertEquals(m2, full.get(2)); in testAddIndex()
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExactArithTests.java | 135 long m2 = (long) x * (long) y; in testIntegerExact() local 136 if ((int) m2 != m2) { in testIntegerExact() 137 …il("FAIL: int StrictMath.multiplyExact(" + x + " * " + y + ") = " + product + "; expected: " + m2); in testIntegerExact() 140 long m2 = (long) x * (long) y; in testIntegerExact() 141 if ((int) m2 == m2) { in testIntegerExact()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | ExactArithTests.java | 111 long m2 = (long) x * (long) y; in testIntegerExact() local 112 if ((int) m2 != m2) { in testIntegerExact() 113 … fail("FAIL: int Math.multiplyExact(" + x + " * " + y + ") = " + product + "; expected: " + m2); in testIntegerExact() 116 long m2 = (long) x * (long) y; in testIntegerExact() 117 if ((int) m2 == m2) { in testIntegerExact()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeConfigurationException.java | 162 Method m2 = this.getClass().getMethod("initCause", new Class[] {Throwable.class}); in readObject() local 163 m2.invoke(this, new Object[] {causeOnJDK13OrBelow}); in readObject()
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldManifestTest.java | 165 Manifest m2 = new Manifest(); in doRoundTrip() local 166 m2.read(is); in doRoundTrip() 167 return (String) m2.getMainAttributes().get(Attributes.Name.CONTENT_TYPE); in doRoundTrip()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | MethodTest.java | 199 Method m1 = null, m2 = null; in test_equalsLjava_lang_Object() local 202 m2 = TestMethodSub.class.getMethod("invokeInstanceTest", in test_equalsLjava_lang_Object() 207 assertTrue("Overriden method returned equal", !m1.equals(m2)); in test_equalsLjava_lang_Object() 211 m2 = TestMethodSub.class in test_equalsLjava_lang_Object() 216 assertTrue("Inherited method returned not-equal", m1.equals(m2)); in test_equalsLjava_lang_Object() 225 Method m2 = TestMethod.class.getMethod("invokeInstanceTest", (Class[]) null); in test_getMethod() local 226 assertEquals(m1, m2); in test_getMethod() 235 Method m2 = TestMethod.class.getDeclaredMethod("invokeInstanceTest", (Class[]) null); in test_getDeclaredMethod() local 236 assertEquals(m1, m2); in test_getDeclaredMethod()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | MethodTest.java | 211 Method m2 = MethodTestHelper.class.getMethod("m1"); in testEqualMethodEqualsAndHashCode() local 212 assertEquals(m1, m2); in testEqualMethodEqualsAndHashCode() 213 assertEquals(m1.hashCode(), m2.hashCode()); in testEqualMethodEqualsAndHashCode() 224 Method m2 = MethodTestHelper.class.getMethod("m2", Object.class); in testDifferentMethodEqualsAndHashCode() local 225 assertFalse(m1.equals(m2)); in testDifferentMethodEqualsAndHashCode() 226 assertFalse(m1.hashCode() == m2.hashCode()); in testDifferentMethodEqualsAndHashCode() 330 public void m2(Object o) { } in m2() method in MethodTest.MethodTestHelper
|
D | ClassLoaderReflectionTest.java | 139 Method m2 = eClass.getMethod("call"); in testMethodsOfDifferentClassLoadersAreNotEqual() local 140 assertFalse(m1.equals(m2)); in testMethodsOfDifferentClassLoadersAreNotEqual()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | ForwardBuilder.java | 513 boolean m2 = trustedSubjectDNs.contains(cIssuer2); in compare() 516 debug.println(METHOD_NME + " m2: " + m2); in compare() 518 if (m1 && m2) { in compare() 522 } else if (m2) { in compare()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | HashMapTest.java | 306 Map<String, String> m2 = new HashMap<String, String>(); in test_removeFromViews() local 307 m2.put("B", null); in test_removeFromViews() 308 assertTrue(hm.entrySet().remove(m2.entrySet().iterator().next())); in test_removeFromViews() 523 Map<Integer,Integer> m2 = new HashMap<Integer, Integer>(); in test_putAllLjava_util_Map_Resize() local 527 m2.put(j, j); in test_putAllLjava_util_Map_Resize() 530 m1.putAll(m2); in test_putAllLjava_util_Map_Resize()
|
D | TreeMapTest.java | 1858 Map m2 = new TreeMap(); in test_equals() local 1861 m2.put(new Integer(1), "val1"); in test_equals() 1862 m2.put(new Integer(2), "val2"); in test_equals() 1863 assertFalse("Maps should not be equal 1", m1.equals(m2)); in test_equals() 1864 assertFalse("Maps should not be equal 2", m2.equals(m1)); in test_equals() 1868 m2 = new HashMap(); in test_equals() 1870 m2.put(new Object(), "val"); in test_equals() 1871 assertFalse("Maps should not be equal 3", m1.equals(m2)); in test_equals() 1872 assertFalse("Maps should not be equal 4", m2.equals(m1)); in test_equals()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TabulatorsTest.java | 268 Map m2 = (Map) o2; 269 assertContentsUnordered(m1.keySet(), m2.keySet()); 271 nestedMapEqualityAssertion(m1.get(k), m2.get(k));
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 2730 BigInteger m2 = ONE.shiftLeft(p); // 2**p in modPow() local 2744 BigInteger y1 = m2.modInverse(m1); in modPow() 2745 BigInteger y2 = m1.modInverse(m2); in modPow() 2748 result = a1.multiply(m2).multiply(y1).add(a2.multiply(m1).multiply(y2)).mod(m); in modPow() 2751 new MutableBigInteger(a1.multiply(m2)).multiply(new MutableBigInteger(y1), t1); in modPow() 3759 int[] m2 = val.mag; 3760 int len2 = m2.length; 3767 int b = m2[i];
|
D | BigDecimal.java | 5108 long m2 = product >>> 32; 5111 m2 += product >>> 32; 5112 long m3 = m2>>>32; 5113 m2 &= LONG_MASK; 5114 product = m0_hi*m1_hi + m2; 5115 m2 = product & LONG_MASK; 5117 final long mHi = make64(m3,m2);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collectors.java | 318 return (m1, m2) -> { 319 for (Map.Entry<K,V> e : m2.entrySet())
|