Searched refs:memrchr (Results 1 - 9 of 9) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dmemrchr.c1 /* $OpenBSD: memrchr.c,v 1.3 2015/08/31 02:53:57 guenther Exp $ */
26 memrchr(const void *s, int c, size_t n) function
39 DEF_WEAK(memrchr); variable
/bionic/libc/include/
H A Dstring.h47 extern "C++" void* memrchr(void* __s, int __ch, size_t __n) __RENAME(memrchr) __attribute_pure__;
48 extern "C++" const void* memrchr(const void* __s, int __ch, size_t __n) __RENAME(memrchr) __attribute_pure__;
50 void* memrchr(const void* __s, int __ch, size_t __n) __attribute_pure__;
/bionic/tools/versioner/current/
H A Dstring.h47 extern "C++" void* memrchr(void* __s, int __ch, size_t __n) __RENAME(memrchr) __attribute_pure__;
48 extern "C++" const void* memrchr(const void* __s, int __ch, size_t __n) __RENAME(memrchr) __attribute_pure__;
50 void* memrchr(const void* __s, int __ch, size_t __n) __attribute_pure__;
/bionic/libc/include/bits/fortify/
H A Dstring.h41 extern void* __memrchr_real(const void*, int, size_t) __RENAME(memrchr); variable
242 __errordecl(__memrchr_buf_size_error, "memrchr called with size bigger than buffer");
424 void* memrchr(void* const __pass_object_size s, int c, size_t n) {
429 const void* memrchr(const void* const __pass_object_size s, int c, size_t n) {
435 void* memrchr(const void* const __pass_object_size s, int c, size_t n) __overloadable {
/bionic/tools/versioner/current/bits/fortify/
H A Dstring.h41 extern void* __memrchr_real(const void*, int, size_t) __RENAME(memrchr); variable
242 __errordecl(__memrchr_buf_size_error, "memrchr called with size bigger than buffer");
424 void* memrchr(void* const __pass_object_size s, int c, size_t n) {
429 const void* memrchr(const void* const __pass_object_size s, int c, size_t n) {
435 void* memrchr(const void* const __pass_object_size s, int c, size_t n) __overloadable {
/bionic/libc/bionic/
H A Dfortify.cpp149 __check_buffer_access("memrchr", "read from", n, actual_size);
150 return memrchr(const_cast<void *>(s), c, n);
/bionic/libc/arch-x86/atom/string/
H A Dsse2-memrchr-atom.S87 ENTRY (memrchr) function
778 END (memrchr)
/bionic/tests/
H A Dfortify_test.cpp227 ASSERT_FORTIFY(printf("%s", memrchr(myfoo.a, 'a', asize)));
228 ASSERT_FORTIFY(printf("%s", memrchr(static_cast<const void*>(myfoo.a), 'a', asize)));
H A Dstring_test.cpp807 TEST(STRING_TEST, memrchr) {
823 ASSERT_TRUE(memrchr(state.ptr1, seek_char, state.len[i]) == expected);

Completed in 198 milliseconds