Lines Matching refs:expected_args
1654 size_t expected_args = code_item_->ins_size_; /* long/double count as two */ in SetTypesFromSignature() local
1659 if (expected_args == 0) { in SetTypesFromSignature()
1695 if (cur_arg >= expected_args) { in SetTypesFromSignature()
1696 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "expected " << expected_args in SetTypesFromSignature()
1736 if (cur_arg + 1 >= expected_args) { in SetTypesFromSignature()
1737 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "expected " << expected_args in SetTypesFromSignature()
1762 if (cur_arg != expected_args) { in SetTypesFromSignature()
1763 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "expected " << expected_args in SetTypesFromSignature()
3875 const size_t expected_args = (is_range) ? inst->VRegA_3rc() : inst->VRegA_35c(); in VerifyInvocationArgsFromIterator() local
3877 DCHECK(is_range || expected_args <= 5); in VerifyInvocationArgsFromIterator()
3878 if (expected_args > code_item_->outs_size_) { in VerifyInvocationArgsFromIterator()
3879 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid argument count (" << expected_args in VerifyInvocationArgsFromIterator()
3956 if (sig_registers >= expected_args) { in VerifyInvocationArgsFromIterator()
3992 if (!is_range && sig_registers + 1 < expected_args) { in VerifyInvocationArgsFromIterator()
4005 if (expected_args != sig_registers) { in VerifyInvocationArgsFromIterator()
4006 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "Rejecting invocation, expected " << expected_args << in VerifyInvocationArgsFromIterator()
4195 const size_t expected_args = (is_range) ? inst->VRegA_3rc() : inst->VRegA_35c(); in VerifyInvokeVirtualQuickArgs() local
4197 DCHECK(is_range || expected_args <= 5); in VerifyInvokeVirtualQuickArgs()
4198 if (expected_args > code_item_->outs_size_) { in VerifyInvokeVirtualQuickArgs()
4199 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid argument count (" << expected_args in VerifyInvokeVirtualQuickArgs()
4241 if (actual_args >= expected_args) { in VerifyInvokeVirtualQuickArgs()
4243 << "'. Expected " << expected_args in VerifyInvokeVirtualQuickArgs()
4262 if (actual_args != expected_args) { in VerifyInvokeVirtualQuickArgs()
4264 << " expected " << expected_args << " arguments, found " << actual_args; in VerifyInvokeVirtualQuickArgs()