Home
last modified time | relevance | path

Searched refs:try_items (Results 1 – 4 of 4) sorted by relevance

/art/libdexfile/dex/
Dcode_item_accessors-inl.h131 const dex::TryItem* try_items = DexFile::GetTryItems(end(), 0u); in TryItems() local
133 try_items, in TryItems()
134 try_items + TriesSize() }; in TryItems()
142 IterationRange<const dex::TryItem*> try_items(TryItems()); in FindTryItem()
143 int32_t index = DexFile::FindTryItem(try_items.begin(), in FindTryItem()
144 try_items.end() - try_items.begin(), in FindTryItem()
146 return index != -1 ? &try_items.begin()[index] : nullptr; in FindTryItem()
Ddex_file_verifier.cc1573 const dex::TryItem* try_items = accessor.TryItems().begin(); in CheckIntraCodeItem() local
1574 if (!CheckListSize(try_items, try_items_size, sizeof(dex::TryItem), "try_items size")) { in CheckIntraCodeItem()
1606 if (UNLIKELY(try_items->start_addr_ < last_addr)) { in CheckIntraCodeItem()
1607 ErrorStringPrintf("Out-of_order try_item with start_addr: %x", try_items->start_addr_); in CheckIntraCodeItem()
1611 if (UNLIKELY(try_items->start_addr_ >= insns_size)) { in CheckIntraCodeItem()
1612 ErrorStringPrintf("Invalid try_item start_addr: %x", try_items->start_addr_); in CheckIntraCodeItem()
1618 if (try_items->handler_off_ == handler_offsets[i]) { in CheckIntraCodeItem()
1624 ErrorStringPrintf("Bogus handler offset: %x", try_items->handler_off_); in CheckIntraCodeItem()
1628 last_addr = try_items->start_addr_ + try_items->insn_count_; in CheckIntraCodeItem()
1630 ErrorStringPrintf("Invalid try_item insn_count: %x", try_items->insn_count_); in CheckIntraCodeItem()
[all …]
Ddex_file.cc454 int32_t DexFile::FindTryItem(const TryItem* try_items, uint32_t tries_size, uint32_t address) { in FindTryItem() argument
460 const TryItem& ti = try_items[mid]; in FindTryItem()
Ddex_file.h516 static int32_t FindTryItem(const dex::TryItem* try_items, uint32_t tries_size, uint32_t address);