/art/runtime/gc/accounting/ |
H A D | card_table.h | 130 CardTable(MemMap* begin, byte* biased_begin, size_t offset); 148 // Card table doesn't begin at the beginning of the mem_map_, instead it is displaced by offset
|
H A D | card_table-inl.h | 205 uintptr_t offset = card_addr - biased_begin_; local 206 return reinterpret_cast<void*>(offset << kCardShift);
|
/art/compiler/utils/arm/ |
H A D | assembler_arm32.h | 251 int32_t offset, 256 int32_t offset, 260 int32_t offset, 264 int32_t offset, 268 int32_t offset, 272 int32_t offset, 294 void EmitType5(Condition cond, int offset, bool link); 357 static int32_t EncodeBranchOffset(int offset, int32_t inst); 359 int32_t EncodeTstOffset(int offset, int32_t inst);
|
H A D | assembler_thumb2.h | 281 int32_t offset, 286 int32_t offset, 290 int32_t offset, 294 int32_t offset, 298 int32_t offset, 302 int32_t offset, 415 static int32_t EncodeBranchOffset(int32_t offset, int32_t inst); 417 int32_t EncodeTstOffset(int offset, int32_t inst); 456 // depends on both the type of branch and the offset to which it is branching. When 475 // We also need to deal with a cbz/cbnz instruction that becomes too big for its offset [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 1155 int offset = label->Position() - buffer_.Size(); local 1156 CHECK_LE(offset, 0); 1157 if (IsInt(8, offset - kShortSize)) { 1159 EmitUint8((offset - kShortSize) & 0xFF); 1163 EmitInt32(offset - kLongSize); 1190 int offset = label->Position() - buffer_.Size(); local 1191 CHECK_LE(offset, 0); 1192 if (IsInt(8, offset - kShortSize)) { 1194 EmitUint8((offset - kShortSize) & 0xFF); 1197 EmitInt32(offset 1302 Align(int alignment, int offset) argument 1368 int offset = label->Position() - buffer_.Size(); local 1806 Call(ManagedRegister mbase, Offset offset, ManagedRegister) argument 1813 Call(FrameOffset base, Offset offset, ManagedRegister mscratch) argument 1819 CallFromThread32(ThreadOffset<4> offset, ManagedRegister ) argument 1828 GetCurrentThread(FrameOffset offset, ManagedRegister mscratch) argument [all...] |
/art/compiler/dex/quick/x86/ |
H A D | codegen_x86.h | 278 LIR* OpMovRegMem(RegStorage r_dest, RegStorage r_base, int offset, MoveType move_type) OVERRIDE; 279 LIR* OpMovMemReg(RegStorage r_base, int offset, RegStorage r_src, MoveType move_type) OVERRIDE; 477 void EmitMacro(const X86EncodingMap* entry, int32_t raw_reg, int32_t offset); 775 * @param offset The offset from the base. 781 int offset, int check_value, LIR* target, LIR** compare); 804 LIR* OpRegMem(OpKind op, RegStorage r_dest, RegStorage r_base, int offset); 811 void OpTlsCmp(ThreadOffset<4> offset, int val); 812 void OpTlsCmp(ThreadOffset<8> offset, int val); 814 void OpLea(RegStorage r_base, RegStorage reg1, RegStorage reg2, int scale, int offset); [all...] |
H A D | utility_x86.cc | 108 LIR* res = NewLIR1(kX86Jmp8, 0 /* offset to be patched during assembly*/); 114 LIR* branch = NewLIR2(kX86Jcc8, 0 /* offset to be patched */, 251 LIR* X86Mir2Lir::OpMovRegMem(RegStorage r_dest, RegStorage r_base, int offset, MoveType move_type) { argument 300 return NewLIR3(opcode, dest, r_base.GetReg(), offset); 303 LIR* X86Mir2Lir::OpMovMemReg(RegStorage r_base, int offset, RegStorage r_src, MoveType move_type) { argument 353 return NewLIR3(opcode, r_base.GetReg(), offset, src); 364 LIR* X86Mir2Lir::OpRegMem(OpKind op, RegStorage r_dest, RegStorage r_base, int offset) { argument 384 LIR *l = NewLIR3(opcode, r_dest.GetReg(), r_base.GetReg(), offset); 387 AnnotateDalvikRegAccess(l, offset >> 2, true /* is_load */, false /* is_64bit */); 587 // We don't know the proper offset fo 890 OpCmpMemImmBranch(ConditionCode cond, RegStorage temp_reg, RegStorage base_reg, int offset, int check_value, LIR* target, LIR** compare) argument [all...] |
H A D | target_x86.cc | 368 buf += StringPrintf("0x%08x", tab_rec->offset); 383 reinterpret_cast<uintptr_t>(base_addr) + lir->offset + operand, 696 int offset = frame_size_ - (GetInstructionSetPointerSize(cu_->instruction_set) * num_core_spills_); local 700 StoreBaseDisp(rs_rX86_SP, offset, cu_->target64 ? RegStorage::Solo64(reg) : RegStorage::Solo32(reg), 702 offset += GetInstructionSetPointerSize(cu_->instruction_set); 713 int offset = frame_size_ - (GetInstructionSetPointerSize(cu_->instruction_set) * num_core_spills_); local 717 LoadBaseDisp(rs_rX86_SP, offset, cu_->target64 ? RegStorage::Solo64(reg) : RegStorage::Solo32(reg), 719 offset += GetInstructionSetPointerSize(cu_->instruction_set); 729 int offset = frame_size_ - (GetInstructionSetPointerSize(cu_->instruction_set) * (num_fp_spills_ + num_core_spills_)); local 732 StoreBaseDisp(rs_rX86_SP, offset, RegStorag 743 int offset = frame_size_ - (GetInstructionSetPointerSize(cu_->instruction_set) * (num_fp_spills_ + num_core_spills_)); local 1622 int offset = -(GetInstructionSetPointerSize(cu_->instruction_set) * num_core_spills_); local [all...] |
/art/compiler/jni/quick/x86_64/ |
H A D | calling_convention_x86_64.cc | 100 (itr_slots_ * sizeof(uint32_t))); // offset into in args 190 size_t offset = itr_args_ local 193 return FrameOffset(displacement_.Int32Value() - OutArgSize() + (offset * kFramePointerSize));
|
/art/runtime/ |
H A D | dex_file_verifier_test.cc | 195 static bool ModifyAndLoad(const char* location, size_t offset, uint8_t new_val, argument 203 dex_bytes.get()[offset] = new_val;
|
H A D | elf_file.h | 91 // Lookup a string given string section and offset. Returns nullptr for 92 // special 0 offset. 145 // Check whether the offset is in range, and set to target to Begin() + offset if OK. 146 bool CheckAndSet(Elf32_Off offset, const char* label, byte** target, std::string* error_msg); 165 // Lookup a string by section type. Returns nullptr for special 0 offset.
|
H A D | debugger.cc | 1291 JDWP::JdwpError Dbg::OutputArray(JDWP::ObjectId array_id, int offset, int count, JDWP::ExpandBuf* pReply) { argument 1298 if (offset < 0 || count < 0 || offset > a->GetLength() || a->GetLength() - offset < count) { 1299 LOG(WARNING) << __FUNCTION__ << " access out of bounds: offset=" << offset << "; count=" << count; 1311 for (int i = 0; i < count; ++i) JDWP::Write8BE(&dst, src8[offset + i]); 1314 for (int i = 0; i < count; ++i) JDWP::Write4BE(&dst, src4[offset + i]); 1317 for (int i = 0; i < count; ++i) JDWP::Write2BE(&dst, src2[offset + i]); 1320 memcpy(dst, &src[offset * widt 3806 jint offset = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_offset); local [all...] |
/art/runtime/hprof/ |
H A D | hprof.cc | 70 #define U2_TO_BUF_BE(buf, offset, value) \ 73 int offset_ = static_cast<int>(offset); \ 79 #define U4_TO_BUF_BE(buf, offset, value) \ 82 int offset_ = static_cast<int>(offset); \ 90 #define U8_TO_BUF_BE(buf, offset, value) \ 93 int offset_ = static_cast<int>(offset); \ 309 void UpdateU4(size_t offset, uint32_t new_value) { argument 310 U4_TO_BUF_BE(body_, offset, new_value);
|
/art/compiler/dex/quick/arm/ |
H A D | codegen_arm.h | 68 uint32_t LinkFixupInsns(LIR* head_lir, LIR* tail_lir, CodeOffset offset); 154 LIR* OpMovRegMem(RegStorage r_dest, RegStorage r_base, int offset, MoveType move_type); 155 LIR* OpMovMemReg(RegStorage r_base, int offset, RegStorage r_src, MoveType move_type);
|
H A D | utility_arm.cc | 208 LIR* res = NewLIR1(kThumbBUncond, 0 /* offset to be patched during assembly */); 217 LIR* branch = NewLIR2(kThumb2BCond, 0 /* offset to be patched */, 375 LIR* ArmMir2Lir::OpMovRegMem(RegStorage r_dest, RegStorage r_base, int offset, MoveType move_type) { argument 380 LIR* ArmMir2Lir::OpMovMemReg(RegStorage r_base, int offset, RegStorage r_src, MoveType move_type) { argument 1175 size_t offset = (check_flags & IS_TERTIARY_OP) ? lir->operands[2] : 0; local 1178 offset = offset * 2; 1180 offset = offset * 4; 1182 return offset; [all...] |
/art/oatdump/ |
H A D | oatdump.cc | 175 #define DUMP_OAT_HEADER_OFFSET(label, offset) \ 177 os << StringPrintf("0x%08x", oat_header.offset()); \ 178 if (oat_header.offset() != 0 && options_->absolute_addresses_) { \ 179 os << StringPrintf(" (%p)", oat_file_.Begin() + oat_header.offset()); \ 333 // If the last thing in the file is code for a method, there won't be an offset for the "next" 376 os << StringPrintf("%zd: %s (offset=0x%08x) (type_idx=%d)", 473 *indent1_os << StringPrintf("(offset=0x%08x)\n", oat_method_offsets_offset); 476 "WARNING: oat method offsets offset 0x%08x is past end of file 0x%08zx.\n", 488 "code offset 0x%08x is past end of file 0x%08zx.\n", 499 *indent2_os << StringPrintf("(offset 705 uint32_t offset = StackVisitor::GetVRegOffset(code_item, oat_method.GetCoreSpillMask(), local 709 os << "[sp + #" << offset << "]"; local 793 DumpMappingAtOffset(std::ostream& os, const OatFile::OatMethod& oat_method, size_t offset, bool suspend_point_mapping) argument 927 size_t offset = 0; local [all...] |
/art/runtime/gc/collector/ |
H A D | mark_compact.cc | 429 void operator()(Object* obj, MemberOffset offset, bool /*is_static*/) const 431 collector_->UpdateHeapReference(obj->GetFieldObjectReferenceAddr<kVerifyNone>(offset)); 566 void operator()(Object* obj, MemberOffset offset, bool /*is_static*/) const ALWAYS_INLINE 569 collector_->MarkObject(obj->GetFieldObject<mirror::Object, kVerifyNone>(offset));
|
/art/disassembler/ |
H A D | disassembler_arm.cc | 213 FpRegister(const FpRegister& other, uint32_t offset) argument 214 : size(other.size), r(other.r + offset) {} 316 uint32_t offset = (instruction & 0xfff); local 318 args << "[" << rn << ", #" << offset << "]"; local 320 args << "[" << rn << ", #" << offset << "]!"; local 322 args << "[" << rn << "], #" << offset; local 328 Thread::DumpThreadOffset<4>(args, offset); 1507 uint32_t offset = (instr & 0xff); local 1511 args << "[" << Rn << ", #" << offset << "]"; local 1513 args << "[" << Rn << ", #" << offset << "]!"; local 1515 args << "[" << Rn << "], #" << offset; local [all...] |
/art/compiler/dex/portable/ |
H A D | mir_to_gbc.h | 102 void ConvertFillArrayData(int32_t offset, RegLocation rl_array); 169 void SetDexOffset(int32_t offset);
|
H A D | mir_to_gbc.cc | 211 void MirConverter::ConvertFillArrayData(int32_t offset, RegLocation rl_array) { argument 215 args.push_back(irb_->getInt32(offset)); 331 if (mir_graph_->GetBasicBlock(bb->taken)->start_offset <= mir->offset) { 346 if (mir_graph_->GetBasicBlock(bb->taken)->start_offset <= mir->offset) { 1522 void MirConverter::SetDexOffset(int32_t offset) { argument 1523 current_dalvik_offset_ = offset; 1525 array_ref.push_back(irb_->getInt32(offset)); 1532 // We don't want dex offset on this 1723 SetDexOffset(mir->offset); 1742 irb_->CreateCall(intr, irb_->getInt32(mir->offset)); 1861 int offset = bb->start_offset; local [all...] |
/art/runtime/interpreter/ |
H A D | interpreter.cc | 93 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local 98 success = obj->CasFieldStrongSequentiallyConsistent32<true>(MemberOffset(offset), 101 success = obj->CasFieldStrongSequentiallyConsistent32<false>(MemberOffset(offset), 107 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local 110 obj->SetFieldObject<true>(MemberOffset(offset), newValue); 112 obj->SetFieldObject<false>(MemberOffset(offset), newValue);
|
/art/compiler/dex/quick/ |
H A D | mir_to_lir.h | 45 typedef uint32_t DexOffset; // Dex offset in code units. 47 typedef uint32_t CodeOffset; // Native code offset in bytes. 169 CodeOffset offset; // Offset of this instruction. member in struct:art::LIR 240 CodeOffset offset; // Code offset of data block. member in struct:art::Mir2Lir::EmbeddedData 242 DexOffset vaddr; // Dalvik offset of parent opcode. 576 * @brief Decodes the LIR offset. 577 * @return Returns the scaled offset of LIR. 693 void MarkBoundary(DexOffset offset, const char* inst_str); 706 int AssignLiteralOffset(CodeOffset offset); [all...] |
/art/compiler/sea_ir/ir/ |
H A D | sea.cc | 210 int32_t offset = inst->GetTargetOffset(); local 211 if (target_regions.end() == target_regions.find(&code[i + offset])) { 213 target_regions.insert(std::pair<const uint16_t*, Region*>(&code[i + offset], region)); 244 int32_t offset = inst->GetTargetOffset(); local 245 std::map<const uint16_t*, Region*>::iterator it = target_regions.find(&code[i + offset]);
|
/art/compiler/dex/ |
H A D | mir_analysis.cc | 1127 const Instruction* insn = Instruction::At(current_code_item_->insns_ + mir->offset); 1245 const Instruction* insn = Instruction::At(current_code_item_->insns_ + mir->offset); 1261 const MethodReference* devirt_target = verified_method->GetDevirtTarget(mir->offset);
|
/art/compiler/utils/ |
H A D | assembler_test.h | 578 uintptr_t offset; local 579 std::istringstream(offsetToken) >> std::hex >> offset; local 582 obj.seekg(offset);
|