Home
last modified time | relevance | path

Searched refs:value1 (Results 1 – 6 of 6) 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/libartbase/base/
Dbit_table_test.cc129 BitTableBuilderBase<2>::Entry value1{3, 4}; in TEST() local
131 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
133 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
174 BitTableBuilderBase<2>::Entry value1{67108869, 0}; in TEST() local
178 hasher(MemoryRegion(&value1, sizeof(value1)))); in TEST()
180 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
182 EXPECT_EQ(1u, builder.Dedup(&value1)); in TEST()
187 hasher(MemoryRegion(&value1, BitsToBytesRoundUp(MinimumBitsToStore(value1[0]))))); in TEST()
189 EXPECT_EQ(1u, builder2.Dedup(&value1[0], MinimumBitsToStore(value1[0]))); in TEST()
191 EXPECT_EQ(1u, builder2.Dedup(&value1[0], MinimumBitsToStore(value1[0]))); in TEST()
/art/tools/dexanalyze/
Ddexanalyze_bytecode.cc534 bool NewRegisterInstructions::ExtendPrefix(uint32_t* value1, uint32_t* value2) { in ExtendPrefix() argument
535 if (*value1 < 16 && *value2 < 16) { in ExtendPrefix()
538 if ((*value1 >> 4) == 1 && *value2 < 16) { in ExtendPrefix()
540 *value1 ^= 1u << 4; in ExtendPrefix()
542 } else if ((*value2 >> 4) == 1 && *value1 < 16) { in ExtendPrefix()
547 if (*value1 < 256 && *value2 < 256) { in ExtendPrefix()
549 CHECK(InstNibbles(0xE3, {*value1 >> 4, *value2 >> 4})); in ExtendPrefix()
553 (*value1 >> 12) & 0xF, in ExtendPrefix()
554 (*value1 >> 8) & 0xF, in ExtendPrefix()
555 (*value1 >> 4) & 0xF, in ExtendPrefix()
[all …]
Ddexanalyze_bytecode.h73 bool ExtendPrefix(uint32_t* value1, uint32_t* value2);
/art/runtime/jni/
Djni_internal_test.cc1789 #define EXPECT_STATIC_PRIMITIVE_FIELD(expect_eq, type, field_name, sig, value1, value2) \ argument
1793 env_->SetStatic ## type ## Field(c, fid, value1); \
1794 expect_eq(value1, env_->GetStatic ## type ## Field(c, fid)); \
1802 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1807 env_->SetStatic ## type ## Field(c, nullptr, value1); \
1813 env_->SetStatic ## type ## Field(nullptr, fid, value1); \
1817 env_->SetStatic ## type ## Field(c, nullptr, value1); \
1822 #define EXPECT_PRIMITIVE_FIELD(expect_eq, instance, type, field_name, sig, value1, value2) \ argument
1826 env_->Set ## type ## Field(instance, fid, value1); \
1827 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()