Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 25 of 38) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DEntryTest.java27 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 …]
DCompletableFutureTest.java222 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/
DKxmlPullParserDtdTest.java20 import org.xmlpull.v1.XmlPullParser;
21 import org.xmlpull.v1.XmlPullParserException;
DXmlPullParserFactoryTest.java27 import org.xmlpull.v1.XmlPullParser;
28 import org.xmlpull.v1.XmlPullParserException;
29 import org.xmlpull.v1.XmlPullParserFactory;
30 import org.xmlpull.v1.XmlSerializer;
DKxmlPullParserTest.java20 import org.xmlpull.v1.XmlPullParser;
DXsltXPathConformanceTestSuite.java62 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/
DParameterMetadataTestClasses$TestEnum.smali63 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/
DListDefaultMethodTester.java45 l.sort((v1, v2) -> v1.compareTo(v2)); in test_sort()
DMapDefaultMethodTester.java407 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/
DFDBigInteger.java292 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/
DXmlEntitiesBenchmark.java25 import org.xmlpull.v1.XmlPullParser;
26 import org.xmlpull.v1.XmlPullParserFactory;
DParseBenchmark.java33 import org.xmlpull.v1.XmlPullParser;
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java265 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/
DXmlPullParserException.java4 package org.xmlpull.v1;
DXmlSerializer.java1 package org.xmlpull.v1;
DXmlPullParser.java4 package org.xmlpull.v1;
DXmlPullParserFactory.java4 package org.xmlpull.v1;
/libcore/ojluni/src/main/java/java/util/
DRandom.java589 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/
DDriver.java4 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/
DThreadLocalRandom.java451 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/
DCopyOnWriteArrayListTest.java317 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/
DTimeZoneFinder.java19 import org.xmlpull.v1.XmlPullParser;
20 import org.xmlpull.v1.XmlPullParserException;
21 import org.xmlpull.v1.XmlPullParserFactory;
/libcore/benchmarks/src/benchmarks/
DXmlSerializeBenchmark.java24 import org.xmlpull.v1.XmlSerializer;
DXmlParseBenchmark.java37 import org.xmlpull.v1.XmlPullParser;
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java43 import org.xmlpull.v1.XmlPullParser;
44 import org.xmlpull.v1.XmlPullParserException;

12