Home
last modified time | relevance | path

Searched refs:CodeItem (Results 1 – 25 of 60) sorted by relevance

123

/art/libdexfile/dex/
Dcode_item_accessors-inl.h37 inline void CodeItemInstructionAccessor::Init<CompactDexFile::CodeItem>(
38 const CompactDexFile::CodeItem& code_item) {
50 inline void CodeItemInstructionAccessor::Init<StandardDexFile::CodeItem>(
51 const StandardDexFile::CodeItem& code_item) {
56 const dex::CodeItem* code_item) { in Init()
60 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item)); in Init()
63 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item)); in Init()
70 const dex::CodeItem* code_item) { in CodeItemInstructionAccessor()
91 inline void CodeItemDataAccessor::Init<CompactDexFile::CodeItem>(
92 const CompactDexFile::CodeItem& code_item) {
[all …]
Dcode_item_accessors.h29 struct CodeItem;
43 const dex::CodeItem* code_item);
81 ALWAYS_INLINE void Init(const DexFile& dex_file, const dex::CodeItem* code_item);
98 ALWAYS_INLINE CodeItemDataAccessor(const DexFile& dex_file, const dex::CodeItem* code_item);
127 ALWAYS_INLINE void Init(const DexFile& dex_file, const dex::CodeItem* code_item);
148 const dex::CodeItem* code_item, in CodeItemDebugInfoAccessor()
154 const dex::CodeItem* code_item,
Dcode_item_accessors_test.cc74 const dex::CodeItem* item, in TEST()
91 StandardDexFile::CodeItem* dex_code_item = in TEST()
92 reinterpret_cast<StandardDexFile::CodeItem*>(const_cast<uint8_t*>(standard_dex->Begin())); in TEST()
100 CompactDexFile::CodeItem* cdex_code_item = in TEST()
101 reinterpret_cast<CompactDexFile::CodeItem*>(const_cast<uint8_t*>(compact_dex->Begin() + in TEST()
102 CompactDexFile::CodeItem::kMaxPreHeaderSize * sizeof(uint16_t))); in TEST()
Dcompact_dex_file_test.cc54 uint16_t buffer[sizeof(CompactDexFile::CodeItem) + in TEST()
55 CompactDexFile::CodeItem::kMaxPreHeaderSize] = {}; in TEST()
56 CompactDexFile::CodeItem* code_item = reinterpret_cast<CompactDexFile::CodeItem*>( in TEST()
57 &buffer[CompactDexFile::CodeItem::kMaxPreHeaderSize]); in TEST()
Dcompact_dex_file.h87 struct CodeItem : public dex::CodeItem { struct
93 CodeItem() = default; argument
245 DISALLOW_COPY_AND_ASSIGN(CodeItem); argument
274 uint32_t GetCodeItemSize(const dex::CodeItem& item) const override;
Ddex_file_tracking_registrar.cc161 const dex::CodeItem* code_item = method.GetCodeItem(); in SetAllCodeItemRegistration()
174 const dex::CodeItem* code_item = method.GetCodeItem(); in SetAllCodeItemStartRegistration()
192 const dex::CodeItem* code_item = method.GetCodeItem(); in SetAllInsnsRegistration()
209 const dex::CodeItem* code_item = method.GetCodeItem(); in SetCodeItemRegistration()
Ddex_file_structs.h99 struct CodeItem { struct
101 CodeItem() = default;
104 DISALLOW_COPY_AND_ASSIGN(CodeItem);
Dstandard_dex_file.cc75 uint32_t StandardDexFile::GetCodeItemSize(const dex::CodeItem& item) const { in GetCodeItemSize()
Dclass_accessor.h29 struct CodeItem;
107 const dex::CodeItem* GetCodeItem() const;
285 const dex::CodeItem* GetCodeItem(const Method& method) const;
/art/dexlayout/
Ddexlayout.h84 std::unordered_map<dex_ir::CodeItem*, LayoutType> code_item_layout_;
138 void DumpBytecodes(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset);
139 void DumpCatches(const dex_ir::CodeItem* code);
144 const dex_ir::CodeItem* code,
154 void DumpInstruction(const dex_ir::CodeItem* code,
160 void DumpLocalInfo(const dex_ir::CodeItem* code);
164 const dex_ir::CodeItem* code,
166 void DumpPositionInfo(const dex_ir::CodeItem* code);
187 void DumpCFG(const DexFile* dex_file, uint32_t dex_method_idx, const dex::CodeItem* code);
Dcompact_dex_writer.cc62 dex_ir::CodeItem* code_item = method.GetCodeItem(); in WriteDebugInfoOffsetTable()
141 dex_ir::CodeItem* code_item, in WriteCodeItem()
147 CompactDexFile::CodeItem::kAlignment, in WriteCodeItem()
150 CompactDexFile::CodeItem disk_code_item; in WriteCodeItem()
152 uint16_t preheader_storage[CompactDexFile::CodeItem::kMaxPreHeaderSize] = {}; in WriteCodeItem()
153 uint16_t* preheader_end = preheader_storage + CompactDexFile::CodeItem::kMaxPreHeaderSize; in WriteCodeItem()
195 stream->Write(&disk_code_item, OFFSETOF_MEMBER(CompactDexFile::CodeItem, insns_)); in WriteCodeItem()
250 dex_ir::CodeItem* code_item = method.GetCodeItem(); in SortDebugInfosByMethodIndex()
337 std::vector<dex_ir::CodeItem*> method_id_code_item(header_->MethodIds().Size(), nullptr); in CanGenerateCompactDex()
350 dex_ir::CodeItem* code_item = method.GetCodeItem(); in CanGenerateCompactDex()
Ddex_verify.h99 bool VerifyCode(dex_ir::CodeItem* orig, dex_ir::CodeItem* output, std::string* error_msg);
/art/runtime/
Ddex_to_dex_decompiler.h27 struct CodeItem;
39 const dex::CodeItem& code_item,
Ddex_to_dex_decompiler.cc35 const dex::CodeItem& code_item, in DexDecompiler()
197 const dex::CodeItem& code_item, in ArtDecompileDEX()
/art/dex2oat/dex/
Ddex_to_dex_compiler.h39 struct CodeItem;
57 CompiledMethod* CompileMethod(const dex::CodeItem* code_item,
112 std::unordered_set<const dex::CodeItem*> shared_code_items_;
114 std::unordered_map<const dex::CodeItem*, QuickenState> shared_code_item_quicken_info_
/art/runtime/verifier/
Dmethod_verifier.h51 struct CodeItem;
116 const dex::CodeItem* code_item, ArtMethod* method,
167 const CodeItemDataAccessor& CodeItem() const { in CodeItem() function
190 const dex::CodeItem* code_item,
224 const dex::CodeItem* code_item,
242 const dex::CodeItem* code_item,
263 const dex::CodeItem* code_item,
/art/compiler/
Dcompiler.h27 struct CodeItem;
60 virtual CompiledMethod* Compile(const dex::CodeItem* code_item,
95 static bool IsPathologicalCase(const dex::CodeItem& code_item,
Dcompiler.cc48 bool Compiler::IsPathologicalCase(const dex::CodeItem& code_item, in IsPathologicalCase()
/art/compiler/driver/
Ddex_compilation_unit.h41 const dex::CodeItem* code_item,
69 const dex::CodeItem* GetCodeItem() const { in GetCodeItem()
167 const dex::CodeItem* const code_item_;
Ddex_compilation_unit.cc33 const dex::CodeItem* code_item, in DexCompilationUnit()
/art/compiler/debug/
Dmethod_debug_info.h35 const dex::CodeItem* code_item;
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DMapList.java147 rawDexFile.codeItems = new ArrayList<CodeItem>(mapItem.size); in read()
149 CodeItem newCodeItem = new CodeItem(); in read()
/art/tools/dexfuzz/src/dexfuzz/program/
DProgram.java49 import dexfuzz.rawdex.CodeItem;
226 for (CodeItem codeItem : rawDexFile.codeItems) { in Program()
323 if (method.codeOff.getPointedToItem() instanceof CodeItem) { in associateMethod()
324 CodeItem codeItem = (CodeItem) method.codeOff.getPointedToItem(); in associateMethod()
342 private boolean legalToMutate(CodeItem codeItem) { in legalToMutate()
DCodeTranslator.java20 import dexfuzz.rawdex.CodeItem;
50 public MutatableCode codeItemToMutatableCode(Program program, CodeItem codeItem, in codeItemToMutatableCode()
140 public void mutatableCodeToCodeItem(CodeItem codeItem, MutatableCode mutatableCode) { in mutatableCodeToCodeItem()
214 private Map<Short,Integer> createTryHandlerOffsetToIndexMap(CodeItem codeItem) { in createTryHandlerOffsetToIndexMap()
249 private void readTryBlocks(CodeItem codeItem, MutatableCode mutatableCode, in readTryBlocks()
320 private void updateTryBlocks(CodeItem codeItem, MutatableCode mutatableCode) { in updateTryBlocks()
/art/compiler/optimizing/
Doptimizing_unit_test.h157 CHECK_ALIGNED(aligned_data, StandardDexFile::CodeItem::kAlignment);
158 const dex::CodeItem* code_item = reinterpret_cast<const dex::CodeItem*>(aligned_data);

123