Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 63) sorted by relevance

123

/art/runtime/jdwp/
Djdwp_bits.h70 static inline void Set1(uint8_t* buf, uint8_t val) { in Set1() argument
71 *buf = (uint8_t)(val); in Set1()
75 static inline void Set2BE(uint8_t* buf, uint16_t val) { in Set2BE() argument
76 *buf++ = (uint8_t)(val >> 8); in Set2BE()
77 *buf = (uint8_t)(val); in Set2BE()
81 static inline void Set4BE(uint8_t* buf, uint32_t val) { in Set4BE() argument
82 *buf++ = (uint8_t)(val >> 24); in Set4BE()
83 *buf++ = (uint8_t)(val >> 16); in Set4BE()
84 *buf++ = (uint8_t)(val >> 8); in Set4BE()
85 *buf = (uint8_t)(val); in Set4BE()
[all …]
Djdwp_expand_buf.cc120 void expandBufAdd1(ExpandBuf* pBuf, uint8_t val) { in expandBufAdd1() argument
121 ensureSpace(pBuf, sizeof(val)); in expandBufAdd1()
122 *(pBuf->storage + pBuf->curLen) = val; in expandBufAdd1()
129 void expandBufAdd2BE(ExpandBuf* pBuf, uint16_t val) { in expandBufAdd2BE() argument
130 ensureSpace(pBuf, sizeof(val)); in expandBufAdd2BE()
131 Set2BE(pBuf->storage + pBuf->curLen, val); in expandBufAdd2BE()
132 pBuf->curLen += sizeof(val); in expandBufAdd2BE()
138 void expandBufAdd4BE(ExpandBuf* pBuf, uint32_t val) { in expandBufAdd4BE() argument
139 ensureSpace(pBuf, sizeof(val)); in expandBufAdd4BE()
140 Set4BE(pBuf->storage + pBuf->curLen, val); in expandBufAdd4BE()
[all …]
Djdwp_expand_buf.h58 void expandBufAdd1(ExpandBuf* pBuf, uint8_t val);
59 void expandBufAdd2BE(ExpandBuf* pBuf, uint16_t val);
60 void expandBufAdd4BE(ExpandBuf* pBuf, uint32_t val);
61 void expandBufAdd8BE(ExpandBuf* pBuf, uint64_t val);
Djdwp.h62 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set4BE(buf, val); } in SetFieldId() argument
63 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set4BE(buf, val); } in SetMethodId() argument
64 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId() argument
65 static inline void SetRefTypeId(uint8_t* buf, RefTypeId val) { return Set8BE(buf, val); } in SetRefTypeId() argument
66 static inline void SetFrameId(uint8_t* buf, FrameId val) { return Set8BE(buf, val); } in SetFrameId() argument
/art/runtime/
Doffsets.h28 explicit Offset(size_t val) : val_(val) {} in Offset() argument
47 explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset() argument
56 explicit ThreadOffset(size_t val) : Offset(val) {} in ThreadOffset() argument
62 explicit MemberOffset(size_t val) : Offset(val) {} in MemberOffset() argument
Dstack.h238 void SetVReg(size_t i, int32_t val) { in SetVReg() argument
241 *reinterpret_cast<int32_t*>(vreg) = val; in SetVReg()
249 void SetVRegFloat(size_t i, float val) { in SetVRegFloat() argument
252 *reinterpret_cast<float*>(vreg) = val; in SetVRegFloat()
260 void SetVRegLong(size_t i, int64_t val) { in SetVRegLong() argument
265 *reinterpret_cast<unaligned_int64*>(vreg) = val; in SetVRegLong()
274 void SetVRegDouble(size_t i, double val) { in SetVRegDouble() argument
279 *reinterpret_cast<unaligned_double*>(vreg) = val; in SetVRegDouble()
289 void SetVRegReference(size_t i, mirror::Object* val) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetVRegReference() argument
292 VerifyObject(val); in SetVRegReference()
[all …]
Dmonitor_android.cc30 static void Set4LE(uint8_t* buf, uint32_t val) { in Set4LE() argument
31 *buf++ = (uint8_t)(val); in Set4LE()
32 *buf++ = (uint8_t)(val >> 8); in Set4LE()
33 *buf++ = (uint8_t)(val >> 16); in Set4LE()
34 *buf = (uint8_t)(val >> 24); in Set4LE()
Dtrace.cc211 static void Append2LE(uint8_t* buf, uint16_t val) { in Append2LE() argument
212 *buf++ = static_cast<uint8_t>(val); in Append2LE()
213 *buf++ = static_cast<uint8_t>(val >> 8); in Append2LE()
217 static void Append4LE(uint8_t* buf, uint32_t val) { in Append4LE() argument
218 *buf++ = static_cast<uint8_t>(val); in Append4LE()
219 *buf++ = static_cast<uint8_t>(val >> 8); in Append4LE()
220 *buf++ = static_cast<uint8_t>(val >> 16); in Append4LE()
221 *buf++ = static_cast<uint8_t>(val >> 24); in Append4LE()
225 static void Append8LE(uint8_t* buf, uint64_t val) { in Append8LE() argument
226 *buf++ = static_cast<uint8_t>(val); in Append8LE()
[all …]
Ddex_file.cc1069 int32_t val = 0; in ReadSignedInt() local
1071 val = ((uint32_t)val >> 8) | (((int32_t)*ptr++) << 24); in ReadSignedInt()
1073 val >>= (3 - zwidth) * 8; in ReadSignedInt()
1074 return val; in ReadSignedInt()
1080 uint32_t val = 0; in ReadUnsignedInt() local
1083 val = (val >> 8) | (((uint32_t)*ptr++) << 24); in ReadUnsignedInt()
1085 val >>= (3 - zwidth) * 8; in ReadUnsignedInt()
1088 val = (val >> 8) | (((uint32_t)*ptr++) << 24); in ReadUnsignedInt()
1091 return val; in ReadUnsignedInt()
1096 int64_t val = 0; in ReadSignedLong() local
[all …]
Ddex_instruction.h414 void SetVRegA_10x(uint8_t val) { in SetVRegA_10x() argument
417 insns[0] = (val << 8) | (insns[0] & 0x00ff); in SetVRegA_10x()
420 void SetVRegB_3rc(uint16_t val) { in SetVRegB_3rc() argument
423 insns[1] = val; in SetVRegB_3rc()
426 void SetVRegB_35c(uint16_t val) { in SetVRegB_35c() argument
429 insns[1] = val; in SetVRegB_35c()
432 void SetVRegC_22c(uint16_t val) { in SetVRegC_22c() argument
435 insns[1] = val; in SetVRegC_22c()
/art/runtime/arch/arm64/
Dcontext_arm64.h54 bool GetGPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetGPR() argument
59 DCHECK(val != nullptr); in GetGPR()
60 *val = *gprs_[reg]; in GetGPR()
67 bool GetFPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetFPR() argument
72 DCHECK(val != nullptr); in GetFPR()
73 *val = *fprs_[reg]; in GetFPR()
/art/runtime/arch/x86_64/
Dcontext_x86_64.h52 bool GetGPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetGPR() argument
57 DCHECK(val != nullptr); in GetGPR()
58 *val = *gprs_[reg]; in GetGPR()
65 bool GetFPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetFPR() argument
70 DCHECK(val != nullptr); in GetFPR()
71 *val = *fprs_[reg]; in GetFPR()
Dthread_x86_64.cc33 static void arch_prctl(int code, void* val) { in arch_prctl() argument
34 syscall(__NR_arch_prctl, code, val); in arch_prctl()
/art/runtime/arch/arm/
Dcontext_arm.h54 bool GetGPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetGPR() argument
59 DCHECK(val != nullptr); in GetGPR()
60 *val = *gprs_[reg]; in GetGPR()
67 bool GetFPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetFPR() argument
72 DCHECK(val != nullptr); in GetFPR()
73 *val = *fprs_[reg]; in GetFPR()
/art/runtime/arch/mips/
Dcontext_mips.h53 bool GetGPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetGPR() argument
58 DCHECK(val != nullptr); in GetGPR()
59 *val = *gprs_[reg]; in GetGPR()
66 bool GetFPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetFPR() argument
71 DCHECK(val != nullptr); in GetFPR()
72 *val = *fprs_[reg]; in GetFPR()
/art/runtime/base/
Dhistogram-inl.h83 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const { in FindBucket() argument
86 DCHECK_GE(val, min_); in FindBucket()
87 DCHECK_LE(val, max_); in FindBucket()
88 const size_t bucket_idx = static_cast<size_t>((val - min_) / bucket_width_); in FindBucket()
95 inline void Histogram<Value>::BucketiseValue(Value val) { in BucketiseValue() argument
96 CHECK_LT(val, max_); in BucketiseValue()
97 sum_ += val; in BucketiseValue()
98 sum_of_squares_ += val * val; in BucketiseValue()
100 ++frequency_[FindBucket(val)]; in BucketiseValue()
101 max_value_added_ = std::max(val, max_value_added_); in BucketiseValue()
[all …]
Dhistogram.h92 size_t FindBucket(Value val) const;
93 void BucketiseValue(Value val);
96 void GrowBuckets(Value val);
/art/runtime/arch/x86/
Dcontext_x86.h52 bool GetGPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetGPR() argument
57 DCHECK(val != nullptr); in GetGPR()
58 *val = *gprs_[reg]; in GetGPR()
65 bool GetFPR(uint32_t reg, uintptr_t* val) OVERRIDE { in GetFPR() argument
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc562 jvalue val; in Visit() local
568 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
569 references_.push_back(std::make_pair(val.l, stack_ref)); in Visit()
575 val.j = ReadSplitLongParam(); in Visit()
577 val.j = *reinterpret_cast<jlong*>(GetParamAddress()); in Visit()
586 val.i = *reinterpret_cast<jint*>(GetParamAddress()); in Visit()
590 val.j = 0; in Visit()
593 args_->push_back(val); in Visit()
989 void AdvancePointer(const void* val) { in AdvancePointer() argument
992 PushGpr(reinterpret_cast<uintptr_t>(val)); in AdvancePointer()
[all …]
/art/runtime/verifier/
Dreg_type.cc86 uint32_t val = ConstantValue(); in Dump() local
87 if (val == 0) { in Dump()
93 result << StringPrintf("Constant: %d", val); in Dump()
95 result << StringPrintf("Constant: 0x%x", val); in Dump()
464 uint32_t val = ConstantValue(); in Dump() local
465 if (val == 0) { in Dump()
470 result << StringPrintf("Constant: %d", val); in Dump()
472 result << StringPrintf("Constant: 0x%x", val); in Dump()
480 int32_t val = ConstantValueLo(); in Dump() local
482 if (val >= std::numeric_limits<jshort>::min() && in Dump()
[all …]
/art/test/084-class-init/src/
DIntHolder.java38 public void setValue(int val) { in setValue() argument
39 mValue = val; in setValue()
/art/test/003-omnibus-opcodes/src/
DMethodCall.java28 int val = super.tryThing(); in tryThing() local
29 Main.assertTrue(val == 7); in tryThing()
30 return val; in tryThing()
/art/test/025-access-controller/src/
DPrivvy.java25 public Privvy(int val) { in Privvy() argument
26 mValue = new Integer(val + 1); in Privvy()
/art/runtime/arch/
Dcontext.h57 virtual bool GetGPR(uint32_t reg, uintptr_t* val) = 0;
65 virtual bool GetFPR(uint32_t reg, uintptr_t* val) = 0;
/art/compiler/llvm/
Dir_builder.h85 …::llvm::StoreInst* CreateStore(::llvm::Value* val, ::llvm::Value* ptr, ::llvm::MDNode* tbaa_info) { in CreateStore() argument
86 ::llvm::StoreInst* inst = LLVMIRBuilder::CreateStore(val, ptr); in CreateStore()
92 CreateAtomicCmpXchgInst(::llvm::Value* ptr, ::llvm::Value* cmp, ::llvm::Value* val, in CreateAtomicCmpXchgInst() argument
95 LLVMIRBuilder::CreateAtomicCmpXchg(ptr, cmp, val, ::llvm::Acquire); in CreateAtomicCmpXchgInst()
119 …::llvm::StoreInst* CreateStore(::llvm::Value* val, ::llvm::Value* ptr, TBAASpecialType special_ty)… in CreateStore() argument
121 return CreateStore(val, ptr, mdb_.GetTBAASpecialType(special_ty)); in CreateStore()
128 ::llvm::StoreInst* CreateStore(::llvm::Value* val, ::llvm::Value* ptr, in CreateStore() argument
131 return CreateStore(val, ptr, mdb_.GetTBAAMemoryJType(special_ty, j_ty)); in CreateStore()

123