Lines Matching refs:code_item_accessor_
725 CHECK(code_item_accessor_.HasCodeItem()); // This only makes sense for methods with code. in FindLocksAtDexPc()
728 for (const DexInstructionPcPair& inst : code_item_accessor_) { in FindLocksAtDexPc()
788 if (!code_item_accessor_.HasCodeItem()) { in Verify()
880 if (code_item_accessor_.InsSize() > code_item_accessor_.RegistersSize()) { in Verify()
882 << code_item_accessor_.InsSize() in Verify()
883 << " regs=" << code_item_accessor_.RegistersSize(); in Verify()
889 code_item_accessor_.InsnsSizeInCodeUnits())); in Verify()
892 code_item_accessor_.InsnsSizeInCodeUnits(), in Verify()
931 SafeDexInstructionIterator it(code_item_accessor_.begin(), code_item_accessor_.end()); in ComputeWidthsAndCountOps()
932 for ( ; !it.IsErrorState() && it < code_item_accessor_.end(); ++it) { in ComputeWidthsAndCountOps()
951 if (it != code_item_accessor_.end()) { in ComputeWidthsAndCountOps()
952 const size_t insns_size = code_item_accessor_.InsnsSizeInCodeUnits(); in ComputeWidthsAndCountOps()
963 const uint32_t tries_size = code_item_accessor_.TriesSize(); in ScanTryCatchBlocks()
967 const uint32_t insns_size = code_item_accessor_.InsnsSizeInCodeUnits(); in ScanTryCatchBlocks()
968 for (const dex::TryItem& try_item : code_item_accessor_.TryItems()) { in ScanTryCatchBlocks()
981 DexInstructionIterator end_it(code_item_accessor_.Insns(), end); in ScanTryCatchBlocks()
982 for (DexInstructionIterator it(code_item_accessor_.Insns(), start); it < end_it; ++it) { in ScanTryCatchBlocks()
987 const uint8_t* handlers_ptr = code_item_accessor_.GetCatchHandlerData(); in ScanTryCatchBlocks()
999 if (!CheckNotMoveResult(code_item_accessor_.Insns(), dex_pc)) { in ScanTryCatchBlocks()
1027 for (const DexInstructionPcPair& inst : code_item_accessor_) { in VerifyInstructions()
1184 if (UNLIKELY(idx >= code_item_accessor_.RegistersSize())) { in CheckRegisterIndex()
1186 << code_item_accessor_.RegistersSize() << ")"; in CheckRegisterIndex()
1194 if (UNLIKELY(idx + 1 >= code_item_accessor_.RegistersSize())) { in CheckWideRegisterIndex()
1196 << "+1 >= " << code_item_accessor_.RegistersSize() << ")"; in CheckWideRegisterIndex()
1323 const uint32_t insn_count = code_item_accessor_.InsnsSizeInCodeUnits(); in CheckArrayData()
1324 const uint16_t* insns = code_item_accessor_.Insns() + cur_offset; in CheckArrayData()
1390 (uint32_t) abs_offset >= code_item_accessor_.InsnsSizeInCodeUnits() || in CheckBranchTarget()
1406 const uint16_t* insns = code_item_accessor_.Insns() + cur_offset; in GetBranchOffset()
1443 const uint32_t insn_count = code_item_accessor_.InsnsSizeInCodeUnits(); in CheckSwitchTargets()
1445 const uint16_t* insns = code_item_accessor_.Insns() + cur_offset; in CheckSwitchTargets()
1551 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRegs()
1565 uint16_t registers_size = code_item_accessor_.RegistersSize(); in CheckVarArgRangeRegs()
1578 const uint16_t registers_size = code_item_accessor_.RegistersSize(); in VerifyCodeFlow()
1583 code_item_accessor_.InsnsSizeInCodeUnits(), in VerifyCodeFlow()
1621 if (!code_item_accessor_.HasCodeItem()) { in Dump()
1633 for (const DexInstructionPcPair& inst : code_item_accessor_) { in Dump()
1675 DCHECK_GE(code_item_accessor_.RegistersSize(), code_item_accessor_.InsSize()); in SetTypesFromSignature()
1677 uint32_t arg_start = code_item_accessor_.RegistersSize() - code_item_accessor_.InsSize(); in SetTypesFromSignature()
1678 size_t expected_args = code_item_accessor_.InsSize(); /* long/double count as two */ in SetTypesFromSignature()
1831 const uint16_t* insns = code_item_accessor_.Insns(); in CodeFlowVerifyMethod()
1832 const uint32_t insns_size = code_item_accessor_.InsnsSizeInCodeUnits(); in CodeFlowVerifyMethod()
1907 for (const DexInstructionPcPair& inst : code_item_accessor_) { in CodeFlowVerifyMethod()
1936 << "-" << reinterpret_cast<void*>(code_item_accessor_.InsnsSizeInCodeUnits() - 1); in CodeFlowVerifyMethod()
2036 const uint16_t* insns = code_item_accessor_.Insns() + work_insn_idx_; in CodeFlowVerifyInstruction()
2332 const Instruction& prev_inst = code_item_accessor_.InstructionAt(prev_idx); in CodeFlowVerifyInstruction()
2359 const Instruction& prev2_inst = code_item_accessor_.InstructionAt(prev_idx); in CodeFlowVerifyInstruction()
2681 const Instruction& instance_of_inst = code_item_accessor_.InstructionAt(instance_of_idx); in CodeFlowVerifyInstruction()
2720 RegisterLine* update_line = RegisterLine::Create(code_item_accessor_.RegistersSize(), in CodeFlowVerifyInstruction()
2755 const Instruction& move_inst = code_item_accessor_.InstructionAt(move_idx); in CodeFlowVerifyInstruction()
3521 if (!CheckNotMoveExceptionOrMoveResult(code_item_accessor_.Insns(), in CodeFlowVerifyInstruction()
3567 DCHECK_LT(abs_offset, code_item_accessor_.InsnsSizeInCodeUnits()); in CodeFlowVerifyInstruction()
3568 if (!CheckNotMoveExceptionOrMoveResult(code_item_accessor_.Insns(), abs_offset)) { in CodeFlowVerifyInstruction()
3583 const dex::TryItem* try_item = code_item_accessor_.FindTryItem(work_insn_idx_); in CodeFlowVerifyInstruction()
3585 CatchHandlerIterator iterator(code_item_accessor_, *try_item); in CodeFlowVerifyInstruction()
3646 DCHECK_EQ(&code_item_accessor_.InstructionAt(work_insn_idx_), inst); in CodeFlowVerifyInstruction()
3648 if (next_insn_idx >= code_item_accessor_.InsnsSizeInCodeUnits()) { in CodeFlowVerifyInstruction()
3654 if (!CheckNotMoveException(code_item_accessor_.Insns(), next_insn_idx)) { in CodeFlowVerifyInstruction()
3663 const Instruction* ret_inst = &code_item_accessor_.InstructionAt(next_insn_idx); in CodeFlowVerifyInstruction()
3695 DCHECK_EQ(&code_item_accessor_.InstructionAt(work_insn_idx_), inst); in CodeFlowVerifyInstruction()
3702 DCHECK_LT(*start_guess, code_item_accessor_.InsnsSizeInCodeUnits()); in CodeFlowVerifyInstruction()
3774 if (code_item_accessor_.TriesSize() != 0) { in GetCaughtExceptionType()
3775 const uint8_t* handlers_ptr = code_item_accessor_.GetCatchHandlerData(); in GetCaughtExceptionType()
3981 if (expected_args > code_item_accessor_.OutsSize()) { in VerifyInvocationArgsFromIterator()
3984 << code_item_accessor_.OutsSize() << ")"; in VerifyInvocationArgsFromIterator()
4964 const Instruction* ret_inst = &code_item_accessor_.InstructionAt(next_insn); in UpdateRegisters()
5101 code_item_accessor_(*dex_file, code_item), in MethodVerifier()
5473 const Instruction& inst = code_item_accessor_.InstructionAt(work_insn_idx_); in Fail()