Home
last modified time | relevance | path

Searched refs:StringType (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h872 template <typename StringType>
873 bool CaseInsensitiveStringEquals(const StringType& s1, const StringType& s2) {
880 const typename StringType::value_type nul = 0;
884 if (i1 == StringType::npos || i2 == StringType::npos) {
895 template <typename StringType>
898 StrEqualityMatcher(StringType str, bool expect_eq, bool case_sensitive)
908 const StringType& str = std::string(s);
923 return MatchAndExplain(StringType(s), listener);
933 const StringType s2(s);
957 const StringType string_;
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc761 template <typename StringType>
762 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) { in HasPrefix()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest.cc1827 template <typename StringType>
1828 bool IsSubstringPred(const StringType& needle, const StringType& haystack) { in IsSubstringPred()
1829 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
1836 template <typename StringType>
1840 const StringType& needle, in IsSubstringImpl()
1841 const StringType& haystack) { in IsSubstringImpl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp10797 const QualType StringType = StringRefExpr->getType(); in diagnoseStringPlusChar() local
10800 if (!StringType->isAnyPointerType()) in diagnoseStringPlusChar()
10804 if (!StringType->getPointeeType()->isAnyCharacterType()) in diagnoseStringPlusChar()