Home
last modified time | relevance | path

Searched refs:code_ptr (Results 1 – 7 of 7) sorted by relevance

/art/runtime/jit/
Djit_code_cache.cc490 static uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
491 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
573 void JitCodeCache::FreeCode(const void* code_ptr) { in FreeCode() argument
574 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCode()
578 RemoveNativeDebugInfoForJit(code_ptr); in FreeCode()
579 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->IsOptimized()) { in FreeCode()
580 FreeData(GetRootTable(code_ptr)); in FreeCode()
749 uint8_t* code_ptr = nullptr; in CommitCodeInternal() local
761 code_ptr = memory + header_size; in CommitCodeInternal()
763 std::copy(code, code + code_size, code_ptr); in CommitCodeInternal()
[all …]
Djit_code_cache.h321 void FreeCode(const void* code_ptr) REQUIRES(lock_);
/art/compiler/
Dexception_test.cc103 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in SetUp() local
104 CHECK_EQ(code_ptr, in SetUp()
116 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
121 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
Dcommon_compiler_test.cc93 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in MakeExecutable() local
94 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
95 MakeExecutable(code_ptr, code.size()); in MakeExecutable()
96 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
/art/runtime/
Doat_quick_method_header.h44 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { in FromCodePointer() argument
45 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer()
/art/dex2oat/linker/
Doat_writer.cc1568 const void* code_ptr = in StartClass() local
1570 if (code_ptr == nullptr) { in StartClass()
1574 code_ptr, pointer_size_); in StartClass()
1658 const void* code_ptr = in Postprocess() local
1660 if (code_ptr != nullptr) { in Postprocess()
1661 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()
/art/oatdump/
Doatdump.cc1009 const uint16_t* code_ptr = instructions.Insns(); in WalkCodeItem() local
1010 if (dex_code_item_ptrs_.insert(code_ptr).second) { in WalkCodeItem()
1011 dex_code_bytes_ += instructions.InsnsSizeInCodeUnits() * sizeof(code_ptr[0]); in WalkCodeItem()