Home
last modified time | relevance | path

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

/src/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h884 template <typename StringType>
885 bool CaseInsensitiveStringEquals(const StringType& s1, const StringType& s2) {
892 const typename StringType::value_type nul = 0;
896 if (i1 == StringType::npos || i2 == StringType::npos) {
907 template <typename StringType>
910 StrEqualityMatcher(StringType str, bool expect_eq, bool case_sensitive)
920 const StringType& str = std::string(s);
935 return MatchAndExplain(StringType(s), listener);
945 const StringType s2(s);
969 const StringType string_;
[all …]
/src/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc771 template <typename StringType>
772 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) { in HasPrefix()
/src/contrib/googletest/googletest/src/
H A Dgtest.cc1854 template <typename StringType>
1855 bool IsSubstringPred(const StringType& needle, const StringType& haystack) { in IsSubstringPred()
1856 return haystack.find(needle) != StringType::npos; in IsSubstringPred()
1863 template <typename StringType>
1867 const StringType& needle, in IsSubstringImpl()
1868 const StringType& haystack) { in IsSubstringImpl()
/src/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()