Searched refs:haystack (Results 1 - 6 of 6) sorted by relevance

/bionic/libc/bionic/
H A Dmemmem.c35 void *memmem(const void *haystack, size_t n, const void *needle, size_t m) argument
41 const unsigned char* y = (const unsigned char*) haystack;
61 return memchr(haystack, ((unsigned char*)needle)[0], n);
H A Dndk_cruft.cpp234 extern "C" wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) { argument
235 return wcsstr(haystack, needle);
/bionic/tests/
H A Dwchar_test.cpp227 const wchar_t* haystack = L"matches hello world, not the second hello world"; local
232 ASSERT_EQ(haystack, wcsstr(haystack, empty_needle));
233 ASSERT_EQ(&haystack[10], wcsstr(haystack, good_needle));
234 ASSERT_EQ(NULL, wcsstr(haystack, bad_needle));
H A Ddlext_test.cpp45 #define ASSERT_SUBSTR(needle, haystack) \
46 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
H A Ddlfcn_test.cpp31 #define ASSERT_SUBSTR(needle, haystack) \
32 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
/bionic/libc/include/
H A Dstring.h75 extern char* strcasestr(const char *haystack, const char *needle) __purefunc;

Completed in 98 milliseconds