Searched refs:needle (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h1587 // themselves. They check whether needle is a substring of haystack
1591 // The {needle,haystack}_expr arguments are the stringified
1595 const char* needle, const char* haystack);
1598 const wchar_t* needle, const wchar_t* haystack);
1601 const char* needle, const char* haystack);
1604 const wchar_t* needle, const wchar_t* haystack);
1607 const ::std::string& needle, const ::std::string& haystack);
1610 const ::std::string& needle, const ::std::string& haystack);
1615 const ::std::wstring& needle, const ::std::wstring& haystack);
1618 const ::std::wstring& needle, cons
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc1553 // This group of overloaded functions return true iff needle is a
1557 bool IsSubstringPred(const char* needle, const char* haystack) { argument
1558 if (needle == NULL || haystack == NULL)
1559 return needle == haystack;
1561 return strstr(haystack, needle) != NULL;
1564 bool IsSubstringPred(const wchar_t* needle, const wchar_t* haystack) { argument
1565 if (needle == NULL || haystack == NULL)
1566 return needle == haystack;
1568 return wcsstr(haystack, needle) != NULL;
1573 bool IsSubstringPred(const StringType& needle, argument
1583 IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) argument
1606 IsSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument
1612 IsSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument
1618 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const char* needle, const char* haystack) argument
1624 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const wchar_t* needle, const wchar_t* haystack) argument
1630 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument
1636 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::string& needle, const ::std::string& haystack) argument
1643 IsSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument
1649 IsNotSubstring( const char* needle_expr, const char* haystack_expr, const ::std::wstring& needle, const ::std::wstring& haystack) argument
[all...]

Completed in 27 milliseconds