Searched refs:memmem (Results 1 – 7 of 7) sorted by relevance
/bionic/tests/ |
D | sys_xattr_test.cpp | 110 ASSERT_TRUE(memmem(buf, sizeof(buf), "user.foo", 9) != nullptr); in TEST() 123 ASSERT_TRUE(memmem(buf, res, "user.foo", 9) != nullptr); in TEST()
|
D | string_test.cpp | 1533 ASSERT_EQ(some_haystack, memmem(some_haystack, 8, "", 0)); in TEST() 1534 ASSERT_EQ(empty_haystack, memmem(empty_haystack, 0, "", 0)); in TEST() 1542 ASSERT_EQ(haystack, memmem(haystack, sizeof(haystack), "", 0)); in TEST() 1543 ASSERT_EQ(haystack + 3, memmem(haystack, sizeof(haystack), "", 1)); in TEST() 1544 ASSERT_EQ(haystack + 0, memmem(haystack, sizeof(haystack), "b", 1)); in TEST() 1545 ASSERT_EQ(haystack + 1, memmem(haystack, sizeof(haystack), "i", 1)); in TEST() 1546 ASSERT_EQ(haystack + 4, memmem(haystack, sizeof(haystack), "da", 2)); in TEST() 1547 ASSERT_EQ(haystack + 8, memmem(haystack, sizeof(haystack), "y\0g", 3)); in TEST()
|
/bionic/libc/bionic/ |
D | memmem.cpp | 31 void* memmem(const void* void_haystack, size_t n, const void* void_needle, size_t m) { in memmem() function
|
/bionic/libc/include/ |
D | string.h | 59 void* memmem(const void* __haystack, size_t __haystack_size, const void* __needle, size_t __needle_…
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 641 memmem;
|
/bionic/libc/ |
D | libc.map.txt | 641 memmem;
|
D | Android.bp | 1078 "bionic/memmem.cpp",
|