Searched refs:code_ptr (Results 1 – 10 of 10) sorted by relevance
47 const uint16_t* code_ptr = code_item.insns_; in Create() local52 while (code_ptr < code_end) { in Create()53 const Instruction& instruction = *Instruction::At(code_ptr); in Create()68 code_ptr += instruction.SizeInCodeUnits(); in Create()
329 static uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument330 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()412 void JitCodeCache::FreeCode(const void* code_ptr) { in FreeCode() argument413 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCode()416 DeleteJITCodeEntryForAddress(reinterpret_cast<uintptr_t>(code_ptr)); in FreeCode()417 FreeData(GetRootTable(code_ptr)); in FreeCode()570 uint8_t* code_ptr = nullptr; in CommitCodeInternal() local582 code_ptr = memory + header_size; in CommitCodeInternal()584 std::copy(code, code + code_size, code_ptr); in CommitCodeInternal()585 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in CommitCodeInternal()[all …]
295 void FreeCode(const void* code_ptr) REQUIRES(lock_);
95 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in SetUp() local96 CHECK_EQ(code_ptr, in SetUp()108 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()113 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
92 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in MakeExecutable() local93 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()94 MakeExecutable(code_ptr, code.size()); in MakeExecutable()95 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
1167 const void* code_ptr = in StartClass() local1169 if (code_ptr == nullptr) { in StartClass()1173 code_ptr, pointer_size_); in StartClass()1258 const void* code_ptr = in Postprocess() local1260 if (code_ptr != nullptr) { in Postprocess()1261 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()
44 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { in FromCodePointer() argument45 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer()
729 const uint16_t* code_ptr = code_item.insns_; in CheckLoopEntriesCanBeUsedForOsr() local733 while (code_ptr < code_end) { in CheckLoopEntriesCanBeUsedForOsr()734 const Instruction& instruction = *Instruction::At(code_ptr); in CheckLoopEntriesCanBeUsedForOsr()751 code_ptr += instruction.SizeInCodeUnits(); in CheckLoopEntriesCanBeUsedForOsr()
883 const uint16_t* code_ptr = code_item->insns_; in WalkCodeItem() local887 if (dex_code_item_ptrs_.insert(code_ptr).second) { in WalkCodeItem()888 dex_code_bytes_ += code_item_size * sizeof(code_ptr[0]); in WalkCodeItem()891 while (code_ptr < code_end) { in WalkCodeItem()892 const Instruction* inst = Instruction::At(code_ptr); in WalkCodeItem()910 code_ptr += inst->SizeInCodeUnits(); in WalkCodeItem()
764 const uint16_t* code_ptr = code_item->insns_; in ResolveConstStrings() local768 while (code_ptr < code_end) { in ResolveConstStrings()769 const Instruction* inst = Instruction::At(code_ptr); in ResolveConstStrings()785 code_ptr += inst->SizeInCodeUnits(); in ResolveConstStrings()