/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | X-VarHandleTestAccess.java.template | 48 static final $type$ static_final_v = $value1$; 52 final $type$ final_v = $value1$; 286 assertEquals(x, $value1$, "get $type$ value"); 293 assertEquals(x, $value1$, "getVolatile $type$ value"); 299 assertEquals(x, $value1$, "getRelease $type$ value"); 305 assertEquals(x, $value1$, "getOpaque $type$ value"); 328 boolean r = vh.compareAndSet(recv, $value1$, $value2$); 332 $type$ r = ($type$) vh.compareAndExchange(recv, $value1$, $value2$); 336 $type$ r = ($type$) vh.compareAndExchangeAcquire(recv, $value1$, $value2$); 340 $type$ r = ($type$) vh.compareAndExchangeRelease(recv, $value1$, $value2$); [all …]
|
D | X-VarHandleTestMethodType.java.template | 49 static final $type$ static_final_v = $value1$; 51 static $type$ static_v = $value1$; 53 final $type$ final_v = $value1$; 55 $type$ v = $value1$; 160 vh.set(null, $value1$); 163 vh.set(Void.class, $value1$); 169 vh.set(0, $value1$); 176 vh.set(recv, $value1$, Void.class); 210 vh.setVolatile(null, $value1$); 213 vh.setVolatile(Void.class, $value1$); [all …]
|
D | X-VarHandleTestMethodHandleAccess.java.template | 45 static final $type$ static_final_v = $value1$; 49 final $type$ final_v = $value1$; 127 hs.get(TestAccessMode.SET).invokeExact(recv, $value1$); 129 assertEquals(x, $value1$, "set $type$ value"); 142 hs.get(TestAccessMode.SET_RELEASE).invokeExact(recv, $value1$); 144 assertEquals(x, $value1$, "setRelease $type$ value"); 155 hs.get(TestAccessMode.SET).invokeExact(recv, $value1$); 159 …boolean r = (boolean) hs.get(TestAccessMode.COMPARE_AND_SET).invokeExact(recv, $value1$, $value2$); 166 …boolean r = (boolean) hs.get(TestAccessMode.COMPARE_AND_SET).invokeExact(recv, $value1$, $value3$); 173 …pe$ r = ($type$) hs.get(TestAccessMode.COMPARE_AND_EXCHANGE).invokeExact(recv, $value2$, $value1$); [all …]
|
D | generate-vh-tests.sh | 37 value1=true 43 value1=(byte)0x01 48 value1=(short)0x0123 53 value1=\'\\\\u0123\'
|
D | X-VarHandleTestByteArrayView.java.template | 52 static final $type$ VALUE_1 = $value1$;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerHashCodeTest.java | 36 String value1 = "12378246728727834290276457386374882976782849"; in testSameObject() local 38 BigInteger aNumber1 = new BigInteger(value1); in testSameObject() 54 String value1 = "12378246728727834290276457386374882976782849"; in testEqualObjects() local 56 BigInteger aNumber1 = new BigInteger(value1); in testEqualObjects() 70 String value1 = "12378246728727834290276457386374882976782849"; in testUnequalObjectsUnequal() local 72 BigInteger aNumber1 = new BigInteger(value1); in testUnequalObjectsUnequal()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | StructTimevalTest.java | 88 StructTimeval value1 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode() local 91 assertEquals("value1.equals(value1)", value1, value1); in testEqualsAndHashcode() 92 assertEquals("value1.equals(value2)", value1, value2); in testEqualsAndHashcode() 93 assertEquals("value2.equals(value1)", value2, value1); in testEqualsAndHashcode() 96 value1.hashCode(), value2.hashCode()); in testEqualsAndHashcode() 98 timeVals[i] = value1; in testEqualsAndHashcode()
|
D | OsTest.java | 2161 String value1 = "value1"; 2171 Os.setenv(variable1, value1, false); 2173 assertEquals(value1, Os.getenv(variable1)); 2175 assertEquals(value1, System.getenv(variable1)); 2182 Os.setenv(variable2, value1, false); 2183 assertEquals(value1, Os.getenv(variable1)); 2185 assertEquals(value1, System.getenv(variable1)); 2191 Os.setenv(variable2, value1, true); 2193 assertEquals(value1, Os.getenv(variable2)); 2195 assertEquals(value1, System.getenv(variable2));
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLevelTest.java | 43 int value1 = 120; in testIntValue() local 44 Level l = new MockLevel("level1", value1); in testIntValue() 46 value1, l.intValue()); in testIntValue()
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeBuilderCombinations.java | 105 public void test_derive(final TemporalField field1, final Number value1, in test_derive() argument 119 return value1.longValue(); in test_derive() 136 str += value1 + "-"; in test_derive() 186 …public void test_normalized(final TemporalField field1, final Number value1, TemporalField expecte… in test_normalized() argument 196 return value1.longValue(); in test_normalized() 202 String str = value1.toString(); in test_normalized()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 155 public void test_resolveOneNoChange(TemporalField field1, long value1) { in test_resolveOneNoChange() argument 156 String str = Long.toString(value1); in test_resolveOneNoChange() 163 assertEquals(accessor.getLong(field1), value1); in test_resolveOneNoChange() local 192 …public void test_resolveTwoNoChange(TemporalField field1, long value1, TemporalField field2, long … in test_resolveTwoNoChange() argument 193 String str = value1 + " " + value2; in test_resolveTwoNoChange() 203 assertEquals(accessor.getLong(field1), value1); in test_resolveTwoNoChange() local 223 …public void test_resolveThreeNoChange(TemporalField field1, long value1, TemporalField field2, lon… in test_resolveThreeNoChange() argument 224 String str = value1 + " " + value2 + " " + value3; in test_resolveThreeNoChange() 236 assertEquals(accessor.getLong(field1), value1); in test_resolveThreeNoChange() local 258 public void test_resolveOneToField(TemporalField field1, long value1, in test_resolveOneToField() argument [all …]
|
D | TCKDateTimeFormatters.java | 1496 Expected(TemporalField field1, long value1, TemporalField field2, long value2) { in Expected() argument 1497 fieldValues.put(field1, value1); in Expected()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | input.txt | 3 key1 = value1
|
D | testData1.dos | 5 key1=value1
|
D | testData1 | 5 key1=value1
|
/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 670 private static final boolean valuesMatch(Object value1, Object value2) { in valuesMatch() argument 671 if (value1 == null) { in valuesMatch() 674 return value1.equals(value2); in valuesMatch()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 3440 Integer value1, value2; in test_DescendingSubMapEntrySet_comparator() local 3452 value1 = (Integer) entryArray[i - 1].getValue(); in test_DescendingSubMapEntrySet_comparator() 3454 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3455 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() 3469 value1 = (Integer) entryArray[i - 1].getValue(); in test_DescendingSubMapEntrySet_comparator() 3471 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3472 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() 3486 value1 = (Integer) entryArray[i - 1].getValue(); in test_DescendingSubMapEntrySet_comparator() 3488 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3489 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() [all …]
|
D | ArraysTest.java | 1992 private void orderFail(int index, String value1, String value2) { in orderFail() argument 1993 fail("Array is not sorted at " + index + "-th position: " + value1 + " and " + value2); in orderFail()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldPreparedStatementTest.java | 591 float value1 = 12345678.12345689f; in testSetFloat() local 602 ps.setFloat(1, value1); in testSetFloat() 605 st.execute("select * from type where FloatVal=" + value1); in testSetFloat()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | Sorting.java | 362 int value1 = a[i++].getValue(); in checkStable() local 374 if (!(value1 < value2 && value2 < value3 && value3 < value4)) { in checkStable() 376 ". Second values have been changed: " + value1 + ", " + in checkStable()
|