Home
last modified time | relevance | path

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

123

/art/libdexfile/dex/
Ddex_instruction_utils.h92 constexpr bool IsInstructionIGet(Instruction::Code code) { in IsInstructionIGet()
96 constexpr bool IsInstructionIPut(Instruction::Code code) { in IsInstructionIPut()
100 constexpr bool IsInstructionSGet(Instruction::Code code) { in IsInstructionSGet()
104 constexpr bool IsInstructionSPut(Instruction::Code code) { in IsInstructionSPut()
108 constexpr bool IsInstructionAGet(Instruction::Code code) { in IsInstructionAGet()
112 constexpr bool IsInstructionAPut(Instruction::Code code) { in IsInstructionAPut()
116 constexpr bool IsInstructionIGetOrIPut(Instruction::Code code) { in IsInstructionIGetOrIPut()
120 constexpr bool IsInstructionIGetQuickOrIPutQuick(Instruction::Code code) { in IsInstructionIGetQuickOrIPutQuick()
125 constexpr bool IsInstructionSGetOrSPut(Instruction::Code code) { in IsInstructionSGetOrSPut()
129 constexpr bool IsInstructionAGetOrAPut(Instruction::Code code) { in IsInstructionAGetOrAPut()
[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
53 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFrameSizeInBytes() local
61 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetCoreSpillMask() local
69 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFpSpillMask() local
90 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetVmapTable() local
102 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetQuickCodeSize() local
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc57 void Thumb2RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
67 void Thumb2RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
87 void Thumb2RelativePatcher::PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
98 void Thumb2RelativePatcher::PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
140 void Thumb2RelativePatcher::PatchBl(std::vector<uint8_t>* code, in PatchBl()
162 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
172 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32()
184 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { in GetInsn32()
189 uint32_t Thumb2RelativePatcher::GetInsn16(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn16()
197 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.cc125 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace() local
191 void Arm64RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
202 void Arm64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
302 void Arm64RelativePatcher::PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
312 void Arm64RelativePatcher::PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
362 void Arm64RelativePatcher::PatchBl(std::vector<uint8_t>* code, in PatchBl()
376 bool Arm64RelativePatcher::NeedsErratum843419Thunk(ArrayRef<const uint8_t> code, in NeedsErratum843419Thunk()
426 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
436 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
448 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()
/art/compiler/utils/arm64/
Dassembler_arm64.h140 static vixl::aarch64::Register reg_x(int code) { in reg_x()
150 static vixl::aarch64::Register reg_w(int code) { in reg_w()
160 static vixl::aarch64::VRegister reg_d(int code) { in reg_d()
164 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/compiler/dex/
Dverified_method.cc71 const Instruction::Code code = inst.Opcode(); in GenerateSafeCastSet() local
/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_base.cc44 void X86BaseRelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
Drelative_patcher_x86.cc25 void X86RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
/art/compiler/jni/quick/
Djni_compiler.h34 std::vector<uint8_t>&& code, in JniCompiledMethod()
/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/libdexfile/external/
Ddex_file_ext.cc120 art::CodeItemInstructionAccessor code = method.GetInstructions(); in GetMethodCacheEntryForOffset() local
146 art::CodeItemInstructionAccessor code = method.GetInstructions(); in GetClassDefIndex() local
367 art::CodeItemInstructionAccessor code = method.GetInstructions(); in ExtDexFileGetAllMethodInfos() local
/art/compiler/jni/
Djni_cfi_test.cc99 MemoryRegion code(&actual_asm[0], actual_asm.size()); in TestImplSized() local
/art/compiler/optimizing/
Dcommon_arm64.h46 inline int VIXLRegCodeFromART(int code) { in VIXLRegCodeFromART()
56 inline int ARTRegCodeFromVIXL(int code) { in ARTRegCodeFromVIXL()

123