Searched refs:needle (Results 1 - 7 of 7) sorted by relevance
/bionic/libc/bionic/ |
H A D | memmem.c | 35 void *memmem(const void *haystack, size_t n, const void *needle, size_t m) argument 42 const unsigned char* x = (const unsigned char*) needle; 61 return memchr(haystack, ((unsigned char*)needle)[0], n);
|
H A D | ndk_cruft.cpp | 234 wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) { argument 235 return wcsstr(haystack, needle);
|
/bionic/linker/ |
H A D | linker_utils.cpp | 65 const char* needle = dir.c_str(); local 67 size_t needle_len = strlen(needle); 69 return strncmp(haystack, needle, needle_len) == 0 && 75 const char* needle = dir.c_str(); local 77 size_t needle_len = strlen(needle); 79 return strncmp(haystack, needle, needle_len) == 0 &&
|
/bionic/tests/ |
H A D | search_test.cpp | 30 int needle; local 33 needle = 2; 34 ASSERT_EQ(nullptr, lfind(&needle, xs, &x_size, sizeof(xs[0]), int_cmp)); 38 ASSERT_EQ(&xs[0], lsearch(&needle, xs, &x_size, sizeof(xs[0]), int_cmp)); 43 ASSERT_EQ(&xs[0], lfind(&needle, xs, &x_size, sizeof(xs[0]), int_cmp)); 47 ASSERT_EQ(&xs[0], lsearch(&needle, xs, &x_size, sizeof(xs[0]), int_cmp));
|
H A D | dlfcn_test.cpp | 31 #define ASSERT_SUBSTR(needle, haystack) \ 32 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
|
H A D | dlext_test.cpp | 48 #define ASSERT_SUBSTR(needle, haystack) \ 49 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
|
/bionic/libc/include/ |
H A D | string.h | 83 extern char* strcasestr(const char *haystack, const char *needle) __purefunc;
|
Completed in 91 milliseconds