Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 742) sorted by relevance

12345678910>>...30

/art/test/421-large-frame/src/
DMain.java28 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/2254-checker-not-var-analyzed-pathological/src/
DMain.java51 int value = 0; in $noinline$pathologicalCase() local
52 for (; value < 3; value++) { in $noinline$pathologicalCase()
53 $noinline$emptyMethod(value); in $noinline$pathologicalCase()
56 for (; value < 5; value++) { in $noinline$pathologicalCase()
57 $noinline$emptyMethod(value); in $noinline$pathologicalCase()
60 for (; value < 7; value++) { in $noinline$pathologicalCase()
61 $noinline$emptyMethod(value); in $noinline$pathologicalCase()
64 for (; value < 9; value++) { in $noinline$pathologicalCase()
65 $noinline$emptyMethod(value); in $noinline$pathologicalCase()
68 for (; value < 11; value++) { in $noinline$pathologicalCase()
[all …]
/art/test/557-checker-instruct-simplifier-ror/src/
DMain.java51 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/
Dwriter.h34 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/542-bitfield-rotates/src/
DMain.java51 public static int $noinline$rotate_int_right_reg_v_csubv(int value, int distance) { in $noinline$rotate_int_right_reg_v_csubv() argument
52 return (value >>> distance) | (value << (32 - distance)); in $noinline$rotate_int_right_reg_v_csubv()
71 public static long $noinline$rotate_long_right_reg_v_csubv(long value, int distance) { in $noinline$rotate_long_right_reg_v_csubv() argument
72 return (value >>> distance) | (value << (64 - distance)); in $noinline$rotate_long_right_reg_v_csubv()
91 public static int $noinline$rotate_int_left_reg_csubv_v(int value, int distance) { in $noinline$rotate_int_left_reg_csubv_v() argument
92 return (value >>> (32 - distance)) | (value << distance); in $noinline$rotate_int_left_reg_csubv_v()
111 public static long $noinline$rotate_long_left_reg_csubv_v(long value, int distance) { in $noinline$rotate_long_left_reg_csubv_v() argument
112 return (value >>> (64 - distance)) | (value << distance); in $noinline$rotate_long_left_reg_csubv_v()
131 public static int $noinline$rotate_int_right_reg_v_negv(int value, int distance) { in $noinline$rotate_int_right_reg_v_negv() argument
132 return (value >>> distance) | (value << -distance); in $noinline$rotate_int_right_reg_v_negv()
[all …]
/art/test/457-regs/
Dregs_jni.cc40 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/952-invoke-custom/src/
DTestReturnValues.java36 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/tools/dexfuzz/src/dexfuzz/rawdex/
DDexRandomAccessFile.java63 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/015-checker-switch/src/
DMain.java24 public static void $noinline$packedSwitch(int value) { in $noinline$packedSwitch() argument
25 switch (value) { in $noinline$packedSwitch()
44 public static void $noinline$packedSwitch2(int value) { in $noinline$packedSwitch2() argument
45 switch (value) { in $noinline$packedSwitch2()
66 public static void $noinline$packedSwitch3(int value) { in $noinline$packedSwitch3() argument
67 switch (value) { in $noinline$packedSwitch3()
86 public static void $noinline$packedSwitch4(int value) { in $noinline$packedSwitch4() argument
87 switch (value) { in $noinline$packedSwitch4()
104 public static void $noinline$packedSwitch5(int value) { in $noinline$packedSwitch5() argument
105 switch (value) { in $noinline$packedSwitch5()
[all …]
/art/test/454-get-vreg/
Dget_vreg_jni.cc43 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/
DValue.java35 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/
Dexpected-stdout.txt3 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/libartbase/base/
Dleb128.h42 if (end.has_value() && ptr >= end.value()) { in DecodeLeb128Helper()
70 T value = 0; in DecodeUnsignedLeb128() local
71 DecodeLeb128Helper(data, std::nullopt, &value); in DecodeUnsignedLeb128()
72 return value; in DecodeUnsignedLeb128()
96 T value = 0; in DecodeSignedLeb128() local
97 DecodeLeb128Helper(data, std::nullopt, &value); in DecodeSignedLeb128()
98 return value; in DecodeSignedLeb128()
154 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint64_t value) { in EncodeUnsignedLeb128() argument
155 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128()
156 value >>= 7; in EncodeUnsignedLeb128()
[all …]
Dendian_utils.h33 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 …]
Dbit_memory_region_test.cc28 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 …]
/art/test/411-optimizing-arith/src/
DShiftsTest.java238 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/test/dexdump/
Dvalues.txt49 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/
DTestCase.java26 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/
Dexpected-stdout.txt2 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/2270-mh-internal-hiddenapi-use/src-art/
DMain.java29 int value = 42; in main() local
30 int returnedValue = (int) intIdentity.invokeExact(value); in main()
32 if (returnedValue != value) { in main()
34 value, returnedValue); in main()
38 value = 101; in main()
39 MethodHandle intConstant = MethodHandles.constant(int.class, value); in main()
42 if (returnedValue != value) { in main()
44 value, returnedValue); in main()
49 if (secondCallValue != value) { in main()
51 value, returnedValue); in main()
/art/libarttools/include/tools/
Dcmdline_builder.h72 CmdlineBuilder& Add(const char* arg_format, const std::string& value) in Add() argument
75 return Add(android::base::StringPrintf(arg_format, value.c_str())); in Add()
79 CmdlineBuilder& AddRuntime(const char* arg_format, const std::string& value) in AddRuntime() argument
82 return AddRuntime(android::base::StringPrintf(arg_format, value.c_str())); in AddRuntime()
88 CmdlineBuilder& Add(const char* arg_format, int value) in Add() argument
91 return Add(android::base::StringPrintf(arg_format, value)); in Add()
95 CmdlineBuilder& AddRuntime(const char* arg_format, int value) in AddRuntime() argument
98 return AddRuntime(android::base::StringPrintf(arg_format, value)); in AddRuntime()
105 CmdlineBuilder& AddIfNonEmpty(const char* arg_format, const std::string& value) in AddIfNonEmpty() argument
108 if (!value.empty()) { in AddIfNonEmpty()
[all …]
/art/cmdline/detail/
Dcmdline_parser_detail.h37 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/runtime/
Dmethod_handles_test.cc49 static bool TryConversion(Handle<mirror::Class> from, Handle<mirror::Class> to, JValue* value) in TryConversion() argument
57 return ConvertJValueCommon(throw_wmt, from.Get(), to.Get(), value); in TryConversion()
78 JValue value = JValue::FromPrimitive(static_cast<int8_t>(3)); in TEST_F() local
79 ASSERT_TRUE(TryConversion(from, to, &value)); in TEST_F()
80 ASSERT_EQ(3, value.GetI()); in TEST_F()
91 JValue value = JValue::FromPrimitive(raw_value); in TEST_F() local
92 ASSERT_TRUE(TryConversion(from, to, &value)); in TEST_F()
94 ASSERT_EQ(static_cast<int64_t>(raw_value), value.GetJ()); in TEST_F()
103 JValue value = JValue::FromPrimitive(-16); in TEST_F() local
104 ASSERT_TRUE(TryConversion(from, to, &value)); in TEST_F()
[all …]
/art/test/1979-threaded-structural-transformation/
Dexpected-stdout.txt1 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/442-checker-constant-folding/src/
DMain.java1655 private static int $inline$SpecialCaseForZeroInt(int value) { in $inline$SpecialCaseForZeroInt() argument
1656 if (value == 0) { in $inline$SpecialCaseForZeroInt()
1657 return (value + 2) * 3; in $inline$SpecialCaseForZeroInt()
1659 return value; in $inline$SpecialCaseForZeroInt()
1678 private static long $inline$SpecialCaseForZeroLong(long value) { in $inline$SpecialCaseForZeroLong() argument
1679 if (value == 0L) { in $inline$SpecialCaseForZeroLong()
1680 return (value + 2) * 3; in $inline$SpecialCaseForZeroLong()
1682 return value; in $inline$SpecialCaseForZeroLong()
1695 private static float $noinline$SpecialCaseForZeroFloat(float value) { in $noinline$SpecialCaseForZeroFloat() argument
1696 if (value == 0F) { in $noinline$SpecialCaseForZeroFloat()
[all …]

12345678910>>...30