Lines Matching refs:s2
1743 bool ETSChecker::AreOverrideEquivalent(Signature *const s1, Signature *const s2)
1748 // Signatures s1 and s2 are override-equivalent only if s1 and s2 are the same.
1751 return s1->Function()->Id()->Name() == s2->Function()->Id()->Name() && Relation()->IsCompatibleTo(s1, s2);
1754 bool ETSChecker::IsReturnTypeSubstitutable(Signature *const s1, Signature *const s2)
1757 auto *const r2 = s2->ReturnType();
1776 return s2->Function()->ReturnTypeAnnotation()->IsETSTypeReference() &&
1778 s2->Function()->ReturnTypeAnnotation()->GetType(this)->AsETSTypeParameter()->GetConstraintType(), r1);
2152 std::stringstream s2;
2154 sig2->Params()[ix]->TsType()->ToAssemblerTypeWithRank(s2);
2155 if (s1.str() != s2.str()) {
2181 std::stringstream s2;
2183 rv2->TsType()->ToAssemblerTypeWithRank(s2);
2184 return s1.str() == s2.str();