Searched defs:haystack (Results 1 - 2 of 2) sorted by relevance
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
H A D | bcmutils.c | 807 /* return pointer to location of substring 'needle' in 'haystack' */ 809 bcmstrstr(const char *haystack, const char *needle) argument 814 if ((haystack == NULL) || (needle == NULL)) 815 return DISCARD_QUAL(haystack, char); 818 len = strlen(haystack) - nlen + 1; 821 if (memcmp(needle, &haystack[i], nlen) == 0) 822 return DISCARD_QUAL(&haystack[i], char);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/ |
H A D | gtest-all.cc | 2715 // substring of haystack. NULL is considered a substring of itself 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; 2735 const StringType& haystack) { 2734 IsSubstringPred(const StringType& needle, const StringType& haystack) 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...] |
Completed in 208 milliseconds