Home
last modified time | relevance | path

Searched refs:try_item (Results 1 – 9 of 9) sorted by relevance

/art/libdexfile/dex/
Ddex_file_exception_helpers.cc44 const dex::TryItem* try_item = accessor.FindTryItem(address); in CatchHandlerIterator() local
45 offset = try_item != nullptr ? try_item->handler_off_ : -1; in CatchHandlerIterator()
53 const dex::TryItem& try_item) { in CatchHandlerIterator() argument
55 Init(accessor, try_item.handler_off_); in CatchHandlerIterator()
Ddex_file_exception_helpers.h36 CatchHandlerIterator(const CodeItemDataAccessor& accessor, const dex::TryItem& try_item);
/art/compiler/optimizing/
Dblock_builder.cc71 for (const dex::TryItem& try_item : code_item_accessor_.TryItems()) { in CreateBranchTargets() local
72 uint32_t dex_pc_start = try_item.start_addr_; in CreateBranchTargets()
73 uint32_t dex_pc_end = dex_pc_start + try_item.insn_count_; in CreateBranchTargets()
238 const dex::TryItem* try_item, in LinkToCatchBlocks() argument
240 for (CatchHandlerIterator it(accessor.GetCatchHandlerData(try_item->handler_off_)); in LinkToCatchBlocks()
298 const dex::TryItem* try_item = code_item_accessor_.FindTryItem(block->GetDexPc()); in InsertTryBoundaryBlocks() local
299 if (try_item != nullptr) { in InsertTryBoundaryBlocks()
301 try_block_info.Put(block->GetBlockId(), try_item); in InsertTryBoundaryBlocks()
359 const dex::TryItem* try_item = entry.second; in InsertTryBoundaryBlocks() local
362 if (GetTryItem(predecessor, try_block_info) != try_item) { in InsertTryBoundaryBlocks()
[all …]
/art/dexlayout/
Ddex_writer.cc541 for (std::unique_ptr<const dex_ir::TryItem>& try_item : *code_item->Tries()) { in WriteCodeItemPostInstructionData()
544 disk_try_item.start_addr_ = try_item->StartAddr(); in WriteCodeItemPostInstructionData()
545 disk_try_item.insn_count_ = try_item->InsnCount(); in WriteCodeItemPostInstructionData()
546 disk_try_item.handler_off_ = try_item->GetHandlers()->GetListOffset(); in WriteCodeItemPostInstructionData()
Ddexlayout.cc797 const dex_ir::TryItem* try_item = (*tries)[i].get(); in DumpCatches() local
798 const uint32_t start = try_item->StartAddr(); in DumpCatches()
799 const uint32_t end = start + try_item->InsnCount(); in DumpCatches()
801 for (auto& handler : *try_item->GetHandlers()->GetHandlers()) { in DumpCatches()
Ddex_ir_builder.cc855 TryItem* try_item = new TryItem(start_addr, insn_count, handlers); in DedupeOrCreateCodeItem() local
856 tries->push_back(std::unique_ptr<const TryItem>(try_item)); in DedupeOrCreateCodeItem()
Ddex_ir.h99 virtual void Dispatch(TryItem* try_item) = 0;
/art/dexdump/
Ddexdump.cc780 for (const dex::TryItem& try_item : accessor.TryItems()) { in dumpCatches() local
781 const u4 start = try_item.start_addr_; in dumpCatches()
782 const u4 end = start + try_item.insn_count_; in dumpCatches()
784 for (CatchHandlerIterator it(accessor, try_item); it.HasNext(); it.Next()) { in dumpCatches()
/art/runtime/verifier/
Dmethod_verifier.cc1118 for (const dex::TryItem& try_item : code_item_accessor_.TryItems()) { in ScanTryCatchBlocks() local
1119 const uint32_t start = try_item.start_addr_; in ScanTryCatchBlocks()
1120 const uint32_t end = start + try_item.insn_count_; in ScanTryCatchBlocks()
3536 const dex::TryItem* try_item = code_item_accessor_.FindTryItem(work_insn_idx_); in CodeFlowVerifyInstruction() local
3537 CHECK(try_item != nullptr); in CodeFlowVerifyInstruction()
3538 CatchHandlerIterator iterator(code_item_accessor_, *try_item); in CodeFlowVerifyInstruction()