Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h872 template <typename StringType>
873 bool CaseInsensitiveStringEquals(const StringType& s1, const StringType& s2) {
884 if (i1 == StringType::npos || i2 == StringType::npos) {
895 template <typename StringType>
933 const StringType s2(s);
957 const StringType string_;
998 return StringType(s).find(substring_) != StringType::npos;
1051 const StringType& s2(s);
1067 const StringType prefix_;
1105 const StringType& s2(s);
[all …]
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc756 template <typename StringType>
757 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) { in HasPrefix()
/freebsd-14.2/contrib/googletest/googletest/src/
H A Dgtest.cc1801 template <typename StringType>
1802 bool IsSubstringPred(const StringType& needle, const StringType& haystack) { in IsSubstringPred()
1803 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
1810 template <typename StringType>
1814 const StringType& needle, in IsSubstringImpl()
1815 const StringType& haystack) { in IsSubstringImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp11795 const QualType StringType = StringRefExpr->getType(); in diagnoseStringPlusChar() local
11798 if (!StringType->isAnyPointerType()) in diagnoseStringPlusChar()
11802 if (!StringType->getPointeeType()->isAnyCharacterType()) in diagnoseStringPlusChar()