/art/test/421-large-frame/src/ |
D | Main.java | 28 long value = 0L; in main() local 30 assertEquals(124750L, $opt$LargeFrame(value)); in main() 33 static long $opt$LargeFrame(long value) { in $opt$LargeFrame() argument 37 long l0 = 0L + value; in $opt$LargeFrame() 38 long l1 = 1L + value; in $opt$LargeFrame() 39 long l2 = 2L + value; in $opt$LargeFrame() 40 long l3 = 3L + value; in $opt$LargeFrame() 41 long l4 = 4L + value; in $opt$LargeFrame() 42 long l5 = 5L + value; in $opt$LargeFrame() 43 long l6 = 6L + value; in $opt$LargeFrame() [all …]
|
/art/test/557-checker-instruct-simplifier-ror/src/ |
D | Main.java | 51 public static int ror_int_constant_c_c(int value) { in ror_int_constant_c_c() argument 52 return (value >>> 2) | (value << 30); in ror_int_constant_c_c() 64 public static int ror_int_constant_c_c_0(int value) { in ror_int_constant_c_c_0() argument 65 return (value >>> 2) | (value << 62); in ror_int_constant_c_c_0() 88 public static long ror_long_constant_c_c(long value) { in ror_long_constant_c_c() argument 89 return (value >>> 2) | (value << 62); in ror_long_constant_c_c() 94 public static long ror_long_constant_c_c_0(long value) { in ror_long_constant_c_c_0() argument 95 return (value >>> 2) | (value << 30); in ror_long_constant_c_c_0() 118 public static int ror_int_constant_c_negc(int value) { in ror_int_constant_c_negc() argument 119 return (value >>> 2) | (value << $opt$inline$IntConstantM2()); in ror_int_constant_c_negc() [all …]
|
/art/libelffile/dwarf/ |
D | writer.h | 34 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); 37 void PushUint8(int value) { in PushUint8() argument 38 DCHECK_GE(value, 0); in PushUint8() 39 DCHECK_LE(value, UINT8_MAX); in PushUint8() 40 data_->push_back(value & 0xff); in PushUint8() 43 void PushUint16(int value) { in PushUint16() argument 44 DCHECK_GE(value, 0); in PushUint16() 45 DCHECK_LE(value, UINT16_MAX); in PushUint16() 46 data_->push_back((value >> 0) & 0xff); in PushUint16() 47 data_->push_back((value >> 8) & 0xff); in PushUint16() [all …]
|
/art/test/457-regs/ |
D | regs_jni.cc | 40 uint32_t value = 0; in VisitFrame() local 42 CHECK(GetVReg(m, 0, kIntVReg, &value)); in VisitFrame() 43 CHECK_EQ(value, 0u); in VisitFrame() 45 CHECK(GetVReg(m, 1, kIntVReg, &value)); in VisitFrame() 46 CHECK_EQ(value, 1u); in VisitFrame() 48 CHECK(GetVReg(m, 2, kIntVReg, &value)); in VisitFrame() 49 CHECK_EQ(value, 2u); in VisitFrame() 51 CHECK(GetVReg(m, 3, kIntVReg, &value)); in VisitFrame() 52 CHECK_EQ(value, 1u); in VisitFrame() 54 CHECK(GetVReg(m, 4, kIntVReg, &value)); in VisitFrame() [all …]
|
/art/test/542-bitfield-rotates/src/ |
D | Main.java | 53 public static int $noinline$rotate_int_right_reg_v_csubv(int value, int distance) { in $noinline$rotate_int_right_reg_v_csubv() argument 57 return (value >>> distance) | (value << (32 - distance)); in $noinline$rotate_int_right_reg_v_csubv() 76 public static long $noinline$rotate_long_right_reg_v_csubv(long value, int distance) { in $noinline$rotate_long_right_reg_v_csubv() argument 80 return (value >>> distance) | (value << (64 - distance)); in $noinline$rotate_long_right_reg_v_csubv() 99 public static int $noinline$rotate_int_left_reg_csubv_v(int value, int distance) { in $noinline$rotate_int_left_reg_csubv_v() argument 103 return (value >>> (32 - distance)) | (value << distance); in $noinline$rotate_int_left_reg_csubv_v() 122 public static long $noinline$rotate_long_left_reg_csubv_v(long value, int distance) { in $noinline$rotate_long_left_reg_csubv_v() argument 126 return (value >>> (64 - distance)) | (value << distance); in $noinline$rotate_long_left_reg_csubv_v() 145 public static int $noinline$rotate_int_right_reg_v_negv(int value, int distance) { in $noinline$rotate_int_right_reg_v_negv() argument 149 return (value >>> distance) | (value << -distance); in $noinline$rotate_int_right_reg_v_negv() [all …]
|
/art/test/952-invoke-custom/src/ |
D | TestReturnValues.java | 36 static byte passThrough(byte value) { in passThrough() argument 37 return value; in passThrough() 40 static char passThrough(char value) { in passThrough() argument 41 return value; in passThrough() 44 static double passThrough(double value) { in passThrough() argument 45 return value; in passThrough() 48 static float passThrough(float value) { in passThrough() argument 49 return value; in passThrough() 52 static int passThrough(int value) { in passThrough() argument 53 return value; in passThrough() [all …]
|
/art/test/015-switch/src/ |
D | Main.java | 26 public static void packedSwitch(int value) { in packedSwitch() argument 27 switch (value) { in packedSwitch() 44 public static void packedSwitch2(int value) { in packedSwitch2() argument 45 switch (value) { in packedSwitch2() 64 public static void packedSwitch3(int value) { in packedSwitch3() argument 65 switch (value) { in packedSwitch3() 82 public static void packedSwitch4(int value) { in packedSwitch4() argument 83 switch (value) { in packedSwitch4() 94 public static void packedSwitch5(int value) { in packedSwitch5() argument 95 switch (value) { in packedSwitch5() [all …]
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | DexRandomAccessFile.java | 63 public void writeUShort(short value) throws IOException { in writeUShort() argument 64 int b1 = value & 0xff; in writeUShort() 65 int b2 = (value & 0xff00) >> 8; in writeUShort() 84 public void writeUInt(int value) throws IOException { in writeUInt() argument 85 int b1 = value & 0xff; in writeUInt() 87 int b2 = (value & 0xff00) >> 8; in writeUInt() 89 int b3 = (value & 0xff0000) >> 16; in writeUInt() 91 int b4 = (value & 0xff000000) >> 24; in writeUInt() 100 int value = 0; in readUleb128() local 106 value |= ((rawByte & 0x7f) << shift); in readUleb128() [all …]
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 43 uint32_t value = 0; in VisitFrame() local 45 CHECK(GetVReg(m, 0, kIntVReg, &value)); in VisitFrame() 46 CHECK_EQ(value, 42u); in VisitFrame() 48 bool success = GetVReg(m, 1, kIntVReg, &value); in VisitFrame() 53 success = GetVReg(m, 2, kIntVReg, &value); in VisitFrame() 58 CHECK(GetVReg(m, 3, kReferenceVReg, &value)); in VisitFrame() 59 CHECK_EQ(reinterpret_cast<mirror::Object*>(value), this_value_); in VisitFrame() 61 CHECK(GetVReg(m, 4, kIntVReg, &value)); in VisitFrame() 62 CHECK_EQ(value, 1u); in VisitFrame() 64 CHECK(GetVReg(m, 5, kFloatVReg, &value)); in VisitFrame() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Value.java | 35 public static Value pack(AhatInstance value) { in pack() argument 36 return value == null ? null : new InstanceValue(value); in pack() 45 public static Value pack(boolean value) { in pack() argument 46 return new BooleanValue(value); in pack() 55 public static Value pack(char value) { in pack() argument 56 return new CharValue(value); in pack() 65 public static Value pack(float value) { in pack() argument 66 return new FloatValue(value); in pack() 75 public static Value pack(double value) { in pack() argument 76 return new DoubleValue(value); in pack() [all …]
|
/art/test/922-properties/ |
D | expected-stdout.txt | 3 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 5 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 7 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 9 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 11 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 13 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 17 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 19 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 21 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE 23 Setting value to "abc": !!!JVMTI_ERROR_NOT_AVAILABLE [all …]
|
/art/test/411-optimizing-arith/src/ |
D | ShiftsTest.java | 238 static int $opt$ShlInt(int value, int distance) { in $opt$ShlInt() argument 239 return value << distance; in $opt$ShlInt() 242 static long $opt$ShlLong(long value, int distance) { in $opt$ShlLong() argument 243 return value << distance; in $opt$ShlLong() 246 static int $opt$ShrInt(int value, int distance) { in $opt$ShrInt() argument 247 return value >> distance; in $opt$ShrInt() 250 static long $opt$ShrLong(long value, int distance) { in $opt$ShrLong() argument 251 return value >> distance; in $opt$ShrLong() 254 static int $opt$UShrInt(int value, int distance) { in $opt$UShrInt() argument 255 return value >>> distance; in $opt$UShrInt() [all …]
|
/art/libartbase/base/ |
D | endian_utils.h | 33 inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { in Append1BE() argument 34 bytes.push_back(value); in Append1BE() 37 inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { in Append2BE() argument 38 AppendBytes<uint16_t>(bytes, htobe16(value)); in Append2BE() 41 inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { in Append4BE() argument 42 AppendBytes<uint32_t>(bytes, htobe32(value)); in Append4BE() 45 inline void Append8BE(std::vector<uint8_t>& bytes, uint64_t value) { in Append8BE() argument 46 AppendBytes<uint64_t>(bytes, htobe64(value)); in Append8BE() 86 inline void Write1BE(uint8_t** dst, uint8_t value) { in Write1BE() argument 87 Set1(*dst, value); in Write1BE() [all …]
|
D | bit_memory_region_test.cc | 28 uint32_t value) { in CheckBits() argument 30 uint8_t expected = (offset <= i && i < offset + length) ? value >> (i - offset) : init; in CheckBits() 39 for (uint32_t value : values) { in TEST() local 42 writer.WriteVarint(value); in TEST() 46 uint32_t upper_bound = RoundUp(MinimumBitsToStore(value), kBitsPerByte) + kVarintBits; in TEST() 48 EXPECT_EQ(value, result); in TEST() 58 for (uint32_t value = 0; value <= 1; value++) { in TEST() local 62 bmr1.StoreBit(0, value); in TEST() 63 EXPECT_EQ(bmr1.LoadBit(0), value); in TEST() 64 CheckBits(data, sizeof(data), initial_value, bit_offset, 1, value); in TEST() [all …]
|
D | leb128.h | 246 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint32_t value) { in EncodeUnsignedLeb128() argument 247 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128() 248 value >>= 7; in EncodeUnsignedLeb128() 249 while (value != 0) { in EncodeUnsignedLeb128() 251 out = value & 0x7f; in EncodeUnsignedLeb128() 252 value >>= 7; in EncodeUnsignedLeb128() 259 static inline void EncodeUnsignedLeb128(Vector* dest, uint32_t value) { in EncodeUnsignedLeb128() argument 261 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128() 262 value >>= 7; in EncodeUnsignedLeb128() 263 while (value != 0) { in EncodeUnsignedLeb128() [all …]
|
/art/test/dexdump/ |
D | values.txt | 49 value : 0 54 value : 127 59 value : -128 64 value : -1 69 value : 0 74 value : 32767 79 value : 32768 84 value : 255 89 value : 65520 94 value : 65535 [all …]
|
/art/test/817-hiddenapi/src-ex/ |
D | TestCase.java | 26 int value = new InheritAbstract().methodPublicSdkNotInAbstractParent(); in testPublicSdk() local 27 if (value != 42) { in testPublicSdk() 28 throw new Error("Expected 42, got " + value); in testPublicSdk() 44 int value = testNativeInternal(); in testNative() local 45 if (value != 42) { in testNative() 46 throw new Error("Expected 42, got " + value); in testNative() 67 public static void assertTrue(boolean value) { in assertTrue() argument 68 if (!value) { in assertTrue() 73 public static void assertFalse(boolean value) { in assertFalse() argument 74 if (value) { in assertFalse()
|
/art/test/948-change-annotations/ |
D | expected-stdout.txt | 2 Type annotations: [@TestClassAnnotation1(value=hello)] 3 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)] 9 Type annotations: [@TestClassAnnotation1(value=hello)] 10 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)] 13 Type annotations: [@TestClassAnnotation1(value=hello), @TestClassAnnotation2(value=hello2)] 14 …blic void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi), @TestMethodAnnotation2(value=… 16 Type annotations: [@TestClassAnnotation1(value=hello)] 17 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)] 20 Type annotations: [@TestClassAnnotation1(value=Goodbye)] 21 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=Bye Bye)]
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 1373 public static int $noinline$intToDoubleToInt(int value) { in $noinline$intToDoubleToInt() argument 1375 return (int) (double) value; in $noinline$intToDoubleToInt() 1391 public static String $noinline$intToDoubleToIntPrint(int value) { in $noinline$intToDoubleToIntPrint() argument 1394 double d = (double) value; in $noinline$intToDoubleToIntPrint() 1412 public static int $noinline$byteToDoubleToInt(byte value) { in $noinline$byteToDoubleToInt() argument 1414 return (int) (double) value; in $noinline$byteToDoubleToInt() 1432 public static int $noinline$floatToDoubleToInt(float value) { in $noinline$floatToDoubleToInt() argument 1434 return (int) (double) value; in $noinline$floatToDoubleToInt() 1447 public static String $noinline$floatToDoubleToIntPrint(float value) { in $noinline$floatToDoubleToIntPrint() argument 1450 double d = (double) value; in $noinline$floatToDoubleToIntPrint() [all …]
|
/art/cmdline/detail/ |
D | cmdline_parser_detail.h | 37 static std::true_type InsertionOperatorTest(TStream& os, const T& value, 38 … std::remove_reference<decltype(os << value)>* = 0); // NOLINT [whitespace/operators] [3] 44 static constexpr bool value = 45 decltype(InsertionOperatorTest(FakeReference<TStream2>(), std::declval<T2>()))::value; 62 static constexpr bool value = 63 decltype(EqualityOperatorTest(std::declval<TLeft>(), std::declval<TRight>()))::value; 72 static constexpr bool value = true; 81 std::is_floating_point<TLeft>::value 82 && std::is_floating_point<TRight>::value> { 91 std::string ToStringAny(const T& value, [all …]
|
/art/test/1979-threaded-structural-transformation/ |
D | expected-stdout.txt | 1 Hitting class class art.Test1979$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>] 2 Initial: class art.Test1979$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>] 4 public static java.lang.Object art.Test1979$Transform.BAR = (ID: 0) value of <BAR FIELD> 5 public static java.lang.Object art.Test1979$Transform.FOO = (ID: 1) value of <FOO FIELD> 7 Read BAR field: (ID: 0) value of <BAR FIELD> 8 Read FOO field: (ID: 1) value of <FOO FIELD> 9 Redefined: class art.Test1979$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FIELD>, BAZ: … 11 public static java.lang.Object art.Test1979$Transform.BAR = (ID: 0) value of <BAR FIELD> 13 public static java.lang.Object art.Test1979$Transform.FOO = (ID: 1) value of <FOO FIELD> 15 Read FOO field: (ID: 1) value of <FOO FIELD> [all …]
|
/art/test/569-checker-pattern-replacement/src-multidex/ |
D | Second.java | 78 public void setInstanceLongField(int ignored, long value) { in setInstanceLongField() argument 79 instanceLongField = value; in setInstanceLongField() 82 public int setInstanceLongFieldReturnArg2(long value, int arg2) { in setInstanceLongFieldReturnArg2() argument 83 instanceLongField = value; in setInstanceLongFieldReturnArg2() 87 public static void staticSetInstanceLongField(Second s, long value) { in staticSetInstanceLongField() argument 88 s.instanceLongField = value; in staticSetInstanceLongField() 91 public void setInstanceLongFieldThroughParam(Second s, long value) { in setInstanceLongFieldThroughParam() argument 92 s.instanceLongField = value; in setInstanceLongFieldThroughParam() 95 public void setStaticFloatField(float value) { in setStaticFloatField() argument 96 staticFloatField = value; in setStaticFloatField()
|
/art/test/438-volatile/src/ |
D | Main.java | 41 public static void checkVolatileUpdate(long value) { in checkVolatileUpdate() argument 42 if (value != $opt$update(value)) { in checkVolatileUpdate() 43 throw new RuntimeException("Volatile update failed for long:" + value); in checkVolatileUpdate() 47 public static void checkVolatileUpdate(double value) { in checkVolatileUpdate() argument 48 if (value != $opt$update(value)) { in checkVolatileUpdate() 49 throw new RuntimeException("Volatile update failed for double:" + value); in checkVolatileUpdate()
|
/art/runtime/ |
D | method_handles_test.cc | 65 JValue* value) in TryConversion() argument 70 return ConvertJValueCommon(from_mt, to_mt, from.Get(), to.Get(), value); in TryConversion() 86 JValue value = JValue::FromPrimitive(static_cast<int8_t>(3)); in TEST_F() local 87 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F() 88 ASSERT_EQ(3, value.GetI()); in TEST_F() 99 JValue value = JValue::FromPrimitive(raw_value); in TEST_F() local 100 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F() 102 ASSERT_EQ(static_cast<int64_t>(raw_value), value.GetJ()); in TEST_F() 111 JValue value = JValue::FromPrimitive(-16); in TEST_F() local 112 ASSERT_TRUE(TryConversion(soa.Self(), from, to, &value)); in TEST_F() [all …]
|
/art/runtime/base/ |
D | quasi_atomic.h | 62 int64_t value; in Read64() local 64 value = *addr; in Read64() 71 : "=r" (value) in Read64() 77 : "=r" (value) in Read64() 83 : "=x" (value) in Read64() 89 return value; in Read64() 96 static void Write64(volatile int64_t* addr, int64_t value) { in Write64() argument 99 *addr = value; in Write64() 107 : "r" (value)); in Write64() 117 : "r" (value) in Write64() [all …]
|