/libcore/jsr166-tests/src/test/java/jsr166/ |
D | EntryTest.java | 27 static final String v1 = "a"; field in EntryTest 35 Map.Entry e = new AbstractMap.SimpleEntry(k1, v1); in testConstructor1() 37 assertEquals(v1, e.getValue()); in testConstructor1() 44 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k1, v1); in testConstructor2() 46 assertEquals(v1, s.getValue()); in testConstructor2() 53 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testConstructor3() 56 assertEquals(v1, e.getValue()); in testConstructor3() 63 Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1); in testConstructor4() 66 assertEquals(v1, s.getValue()); in testConstructor4() 74 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testEquals() [all …]
|
D | CompletableFutureTest.java | 222 for (Integer v1 : new Integer[] { 1, null }) 226 assertTrue(f.complete(v1)); 227 assertFalse(f.complete(v1)); 228 checkCompletedNormally(f, v1); 285 for (Integer v1 : new Integer[] { 1, null }) 291 assertTrue(f.complete(v1)); 305 f.obtrudeValue(v1); 306 checkCompletedNormally(f, v1); 311 assertFalse(f.complete(v1)); 320 for (Integer v1 : new Integer[] { 1, null }) [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | KxmlPullParserDtdTest.java | 20 import org.xmlpull.v1.XmlPullParser; 21 import org.xmlpull.v1.XmlPullParserException;
|
D | XmlPullParserFactoryTest.java | 27 import org.xmlpull.v1.XmlPullParser; 28 import org.xmlpull.v1.XmlPullParserException; 29 import org.xmlpull.v1.XmlPullParserFactory; 30 import org.xmlpull.v1.XmlSerializer;
|
D | KxmlPullParserTest.java | 20 import org.xmlpull.v1.XmlPullParser;
|
D | XsltXPathConformanceTestSuite.java | 62 import org.xmlpull.v1.XmlPullParserException; 63 import org.xmlpull.v1.XmlPullParserFactory; 64 import org.xmlpull.v1.XmlSerializer;
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/ |
D | ParameterMetadataTestClasses$TestEnum.smali | 63 const-string/jumbo v1, "ONE" 65 …invoke-direct {v0, v1, v2}, Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses$Test… 71 const-string/jumbo v1, "TWO" 73 …invoke-direct {v0, v1, v3}, Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses$Test… 81 …sget-object v1, Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses$TestEnum;->ONE:L… 83 aput-object v1, v0, v2 85 …sget-object v1, Llibcore/java/lang/reflect/parameter/ParameterMetadataTestClasses$TestEnum;->TWO:L… 87 aput-object v1, v0, v3
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ListDefaultMethodTester.java | 45 l.sort((v1, v2) -> v1.compareTo(v2)); in test_sort()
|
D | MapDefaultMethodTester.java | 407 assertEquals(10.0, m.merge(1, 10.0, (v1, v2) -> v2)); in test_merge() 412 assertEquals(25.0, m.merge(1, 15.0, (v1, v2) -> v1 + v2)); in test_merge() 428 assertEquals(15.0, m.merge(null, 15.0, (v1, v2) -> v2)); in test_merge() 432 m.merge(null, 15.0, (v1, v2) -> v2); in test_merge()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FDBigInteger.java | 292 int v1 = (int) (value >>> 32); in valueOfMulPow52() local 301 carry = (v1 & LONG_MASK) * pow5 + carry; in valueOfMulPow52() 302 v1 = (int) carry; in valueOfMulPow52() 305 return new FDBigInteger(new int[]{v0, v1, v2}, wordcount); in valueOfMulPow52() 309 (v1 << bitcount) | (v0 >>> (32 - bitcount)), in valueOfMulPow52() 310 (v2 << bitcount) | (v1 >>> (32 - bitcount)), in valueOfMulPow52() 317 if (v1 == 0) { in valueOfMulPow52() 322 mult(pow5.data, pow5.nWords, v0, v1, r); in valueOfMulPow52() 328 return new FDBigInteger(new int[]{v0, v1}, wordcount); in valueOfMulPow52() 332 (v1 << bitcount) | (v0 >>> (32 - bitcount)), in valueOfMulPow52() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | XmlEntitiesBenchmark.java | 25 import org.xmlpull.v1.XmlPullParser; 26 import org.xmlpull.v1.XmlPullParserFactory;
|
D | ParseBenchmark.java | 33 import org.xmlpull.v1.XmlPullParser;
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 265 static void cmp(long v1, TimeUnit u1, long v2, TimeUnit u2, int expected) { in cmp() argument 266 int result = FileTime.from(v1, u1).compareTo(FileTime.from(v2, u2)); in cmp() 277 static void eq(long v1, TimeUnit u1, long v2, TimeUnit u2) { in eq() argument 278 FileTime t1 = FileTime.from(v1, u1); in eq() 308 static void neq(long v1, TimeUnit u1, long v2, TimeUnit u2) { in neq() argument 309 FileTime t1 = FileTime.from(v1, u1); in neq()
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParserException.java | 4 package org.xmlpull.v1;
|
D | XmlSerializer.java | 1 package org.xmlpull.v1;
|
D | XmlPullParser.java | 4 package org.xmlpull.v1;
|
D | XmlPullParserFactory.java | 4 package org.xmlpull.v1;
|
/libcore/ojluni/src/main/java/java/util/ |
D | Random.java | 589 double v1, v2, s; in nextGaussian() local 591 v1 = 2 * nextDouble() - 1; // between -1 and 1 in nextGaussian() 593 s = v1 * v1 + v2 * v2; in nextGaussian() 598 return v1 * multiplier; in nextGaussian()
|
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
D | Driver.java | 4 package org.xmlpull.v1.sax2; 33 import org.xmlpull.v1.XmlPullParser; 34 import org.xmlpull.v1.XmlPullParserException; 35 import org.xmlpull.v1.XmlPullParserFactory;
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 451 double v1, v2, s; in nextGaussian() local 453 v1 = 2 * nextDouble() - 1; // between -1 and 1 in nextGaussian() 455 s = v1 * v1 + v2 * v2; in nextGaussian() 459 return v1 * multiplier; in nextGaussian()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CopyOnWriteArrayListTest.java | 317 l.sort((v1, v2) -> v1.compareTo(v2)); in test_sort() 377 l.sort((v1, v2) -> v1.compareTo(v2)); in test_subList_sort()
|
/libcore/luni/src/main/java/libcore/util/ |
D | TimeZoneFinder.java | 19 import org.xmlpull.v1.XmlPullParser; 20 import org.xmlpull.v1.XmlPullParserException; 21 import org.xmlpull.v1.XmlPullParserFactory;
|
/libcore/benchmarks/src/benchmarks/ |
D | XmlSerializeBenchmark.java | 24 import org.xmlpull.v1.XmlSerializer;
|
D | XmlParseBenchmark.java | 37 import org.xmlpull.v1.XmlPullParser;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | DocumentBuilderImpl.java | 43 import org.xmlpull.v1.XmlPullParser; 44 import org.xmlpull.v1.XmlPullParserException;
|