Home
last modified time | relevance | path

Searched refs:code_offset (Results 1 – 12 of 12) sorted by relevance

/art/compiler/
Dcommon_compiler_test.cc62 const uint32_t code_offset = RoundUp(vmap_table.size() + sizeof(method_header), code_alignment); in CodeAndMetadata() local
63 const uint32_t capacity = RoundUp(code_offset + code_size, page_size); in CodeAndMetadata()
84 uint8_t* code_addr = rw_map_.Begin() + code_offset; in CodeAndMetadata()
86 CHECK_LE(vmap_table_offset, code_offset); in CodeAndMetadata()
89 CHECK_LE(sizeof(method_header), code_offset); in CodeAndMetadata()
111 DCHECK_LT(code_offset, rx_map_.Size()); in CodeAndMetadata()
113 entry_point_ = rx_map_.Begin() + code_offset + adjustment; in CodeAndMetadata()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc297 uint32_t code_offset; in ReserveSpaceInternal() local
300 code_offset = compiled_method->AlignCode(offset + sizeof(OatQuickMethodHeader)); in ReserveSpaceInternal()
301 next_aligned_offset = compiled_method->AlignCode(code_offset + max_code_size); in ReserveSpaceInternal()
308 ResolveMethodCalls(code_offset, method_ref); in ReserveSpaceInternal()
334 ProcessPatches(compiled_method, code_offset); in ReserveSpaceInternal()
404 uint32_t code_offset) { in ProcessPatches() argument
406 uint32_t patch_offset = code_offset + patch.LiteralOffset(); in ProcessPatches()
Drelative_patcher_arm_base.h106 void ProcessPatches(const CompiledMethod* compiled_method, uint32_t code_offset);
/art/runtime/oat/
Dstack_map.cc202 uint32_t code_offset, in Dump() argument
249 stack_map.Dump(vios, *this, code_offset, instruction_set); in Dump()
256 uint32_t code_offset, in Dump() argument
262 << " (native_pc=0x" << code_offset + pc_offset in Dump()
Doat_file.h85 explicit OatMethodOffsets(uint32_t code_offset = 0) : code_offset_(code_offset) {} in code_offset_() argument
236 OatMethod(const uint8_t* base, const uint32_t code_offset) in OatMethod() argument
237 : begin_(base), code_offset_(code_offset) { in OatMethod()
Dstack_map.h172 uint32_t code_offset,
477 uint32_t code_offset,
/art/oatdump/
Doatdump.cc198 size_t code_offset = oat_header.Get ## fn_name ## Offset(); \ in Symbolize()
199 code_offset -= GetInstructionSetEntryPointAdjustment(oat_header.GetInstructionSet()); \ in Symbolize()
200 info.code_address = code_offset - oat_header.GetExecutableOffset(); \ in Symbolize()
705 uint32_t code_offset = oat_class.GetOatMethod(class_method_index).GetCodeOffset(); in DumpMethodAndOffsetAsJson() local
717 "{\"method\":\"%s\",\"offset\":\"0x%08x\"}\n", pretty_method.c_str(), code_offset); in DumpMethodAndOffsetAsJson()
873 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets() local
875 code_offset &= ~0x1; in AddOffsets()
877 offsets_.insert(code_offset); in AddOffsets()
1137 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod() local
1140 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod()
[all …]
/art/runtime/verifier/
Dmethod_verifier.cc286 bool VerifyInstruction(const Instruction* inst, uint32_t code_offset);
1167 uint32_t code_offset) { in VerifyInstruction() argument
1233 result = result && CheckArrayData(code_offset); in VerifyInstruction()
1236 result = result && CheckBranchTarget(code_offset); in VerifyInstruction()
1239 result = result && CheckSwitchTargets(code_offset); in VerifyInstruction()
/art/libdexfile/dex/
Ddex_file_verifier.cc278 uint32_t code_offset,
940 uint32_t code_offset, in CheckClassDataItemMethod() argument
976 bool has_code = (code_offset != 0); in CheckClassDataItemMethod()
/art/dex2oat/linker/
Doat_writer.cc1212 uint32_t code_offset = quick_code_offset - thumb_offset; in VisitMethod() local
1217 DCHECK_LT(code_info_offset, code_offset); in VisitMethod()
1218 code_info_offset = code_offset - code_info_offset; in VisitMethod()
1249 info.code_address = code_offset - executable_offset_; in VisitMethod()
/art/compiler/optimizing/
Dcode_generator_x86_64.cc8526 uint32_t code_offset = info.label.Position() - kLabelPositionToLiteralOffsetAdjustment; in PatchJitRootUse() local
8530 reinterpret_cast<unaligned_uint32_t*>(code + code_offset)[0] = in PatchJitRootUse()
Dcode_generator_x86.cc9260 uint32_t code_offset = info.label.Position() - kLabelPositionToLiteralOffsetAdjustment; in PatchJitRootUse() local
9264 reinterpret_cast<unaligned_uint32_t*>(code + code_offset)[0] = in PatchJitRootUse()