Home
last modified time | relevance | path

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

12345678910>>...25

/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/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/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/542-bitfield-rotates/src/
DMain.java53 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/
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/test/015-switch/src/
DMain.java26 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/
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/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/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/libartbase/base/
Dbit_utils.h33 static_assert(std::is_integral<T>::value, "T must be integral"); in BitSizeOf()
48 static_assert(std::is_integral<T>::value, "T must be integral"); in CLZ()
49 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in CLZ()
63 static_assert(std::is_integral<T>::value, "T must be integral"); in JAVASTYLE_CLZ()
70 static_assert(std::is_integral<T>::value, "T must be integral"); in CTZ()
82 static_assert(std::is_integral<T>::value, "T must be integral"); in JAVASTYLE_CTZ()
107 constexpr ssize_t MostSignificantBit(T value) { in MostSignificantBit() argument
108 static_assert(std::is_integral<T>::value, "T must be integral"); in MostSignificantBit()
109 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in MostSignificantBit()
111 return (value == 0) ? -1 : std::numeric_limits<T>::digits - 1 - CLZ(value); in MostSignificantBit()
[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 …]
Dleb128.h219 static_assert(std::is_same<typename std::remove_const<T>::type, uint8_t>::value, in ReverseSearchUnsignedLeb128()
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
260 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in EncodeUnsignedLeb128()
261 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128()
[all …]
Dtransform_iterator_test.cc32 ValueHolder(int v) : value(v) { } // NOLINT in ValueHolder()
33 int value; member
37 return lhs.value == rhs.value; in operator ==()
43 auto add1 = [](const ValueHolder& h) { return h.value + 1; }; in TEST()
49 vector_titer::iterator_category>::value, "category"); in TEST()
50 static_assert(std::is_same<int, vector_titer::value_type>::value, "value_type"); in TEST()
51 static_assert(std::is_same<vector_titer, vector_titer::pointer>::value, "pointer"); in TEST()
52 static_assert(std::is_same<int, vector_titer::reference>::value, "reference"); in TEST()
56 vector_ctiter::iterator_category>::value, "category"); in TEST()
57 static_assert(std::is_same<int, vector_ctiter::value_type>::value, "value_type"); in TEST()
[all …]
Dtransform_array_ref_test.cc29 ValueHolder(int v) : value(v) { } // NOLINT in ValueHolder()
30 int value; member
34 return lhs.value == rhs.value; in operator ==()
40 auto add1 = [](const ValueHolder& h) { return h.value + 1; }; in TEST()
47 static_assert(std::is_same<int, decltype(taref)::value_type>::value, "value_type"); in TEST()
48 static_assert(std::is_same<TarefIter, decltype(taref)::pointer>::value, "pointer"); in TEST()
49 static_assert(std::is_same<int, decltype(taref)::reference>::value, "reference"); in TEST()
50 static_assert(std::is_same<ConstTarefIter, decltype(taref)::const_pointer>::value, in TEST()
52 static_assert(std::is_same<int, decltype(taref)::const_reference>::value, "const_reference"); in TEST()
72 ASSERT_EQ(input.front().value + 1, taref.front()); in TEST()
[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/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/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/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/569-checker-pattern-replacement/src-multidex/
DSecond.java74 public void setInstanceLongField(int ignored, long value) { in setInstanceLongField() argument
75 instanceLongField = value; in setInstanceLongField()
78 public int setInstanceLongFieldReturnArg2(long value, int arg2) { in setInstanceLongFieldReturnArg2() argument
79 instanceLongField = value; in setInstanceLongFieldReturnArg2()
83 public static void staticSetInstanceLongField(Second s, long value) { in staticSetInstanceLongField() argument
84 s.instanceLongField = value; in staticSetInstanceLongField()
87 public void setInstanceLongFieldThroughParam(Second s, long value) { in setInstanceLongFieldThroughParam() argument
88 s.instanceLongField = value; in setInstanceLongFieldThroughParam()
91 public void setStaticFloatField(float value) { in setStaticFloatField() argument
92 staticFloatField = value; in setStaticFloatField()
/art/test/438-volatile/src/
DMain.java41 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/
Dmethod_handles_test.cc65 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 …]

12345678910>>...25