Home
last modified time | relevance | path

Searched refs:value1 (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
104 a[0] = value1; in testArrayOperations()
106 assertEquals(value1 + value2, a[0] + a[1]); in testArrayOperations()
110 a[index] = value1; 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
118 a[0] = value1; in testArrayOperations()
120 assertEquals(value1 + value2, a[0] + a[1]); in testArrayOperations()
124 a[index] = value1; in testArrayOperations()
126 assertEquals(value1 + value2, a[0] + a[1]); in testArrayOperations()
/art/runtime/
Djni_internal_test.cc1614 #define EXPECT_STATIC_PRIMITIVE_FIELD(expect_eq, type, field_name, sig, value1, value2) \ argument
1618 env_->SetStatic ## type ## Field(c, fid, value1); \
1619 expect_eq(value1, env_->GetStatic ## type ## Field(c, fid)); \
1627 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1632 env_->SetStatic ## type ## Field(c, nullptr, value1); \
1638 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1642 env_->SetStatic ## type ## Field(c, nullptr, value1); \
1647 #define EXPECT_PRIMITIVE_FIELD(expect_eq, instance, type, field_name, sig, value1, value2) \ argument
1651 env_->Set ## type ## Field(instance, fid, value1); \
1652 expect_eq(value1, env_->Get ## type ## Field(instance, fid)); \
[all …]
/art/test/083-compiler-regressions/src/
DMain.java9697 int value1 = link1.value; in causeNPE1() local
9699 System.out.println("LVNTests.testNPE1 fails with " + value1 + " and " + value2); in causeNPE1()
9716 int value1 = link1.value; in causeNPE2() local
9718 System.out.println("LVNTests.testNPE2 fails with " + value1 + " and " + value2); in causeNPE2()