Home
last modified time | relevance | path

Searched defs:code (Results 1 – 25 of 63) sorted by relevance

123

/art/libdexfile/dex/
Ddex_instruction_utils.h87 constexpr bool IsInstructionIGet(Instruction::Code code) { in IsInstructionIGet()
91 constexpr bool IsInstructionIPut(Instruction::Code code) { in IsInstructionIPut()
95 constexpr bool IsInstructionSGet(Instruction::Code code) { in IsInstructionSGet()
99 constexpr bool IsInstructionSPut(Instruction::Code code) { in IsInstructionSPut()
103 constexpr bool IsInstructionAGet(Instruction::Code code) { in IsInstructionAGet()
107 constexpr bool IsInstructionAPut(Instruction::Code code) { in IsInstructionAPut()
111 constexpr bool IsInstructionIGetOrIPut(Instruction::Code code) { in IsInstructionIGetOrIPut()
115 constexpr bool IsInstructionSGetOrSPut(Instruction::Code code) { in IsInstructionSGetOrSPut()
119 constexpr bool IsInstructionAGetOrAPut(Instruction::Code code) { in IsInstructionAGetOrAPut()
123 constexpr bool IsInstructionBinOp2Addr(Instruction::Code code) { in IsInstructionBinOp2Addr()
[all …]
Ddex_instruction_test.cc142 Instruction::Code code, in Build35c()
159 static std::string DumpInst35c(Instruction::Code code, in DumpInst35c()
/art/runtime/
Doat_file-inl.h28 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetOatQuickMethodHeader() local
45 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFrameSizeInBytes() local
53 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetCoreSpillMask() local
61 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFpSpillMask() local
74 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetVmapTable() local
86 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetQuickCodeSize() local
Doat_quick_method_header.h43 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer() local
67 uintptr_t code = reinterpret_cast<uintptr_t>(code_); in IsOptimized() local
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc56 void Thumb2RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
66 void Thumb2RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
86 void Thumb2RelativePatcher::PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
97 void Thumb2RelativePatcher::PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
139 void Thumb2RelativePatcher::PatchBl(std::vector<uint8_t>* code, in PatchBl()
161 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
171 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32()
183 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { in GetInsn32()
188 uint32_t Thumb2RelativePatcher::GetInsn16(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn16()
196 uint32_t Thumb2RelativePatcher::GetInsn16(Vector* code, uint32_t offset) { in GetInsn16()
Drelative_patcher_thumb2_test.cc76 void InsertInsn(std::vector<uint8_t>* code, size_t pos, uint32_t insn) { in InsertInsn()
97 void PushBackInsn(std::vector<uint8_t>* code, uint32_t insn) { in PushBackInsn()
215 ArenaVector<uint8_t> code(helper.GetAllocator()->Adapter()); in CompileThunk() local
222 const ArrayRef<const uint8_t>& code, in AddCompiledMethod()
715 ArrayRef<const uint8_t> code(raw_code); in TestBakerFieldWide() local
813 ArrayRef<const uint8_t> code(raw_code); in TestBakerFieldNarrow() local
1116 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
1193 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
1248 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
1291 std::vector<uint8_t> code; in TEST_F() local
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc127 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace() local
193 void Arm64RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
204 void Arm64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
309 void Arm64RelativePatcher::PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
319 void Arm64RelativePatcher::PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
369 void Arm64RelativePatcher::PatchBl(std::vector<uint8_t>* code, in PatchBl()
383 bool Arm64RelativePatcher::NeedsErratum843419Thunk(ArrayRef<const uint8_t> code, in NeedsErratum843419Thunk()
433 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
443 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
455 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()
/art/compiler/utils/arm64/
Dassembler_arm64.h163 static vixl::aarch64::Register reg_x(int code) { in reg_x()
173 static vixl::aarch64::Register reg_w(int code) { in reg_w()
183 static vixl::aarch64::VRegister reg_d(int code) { in reg_d()
187 static vixl::aarch64::VRegister reg_s(int code) { in reg_s()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher.h98 void PatchCall(std::vector<uint8_t>* code, in PatchCall()
108 void PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
117 void PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
124 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
Drelative_patcher_test.h136 const auto code = compiled_method->GetQuickCode(); in Link() local
167 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link() local
282 ArrayRef<const uint8_t> code, in SetThunkCode()
288 /*out*/ ArrayRef<const uint8_t>* code, in GetThunkCode()
353 ThunkValue(ArrayRef<const uint8_t> code, const std::string& debug_name) in ThunkValue()
Dmulti_oat_relative_patcher.cc29 /*out*/ ArrayRef<const uint8_t>* code, in GetThunkCode()
/art/compiler/trampolines/
Dtrampoline_compiler.cc80 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
122 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
143 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
164 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
/art/compiler/driver/
Dcompiled_method_storage.cc130 ThunkMapValue(std::vector<uint8_t, SwapAllocator<uint8_t>>&& code, in ThunkMapValue()
178 const ArrayRef<const uint8_t>& code) { in DeduplicateCode()
182 void CompiledMethodStorage::ReleaseCode(const LengthPrefixedArray<uint8_t>* code) { in ReleaseCode()
256 ArrayRef<const uint8_t> code, in SetThunkCode()
Dcompiled_method_storage_test.cc32 ArrayRef<const uint8_t> code[] = { in TEST() local
/art/runtime/arch/x86_64/
Dthread_x86_64.cc37 static void arch_prctl(int code, void* val) { in arch_prctl()
/art/test/701-easy-div-rem/
DgenMain.py85 code = \ variable
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64.cc25 void X86_64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc122 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
154 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
Drelative_patcher_x86.cc25 void X86RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
Drelative_patcher_x86_base.cc44 void X86BaseRelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
/art/libdexfile/external/
Ddex_file_ext.cc63 art::CodeItemInstructionAccessor code = method.GetInstructions(); in FindMethod() local
89 art::CodeItemInstructionAccessor code = method.GetInstructions(); in CreateClassCache() local
241 art::CodeItemInstructionAccessor code = method.GetInstructions(); in ADexFile_forEachMethod() local
/art/compiler/utils/
Dassembler_test_base.h200 void ReadElf(const std::string& filename, /*out*/ std::vector<uint8_t>* code) { in ReadElf()
211 void WriteElf(const std::string& filename, InstructionSet isa, const std::vector<uint8_t>& code) { in WriteElf()
/art/compiler/jni/quick/
Djni_compiler.h34 std::vector<uint8_t>&& code, in JniCompiledMethod()
/art/compiler/jni/
Djni_cfi_test.cc99 MemoryRegion code(&actual_asm[0], actual_asm.size()); in TestImplSized() local
/art/compiler/
Dcommon_compiler_test.cc53 CodeAndMetadata(ArrayRef<const uint8_t> code, in CodeAndMetadata()
141 const void* CommonCompilerTestImpl::MakeExecutable(ArrayRef<const uint8_t> code, in MakeExecutable()

123