/art/tools/cpp-define-generator/ |
D | code_item.def | 23 art::StandardDexFile::CodeItem::RegistersSizeOffset()) 25 art::StandardDexFile::CodeItem::InsSizeOffset()) 27 art::StandardDexFile::CodeItem::OutsSizeOffset()) 29 art::StandardDexFile::CodeItem::InsnsOffset()) 32 art::CompactDexFile::CodeItem::FieldsOffset()) 34 art::CompactDexFile::CodeItem::InsnsCountAndFlagsOffset()) 36 art::CompactDexFile::CodeItem::InsnsOffset()) 39 art::CompactDexFile::CodeItem::kFlagPreHeaderRegistersSize | 40 art::CompactDexFile::CodeItem::kFlagPreHeaderInsSize | 41 art::CompactDexFile::CodeItem::kFlagPreHeaderOutsSize) [all …]
|
/art/libdexfile/dex/ |
D | code_item_accessors-inl.h | 38 inline void CodeItemInstructionAccessor::Init<CompactDexFile::CodeItem>( 39 const CompactDexFile::CodeItem& code_item) { 51 inline void CodeItemInstructionAccessor::Init<StandardDexFile::CodeItem>( 52 const StandardDexFile::CodeItem& code_item) { 57 const dex::CodeItem* code_item) { in Init() 61 Init(down_cast<const CompactDexFile::CodeItem&>(*code_item)); in Init() 64 Init(down_cast<const StandardDexFile::CodeItem&>(*code_item)); in Init() 71 const dex::CodeItem* code_item) { in CodeItemInstructionAccessor() 92 inline void CodeItemDataAccessor::Init<CompactDexFile::CodeItem>( 93 const CompactDexFile::CodeItem& code_item) { [all …]
|
D | standard_dex_file.h | 35 struct CodeItem : public dex::CodeItem { struct 39 return OFFSETOF_MEMBER(CodeItem, ins_size_); in InsSizeOffset() argument 43 return OFFSETOF_MEMBER(CodeItem, outs_size_); in OutsSizeOffset() argument 47 return OFFSETOF_MEMBER(CodeItem, registers_size_); in RegistersSizeOffset() argument 51 return OFFSETOF_MEMBER(CodeItem, insns_); in InsnsOffset() argument 55 CodeItem() = default; 77 DISALLOW_COPY_AND_ASSIGN(CodeItem); argument 104 uint32_t GetCodeItemSize(const dex::CodeItem& item) const override;
|
D | code_item_accessors.h | 29 struct CodeItem; 44 const dex::CodeItem* code_item); 82 ALWAYS_INLINE void Init(const DexFile& dex_file, const dex::CodeItem* code_item); 99 ALWAYS_INLINE CodeItemDataAccessor(const DexFile& dex_file, const dex::CodeItem* code_item); 128 ALWAYS_INLINE void Init(const DexFile& dex_file, const dex::CodeItem* code_item); 149 const dex::CodeItem* code_item, in CodeItemDebugInfoAccessor() 155 const dex::CodeItem* code_item,
|
D | code_item_accessors_test.cc | 74 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()
|
D | compact_dex_file_test.cc | 54 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()
|
D | compact_dex_file.h | 88 struct CodeItem : public dex::CodeItem { struct 94 return OFFSETOF_MEMBER(CodeItem, fields_); in FieldsOffset() argument 98 return OFFSETOF_MEMBER(CodeItem, insns_count_and_flags_); in InsnsCountAndFlagsOffset() argument 102 return OFFSETOF_MEMBER(CodeItem, insns_); in InsnsOffset() argument 123 CodeItem() = default; argument 263 DISALLOW_COPY_AND_ASSIGN(CodeItem); argument 292 uint32_t GetCodeItemSize(const dex::CodeItem& item) const override;
|
D | dex_file_tracking_registrar.cc | 161 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()
|
D | dex_file_structs.h | 99 struct CodeItem { struct 101 CodeItem() = default; 104 DISALLOW_COPY_AND_ASSIGN(CodeItem);
|
D | class_accessor.h | 29 struct CodeItem; 108 const dex::CodeItem* GetCodeItem() const; 286 const dex::CodeItem* GetCodeItem(const Method& method) const;
|
D | standard_dex_file.cc | 82 uint32_t StandardDexFile::GetCodeItemSize(const dex::CodeItem& item) const { in GetCodeItemSize()
|
/art/dexlayout/ |
D | dexlayout.h | 83 std::unordered_map<dex_ir::CodeItem*, LayoutType> code_item_layout_; 140 void DumpBytecodes(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset); 141 void DumpCatches(const dex_ir::CodeItem* code); 146 const dex_ir::CodeItem* code, 156 void DumpInstruction(const dex_ir::CodeItem* code, 162 void DumpLocalInfo(const dex_ir::CodeItem* code); 166 const dex_ir::CodeItem* code, 168 void DumpPositionInfo(const dex_ir::CodeItem* code); 189 void DumpCFG(const DexFile* dex_file, uint32_t dex_method_idx, const dex::CodeItem* code);
|
D | compact_dex_writer.cc | 61 dex_ir::CodeItem* code_item = method.GetCodeItem(); in WriteDebugInfoOffsetTable() 143 dex_ir::CodeItem* code_item, in WriteCodeItem() 149 CompactDexFile::CodeItem::kAlignment, in WriteCodeItem() 152 CompactDexFile::CodeItem disk_code_item; in WriteCodeItem() 154 uint16_t preheader_storage[CompactDexFile::CodeItem::kMaxPreHeaderSize] = {}; in WriteCodeItem() 155 uint16_t* preheader_end = preheader_storage + CompactDexFile::CodeItem::kMaxPreHeaderSize; in WriteCodeItem() 197 stream->Write(&disk_code_item, OFFSETOF_MEMBER(CompactDexFile::CodeItem, insns_)); in WriteCodeItem() 248 dex_ir::CodeItem* code_item = method.GetCodeItem(); in SortDebugInfosByMethodIndex() 335 std::vector<dex_ir::CodeItem*> method_id_code_item(header_->MethodIds().Size(), nullptr); in CanGenerateCompactDex() 348 dex_ir::CodeItem* code_item = method.GetCodeItem(); in CanGenerateCompactDex()
|
D | dex_verify.h | 99 bool VerifyCode(dex_ir::CodeItem* orig, dex_ir::CodeItem* output, std::string* error_msg);
|
D | dex_ir.h | 45 class CodeItem; variable 98 virtual void Dispatch(CodeItem* code_item) = 0; 490 CollectionVector<CodeItem>& CodeItems() { return code_items_; } in CodeItems() 491 const CollectionVector<CodeItem>& CodeItems() const { return code_items_; } in CodeItems() 571 CollectionVector<CodeItem> code_items_; 743 MethodItem(uint32_t access_flags, const MethodId* method_id, CodeItem* code) in MethodItem() 751 CodeItem* GetCodeItem() { return code_; } in GetCodeItem() 758 CodeItem* code_; // This can be nullptr. 1036 class CodeItem : public Item { 1038 CodeItem(uint16_t registers_size, in CodeItem() function [all …]
|
/art/runtime/verifier/ |
D | method_verifier.h | 50 struct CodeItem; 107 const dex::CodeItem* code_item, 168 const CodeItemDataAccessor& CodeItem() const { in CodeItem() function 206 const dex::CodeItem* code_item, 243 const dex::CodeItem* code_item, 261 const dex::CodeItem* code_item, 280 const dex::CodeItem* code_item,
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 41 const dex::CodeItem* code_item, 69 const dex::CodeItem* GetCodeItem() const { in GetCodeItem() 167 const dex::CodeItem* const code_item_;
|
D | dex_compilation_unit.cc | 33 const dex::CodeItem* code_item, in DexCompilationUnit()
|
/art/compiler/ |
D | compiler.h | 28 struct CodeItem; 61 virtual CompiledMethod* Compile(const dex::CodeItem* code_item, 96 static bool IsPathologicalCase(const dex::CodeItem& code_item,
|
D | compiler.cc | 48 bool Compiler::IsPathologicalCase(const dex::CodeItem& code_item, in IsPathologicalCase()
|
/art/compiler/debug/ |
D | method_debug_info.h | 35 const dex::CodeItem* code_item;
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | Program.java | 49 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()
|
D | CodeTranslator.java | 20 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/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | MapList.java | 147 rawDexFile.codeItems = new ArrayList<CodeItem>(mapItem.size); in read() 149 CodeItem newCodeItem = new CodeItem(); in read()
|
D | RawDexFile.java | 44 public List<CodeItem> codeItems; 250 for (CodeItem codeItem : codeItems) { in write() 376 for (CodeItem codeItem : codeItems) { in incrementIndex()
|