Home
last modified time | relevance | path

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

12345678910>>...23

/art/test/557-checker-instruct-simplifier-ror/src/
DMain.java46 public static int rotateIntegerRight(int value, int distance) { in rotateIntegerRight() argument
47 return java.lang.Integer.rotateRight(value, distance); in rotateIntegerRight()
66 public static int rotateIntegerLeft(int value, int distance) { in rotateIntegerLeft() argument
67 return java.lang.Integer.rotateLeft(value, distance); in rotateIntegerLeft()
85 public static long rotateLongRight(long value, int distance) { in rotateLongRight() argument
86 return java.lang.Long.rotateRight(value, distance); in rotateLongRight()
105 public static long rotateLongLeft(long value, int distance) { in rotateLongLeft() argument
106 return java.lang.Long.rotateLeft(value, distance); in rotateLongLeft()
129 public static int ror_int_constant_c_c(int value) { in ror_int_constant_c_c() argument
130 return (value >>> 2) | (value << 30); in ror_int_constant_c_c()
[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/runtime/jdwp/
Djdwp_bits.h35 static inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { in Append1BE() argument
36 bytes.push_back(value); in Append1BE()
39 static inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { in Append2BE() argument
40 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append2BE()
41 bytes.push_back(static_cast<uint8_t>(value)); in Append2BE()
44 static inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { in Append4BE() argument
45 bytes.push_back(static_cast<uint8_t>(value >> 24)); in Append4BE()
46 bytes.push_back(static_cast<uint8_t>(value >> 16)); in Append4BE()
47 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append4BE()
48 bytes.push_back(static_cast<uint8_t>(value)); in Append4BE()
[all …]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DValue.java32 public static Value pack(AhatInstance value) { in pack() argument
33 return value == null ? null : new InstanceValue(value); in pack()
42 public static Value pack(boolean value) { in pack() argument
43 return new BooleanValue(value); in pack()
52 public static Value pack(char value) { in pack() argument
53 return new CharValue(value); in pack()
62 public static Value pack(float value) { in pack() argument
63 return new FloatValue(value); in pack()
72 public static Value pack(double value) { in pack() argument
73 return new DoubleValue(value); in pack()
[all …]
/art/test/922-properties/
Dexpected.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 …]
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) + kVarintHeaderBits; 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_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 …]
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 …]
Dbit_field.h43 static bool IsValid(T value) { in IsValid() argument
44 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0; in IsValid()
70 static uintptr_t Encode(T value) { in Encode() argument
71 DCHECK(IsValid(value)); in Encode()
72 return static_cast<uintptr_t>(value) << position; in Encode()
76 static T Decode(uintptr_t value) { in Decode() argument
77 return static_cast<T>((value >> position) & ((kUintPtrTOne << size) - 1)); in Decode()
83 static uintptr_t Update(T value, uintptr_t original) { in Update() argument
84 DCHECK(IsValid(value)); in Update()
85 return (static_cast<uintptr_t>(value) << position) | in Update()
/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.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/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/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/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 …]
/art/test/461-get-reference-vreg/
Dget_reference_vreg_jni.cc40 uint32_t value = 0; in FindMethodIndex()
41 CHECK(stack_visitor->GetVReg(m, 1, kReferenceVReg, &value)); in FindMethodIndex()
42 CHECK_EQ(reinterpret_cast<mirror::Object*>(value), this_value); in FindMethodIndex()
46 uint32_t value = 0; in FindMethodIndex()
47 CHECK(stack_visitor->GetVReg(m, 1, kReferenceVReg, &value)); in FindMethodIndex()
50 uint32_t value = 0; in FindMethodIndex()
51 CHECK(stack_visitor->GetVReg(m, 1, kReferenceVReg, &value)); in FindMethodIndex()
54 uint32_t value = 0; in FindMethodIndex()
55 CHECK(stack_visitor->GetVReg(m, 0, kReferenceVReg, &value)); in FindMethodIndex()
66 extern "C" JNIEXPORT jint JNICALL Java_Main_doNativeCallRef(JNIEnv*, jobject value) { in Java_Main_doNativeCallRef() argument
[all …]

12345678910>>...23