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.h130 const dex::TryItem* try_items = DexFile::GetTryItems(end(), 0u); in TryItems() local
132 try_items, in TryItems()
133 try_items + TriesSize() }; in TryItems()
141 IterationRange<const dex::TryItem*> try_items(TryItems()); in FindTryItem()
142 int32_t index = DexFile::FindTryItem(try_items.begin(), in FindTryItem()
143 try_items.end() - try_items.begin(), in FindTryItem()
145 return index != -1 ? &try_items.begin()[index] : nullptr; in FindTryItem()
Ddex_file_verifier.cc1277 const dex::TryItem* try_items = accessor.TryItems().begin(); in CheckIntraCodeItem() local
1278 if (!CheckListSize(try_items, try_items_size, sizeof(dex::TryItem), "try_items size")) { in CheckIntraCodeItem()
1310 if (UNLIKELY(try_items->start_addr_ < last_addr)) { in CheckIntraCodeItem()
1311 ErrorStringPrintf("Out-of_order try_item with start_addr: %x", try_items->start_addr_); in CheckIntraCodeItem()
1315 if (UNLIKELY(try_items->start_addr_ >= insns_size)) { in CheckIntraCodeItem()
1316 ErrorStringPrintf("Invalid try_item start_addr: %x", try_items->start_addr_); in CheckIntraCodeItem()
1322 if (try_items->handler_off_ == handler_offsets[i]) { in CheckIntraCodeItem()
1328 ErrorStringPrintf("Bogus handler offset: %x", try_items->handler_off_); in CheckIntraCodeItem()
1332 last_addr = try_items->start_addr_ + try_items->insn_count_; in CheckIntraCodeItem()
1334 ErrorStringPrintf("Invalid try_item insn_count: %x", try_items->insn_count_); in CheckIntraCodeItem()
[all …]
Ddex_file.cc453 int32_t DexFile::FindTryItem(const TryItem* try_items, uint32_t tries_size, uint32_t address) { in FindTryItem() argument
459 const TryItem& ti = try_items[mid]; in FindTryItem()
Ddex_file.h513 static int32_t FindTryItem(const dex::TryItem* try_items, uint32_t tries_size, uint32_t address);