H A D | gtest-all.cc | 2714 // This group of overloaded functions return true iff needle is a 2718 bool IsSubstringPred(const char* needle, const char* haystack) { argument 2719 if (needle == NULL || haystack == NULL) 2720 return needle == haystack; 2722 return strstr(haystack, needle) != NULL; 2725 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { argument 2726 if (needle == NULL || haystack == NULL) 2727 return needle == haystack; 2729 return wcsstr(haystack, needle) != NULL; 2734 bool IsSubstringPred(const StringType& needle, argument 2744 IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) argument 2767 IsSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 2773 IsSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 2779 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument 2785 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument 2791 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 2797 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument 2804 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument 2810 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument [all...] |