Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 3 of 3) sorted by relevance

/art/test/410-floats/src/
DMain.java103 public static void testArrayOperations(float[] a, int index, float value1, float value2) { in testArrayOperations() argument
105 a[1] = value2; in testArrayOperations()
106 assertEquals(value1 + value2, a[0] + a[1]); in testArrayOperations()
111 a[index + 1] = value2; in testArrayOperations()
112 assertEquals(value1 + value2, a[0] + a[1]); in testArrayOperations()
117 public static void testArrayOperations(double[] a, int index, double value1, double value2) { in testArrayOperations() argument
119 a[1] = value2; in testArrayOperations()
120 assertEquals(value1 + value2, a[0] + a[1]); in testArrayOperations()
125 a[index + 1] = value2; in testArrayOperations()
126 assertEquals(value1 + value2, a[0] + a[1]); in testArrayOperations()
/art/runtime/
Djni_internal_test.cc1681 #define EXPECT_STATIC_PRIMITIVE_FIELD(expect_eq, type, field_name, sig, value1, value2) \ argument
1687 env_->SetStatic ## type ## Field(c, fid, value2); \
1688 expect_eq(value2, env_->GetStatic ## type ## Field(c, fid)); \
1714 #define EXPECT_PRIMITIVE_FIELD(expect_eq, instance, type, field_name, sig, value1, value2) \ argument
1720 env_->Set ## type ## Field(instance, fid, value2); \
1721 expect_eq(value2, env_->Get ## type ## Field(instance, fid)); \
/art/test/083-compiler-regressions/src/
DMain.java9698 int value2 = link2.value; in causeNPE1() local
9699 System.out.println("LVNTests.testNPE1 fails with " + value1 + " and " + value2); in causeNPE1()
9717 int value2 = link2.value; in causeNPE2() local
9718 System.out.println("LVNTests.testNPE2 fails with " + value1 + " and " + value2); in causeNPE2()