Lines Matching refs:code_item

399 bool DexFileVerifier::CheckAndGetHandlerOffsets(const DexFile::CodeItem* code_item,  in CheckAndGetHandlerOffsets()  argument
401 const byte* handlers_base = DexFile::GetCatchHandlerData(*code_item, 0); in CheckAndGetHandlerOffsets()
429 if (UNLIKELY(addr >= code_item->insns_size_in_code_units_)) { in CheckAndGetHandlerOffsets()
437 if (UNLIKELY(addr >= code_item->insns_size_in_code_units_)) { in CheckAndGetHandlerOffsets()
716 const DexFile::CodeItem* code_item = reinterpret_cast<const DexFile::CodeItem*>(ptr_); in CheckIntraCodeItem() local
717 if (!CheckListSize(code_item, 1, sizeof(DexFile::CodeItem), "code")) { in CheckIntraCodeItem()
721 if (UNLIKELY(code_item->ins_size_ > code_item->registers_size_)) { in CheckIntraCodeItem()
723 code_item->ins_size_, code_item->registers_size_); in CheckIntraCodeItem()
727 if (UNLIKELY((code_item->outs_size_ > 5) && in CheckIntraCodeItem()
728 (code_item->outs_size_ > code_item->registers_size_))) { in CheckIntraCodeItem()
736 code_item->outs_size_, code_item->registers_size_); in CheckIntraCodeItem()
740 const uint16_t* insns = code_item->insns_; in CheckIntraCodeItem()
741 uint32_t insns_size = code_item->insns_size_in_code_units_; in CheckIntraCodeItem()
747 uint32_t try_items_size = code_item->tries_size_; in CheckIntraCodeItem()
759 const DexFile::TryItem* try_items = DexFile::GetTryItems(*code_item, 0); in CheckIntraCodeItem()
760 ptr_ = DexFile::GetCatchHandlerData(*code_item, 0); in CheckIntraCodeItem()
773 if (!CheckAndGetHandlerOffsets(code_item, &handler_offsets[0], handlers_size)) { in CheckIntraCodeItem()