Home
last modified time | relevance | path

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

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