Searched refs:needle (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | memmem.c | 35 void *memmem(const void *haystack, size_t n, const void *needle, size_t m) in memmem() argument 42 const unsigned char* x = (const unsigned char*) needle; in memmem() 61 return memchr(haystack, ((unsigned char*)needle)[0], n); in memmem()
|
D | ndk_cruft.cpp | 234 extern "C" wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) { in wcswcs() argument 235 return wcsstr(haystack, needle); in wcswcs()
|
/bionic/tests/ |
D | search_test.cpp | 30 int needle; in TEST() local 33 needle = 2; in TEST() 34 ASSERT_EQ(nullptr, lfind(&needle, xs, &x_size, sizeof(xs[0]), int_cmp)); in TEST() 38 ASSERT_EQ(&xs[0], lsearch(&needle, xs, &x_size, sizeof(xs[0]), int_cmp)); in TEST() 43 ASSERT_EQ(&xs[0], lfind(&needle, xs, &x_size, sizeof(xs[0]), int_cmp)); in TEST() 47 ASSERT_EQ(&xs[0], lsearch(&needle, xs, &x_size, sizeof(xs[0]), int_cmp)); in TEST()
|
D | dlext_test.cpp | 45 #define ASSERT_SUBSTR(needle, haystack) \ argument 46 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
|
D | dlfcn_test.cpp | 31 #define ASSERT_SUBSTR(needle, haystack) \ argument 32 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
|
/bionic/libc/include/ |
D | string.h | 75 extern char* strcasestr(const char *haystack, const char *needle) __purefunc;
|