/art/runtime/jdwp/ |
D | jdwp_bits.h | 70 static inline void Set1(uint8_t* buf, uint8_t val) { in Set1() argument 71 *buf = 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 …]
|
D | jdwp_expand_buf.cc | 120 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 …]
|
D | jdwp_expand_buf.h | 58 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);
|
D | jdwp.h | 65 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set8BE(buf, val); } in SetFieldId() argument 66 static inline void SetMethodId(uint8_t* buf, MethodId val) { return Set8BE(buf, val); } in SetMethodId() argument 67 static inline void SetObjectId(uint8_t* buf, ObjectId val) { return Set8BE(buf, val); } in SetObjectId() argument 68 static inline void SetRefTypeId(uint8_t* buf, RefTypeId val) { return Set8BE(buf, val); } in SetRefTypeId() argument 69 static inline void SetFrameId(uint8_t* buf, FrameId val) { return Set8BE(buf, val); } in SetFrameId() argument
|
/art/runtime/ |
D | offsets.h | 29 explicit Offset(size_t val) : val_(val) {} in Offset() argument 48 explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset() argument 57 explicit ThreadOffset(size_t val) : Offset(val) {} in ThreadOffset() argument 63 explicit MemberOffset(size_t val) : Offset(val) {} in MemberOffset() argument
|
D | monitor_android.cc | 30 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()
|
D | stack.h | 175 void SetVReg(size_t i, int32_t val) { in SetVReg() argument 178 *reinterpret_cast<int32_t*>(vreg) = val; in SetVReg() 186 void SetVRegFloat(size_t i, float val) { in SetVRegFloat() argument 189 *reinterpret_cast<float*>(vreg) = val; in SetVRegFloat() 197 void SetVRegLong(size_t i, int64_t val) { in SetVRegLong() argument 202 *reinterpret_cast<unaligned_int64*>(vreg) = val; in SetVRegLong() 211 void SetVRegDouble(size_t i, double val) { in SetVRegDouble() argument 216 *reinterpret_cast<unaligned_double*>(vreg) = val; in SetVRegDouble() 226 void SetVRegReference(size_t i, mirror::Object* val) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetVRegReference() argument 229 VerifyObject(val); in SetVRegReference() [all …]
|
D | stack.cc | 191 bool StackVisitor::GetVReg(ArtMethod* m, uint16_t vreg, VRegKind kind, uint32_t* val) const { in GetVReg() 196 return GetVRegFromOptimizedCode(m, vreg, kind, val); in GetVReg() 198 return GetVRegFromQuickCode(m, vreg, kind, val); in GetVReg() 202 *val = cur_shadow_frame_->GetVReg(vreg); in GetVReg() 208 uint32_t* val) const { in GetVRegFromQuickCode() 219 return GetRegisterIfAccessible(reg, kind, val); in GetVRegFromQuickCode() 224 *val = *GetVRegAddrFromQuickCode(cur_quick_frame_, code_item, frame_info.CoreSpillMask(), in GetVRegFromQuickCode() 231 uint32_t* val) const { in GetVRegFromOptimizedCode() 251 *val = *reinterpret_cast<const uint32_t*>(addr); in GetVRegFromOptimizedCode() 257 return GetRegisterIfAccessible(reg, kind, val); in GetVRegFromOptimizedCode() [all …]
|
D | dex_file.cc | 1132 int32_t val = 0; in ReadSignedInt() local 1134 val = ((uint32_t)val >> 8) | (((int32_t)*ptr++) << 24); in ReadSignedInt() 1136 val >>= (3 - zwidth) * 8; in ReadSignedInt() 1137 return val; in ReadSignedInt() 1143 uint32_t val = 0; in ReadUnsignedInt() local 1146 val = (val >> 8) | (((uint32_t)*ptr++) << 24); in ReadUnsignedInt() 1148 val >>= (3 - zwidth) * 8; in ReadUnsignedInt() 1151 val = (val >> 8) | (((uint32_t)*ptr++) << 24); in ReadUnsignedInt() 1154 return val; in ReadUnsignedInt() 1159 int64_t val = 0; in ReadSignedLong() local [all …]
|
D | dex_instruction.h | 412 void SetVRegA_10x(uint8_t val) { in SetVRegA_10x() argument 415 insns[0] = (val << 8) | (insns[0] & 0x00ff); in SetVRegA_10x() 418 void SetVRegB_3rc(uint16_t val) { in SetVRegB_3rc() argument 421 insns[1] = val; in SetVRegB_3rc() 424 void SetVRegB_35c(uint16_t val) { in SetVRegB_35c() argument 427 insns[1] = val; in SetVRegB_35c() 430 void SetVRegC_22c(uint16_t val) { in SetVRegC_22c() argument 433 insns[1] = val; in SetVRegC_22c()
|
D | trace.cc | 196 static void Append2LE(uint8_t* buf, uint16_t val) { in Append2LE() argument 197 *buf++ = static_cast<uint8_t>(val); in Append2LE() 198 *buf++ = static_cast<uint8_t>(val >> 8); in Append2LE() 202 static void Append4LE(uint8_t* buf, uint32_t val) { in Append4LE() argument 203 *buf++ = static_cast<uint8_t>(val); in Append4LE() 204 *buf++ = static_cast<uint8_t>(val >> 8); in Append4LE() 205 *buf++ = static_cast<uint8_t>(val >> 16); in Append4LE() 206 *buf++ = static_cast<uint8_t>(val >> 24); in Append4LE() 210 static void Append8LE(uint8_t* buf, uint64_t val) { in Append8LE() argument 211 *buf++ = static_cast<uint8_t>(val); in Append8LE() [all …]
|
/art/tools/ |
D | stream-trace-converter.py | 38 def WriteShortLE(f, val): argument 39 bytes = [ (val & 0xFF), ((val >> 8) & 0xFF) ] 58 def WriteIntLE(f, val): argument 59 bytes = [ (val & 0xFF), ((val >> 8) & 0xFF), ((val >> 16) & 0xFF), ((val >> 24) & 0xFF) ]
|
/art/runtime/verifier/ |
D | reg_type.cc | 68 uint32_t val = ConstantValue(); in Dump() local 69 if (val == 0) { in Dump() 75 result << StringPrintf("Constant: %d", val); in Dump() 77 result << StringPrintf("Constant: 0x%x", val); in Dump() 383 uint32_t val = ConstantValue(); in Dump() local 384 if (val == 0) { in Dump() 389 result << StringPrintf("Constant: %d", val); in Dump() 391 result << StringPrintf("Constant: 0x%x", val); in Dump() 399 int32_t val = ConstantValueLo(); in Dump() local 401 if (val >= std::numeric_limits<jshort>::min() && in Dump() [all …]
|
/art/runtime/base/ |
D | histogram-inl.h | 87 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const { in FindBucket() argument 90 DCHECK_GE(val, min_); in FindBucket() 91 DCHECK_LE(val, max_); in FindBucket() 92 const size_t bucket_idx = static_cast<size_t>((val - min_) / bucket_width_); in FindBucket() 99 inline void Histogram<Value>::BucketiseValue(Value val) { in BucketiseValue() argument 100 CHECK_LT(val, max_); in BucketiseValue() 101 sum_ += val; in BucketiseValue() 102 sum_of_squares_ += val * val; in BucketiseValue() 104 ++frequency_[FindBucket(val)]; in BucketiseValue() 105 max_value_added_ = std::max(val, max_value_added_); in BucketiseValue() [all …]
|
D | histogram.h | 93 size_t FindBucket(Value val) const; 94 void BucketiseValue(Value val); 97 void GrowBuckets(Value val);
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 680 jvalue val; in Visit() local 686 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit() 687 references_.push_back(std::make_pair(val.l, stack_ref)); in Visit() 693 val.j = ReadSplitLongParam(); in Visit() 695 val.j = *reinterpret_cast<jlong*>(GetParamAddress()); in Visit() 704 val.i = *reinterpret_cast<jint*>(GetParamAddress()); in Visit() 710 args_->push_back(val); in Visit() 1151 void AdvancePointer(const void* val) { in AdvancePointer() argument 1154 PushGpr(reinterpret_cast<uintptr_t>(val)); in AdvancePointer() 1157 PushStack(reinterpret_cast<uintptr_t>(val)); in AdvancePointer() [all …]
|
/art/test/434-invoke-direct/src/ |
D | InvokeDirectSuper.java | 18 public int val; field in InvokeDirectSuper 21 return val; in privateMethod()
|
/art/test/084-class-init/src/ |
D | IntHolder.java | 38 public void setValue(int val) { in setValue() argument 39 mValue = val; in setValue()
|
/art/test/003-omnibus-opcodes/src/ |
D | MethodCall.java | 28 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/ |
D | Privvy.java | 25 public Privvy(int val) { in Privvy() argument 26 mValue = new Integer(val + 1); in Privvy()
|
/art/test/430-live-register-slow-path/src/ |
D | Main.java | 34 public static boolean doCall(boolean val, Object o) { return val; } in doCall() argument
|
/art/runtime/arch/x86_64/ |
D | thread_x86_64.cc | 33 static void arch_prctl(int code, void* val) { in arch_prctl() argument 34 syscall(__NR_arch_prctl, code, val); in arch_prctl()
|
/art/test/028-array-write/src/ |
D | Main.java | 36 static void writeArray(int val) { in writeArray() argument 38 mStorage[i] = val; in writeArray()
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 185 private String makeString(int val) { in makeString() argument 187 return new String("Robin" + val); in makeString() 319 private String makeString(int val) { in makeString() argument 321 return new String("Deep" + val); in makeString()
|
/art/cmdline/ |
D | cmdline_types.h | 184 size_t val = ParseMemoryOption(arg.c_str(), Divisor); 185 CMDLINE_DEBUG_LOG << "Memory parsed to size_t value: " << val << std::endl; 187 if (val == 0) { 192 return Result::Success(Memory<Divisor>(val)); 214 size_t val = strtoul(s, &s2, 10); 241 if (val <= std::numeric_limits<size_t>::max() / mul) { 242 val *= mul; 245 val = std::numeric_limits<size_t>::max() & ~(1024-1); 253 if (val % div == 0) { 254 return val;
|