Searched refs:haystack (Results 1 – 2 of 2) sorted by relevance
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest.cc | 1219 bool IsSubstringPred(const char* needle, const char* haystack) { in IsSubstringPred() argument 1220 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1221 return needle == haystack; in IsSubstringPred() 1223 return strstr(haystack, needle) != NULL; in IsSubstringPred() 1226 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { in IsSubstringPred() argument 1227 if (needle == NULL || haystack == NULL) in IsSubstringPred() 1228 return needle == haystack; in IsSubstringPred() 1230 return wcsstr(haystack, needle) != NULL; in IsSubstringPred() 1236 const StringType& haystack) { in IsSubstringPred() argument 1237 return haystack.find(needle) != StringType::npos; in IsSubstringPred() [all …]
|
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest.h | 1619 const char* needle, const char* haystack); 1622 const wchar_t* needle, const wchar_t* haystack); 1625 const char* needle, const char* haystack); 1628 const wchar_t* needle, const wchar_t* haystack); 1631 const ::std::string& needle, const ::std::string& haystack); 1634 const ::std::string& needle, const ::std::string& haystack); 1639 const ::std::wstring& needle, const ::std::wstring& haystack); 1642 const ::std::wstring& needle, const ::std::wstring& haystack);
|