Home
last modified time | relevance | path

Searched refs:call_memchr (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/libc/test/src/string/
Dmemchr_test.cpp15 const char *call_memchr(const void *src, int c, size_t size) { in call_memchr() function
24 ASSERT_STREQ(call_memchr(src, 'b', size), "bc"); in TEST()
31 const char *ret = call_memchr(src, 'b', size); in TEST()
40 ASSERT_STREQ(call_memchr(src, 'a', size), "abcde"); in TEST()
47 ASSERT_STREQ(call_memchr(src, 'c', size), "cde"); in TEST()
54 ASSERT_STREQ(call_memchr(src, 'e', size), "e"); in TEST()
61 ASSERT_STREQ(call_memchr(src, '\0', size), ""); in TEST()
68 ASSERT_STREQ(call_memchr(src, 'z', size), nullptr); in TEST()
75 ASSERT_STREQ(call_memchr(src, '4', size), nullptr); in TEST()
94 ASSERT_STREQ(call_memchr(dups, '1', size), "1def1ghi"); in TEST()
[all …]