Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 4 of 4) 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/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()
542 } else if ((*value2 >> 4) == 1 && *value1 < 16) { in ExtendPrefix()
544 *value2 ^= 1u << 4; in ExtendPrefix()
547 if (*value1 < 256 && *value2 < 256) { in ExtendPrefix()
549 CHECK(InstNibbles(0xE3, {*value1 >> 4, *value2 >> 4})); in ExtendPrefix()
556 (*value2 >> 12) & 0xF, in ExtendPrefix()
557 (*value2 >> 8) & 0xF, in ExtendPrefix()
558 (*value2 >> 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
1795 env_->SetStatic ## type ## Field(c, fid, value2); \
1796 expect_eq(value2, env_->GetStatic ## type ## Field(c, fid)); \
1822 #define EXPECT_PRIMITIVE_FIELD(expect_eq, instance, type, field_name, sig, value1, value2) \ argument
1828 env_->Set ## type ## Field(instance, fid, value2); \
1829 expect_eq(value2, env_->Get ## type ## Field(instance, fid)); \