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

/freebsd-12-stable/lib/libc/string/
H A Dmemrchr.c1 /* $OpenBSD: memrchr.c,v 1.2 2007/11/27 16:22:12 martynas Exp $ */
28 memrchr(const void *s, int c, size_t n) function
H A DMakefile.inc12 memccpy.c memchr.c memrchr.c memcmp.c \
52 MLINKS+=memchr.3 memrchr.3
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_memchr.c166 atf_tc_set_md_var(tc, "descr", "Test memrchr(3) results");
173 ATF_CHECK(memrchr(buf, 'a', 0) == NULL);
174 ATF_CHECK(memrchr(buf, 'g', 0) == NULL);
175 ATF_CHECK(memrchr(buf, 'x', 8) == NULL);
177 ATF_CHECK(memrchr("\0", 'x', 0) == NULL);
178 ATF_CHECK(memrchr("\0", 'x', 1) == NULL);
180 ATF_CHECK(memrchr(buf, 'a', 8) == buf + 4);
181 ATF_CHECK(memrchr(buf, 'b', 8) == buf + 5);
182 ATF_CHECK(memrchr(buf, 'c', 8) == buf + 6);
183 ATF_CHECK(memrchr(bu
[all...]
/freebsd-12-stable/include/
H A Dstring.h61 void *memrchr(const void *, int, size_t) __pure;
/freebsd-12-stable/contrib/gcclibs/libmudflap/
H A Dmf-runtime.h110 #pragma redefine_extname memrchr __mfwrap_memrchr
H A Dmf-hooks2.c178 WRAPPER2(void *, memrchr, const void *s, int c, size_t n)
181 MF_VALIDATE_EXTENT(s, n, __MF_CHECK_READ, "memrchr region");
182 return memrchr (s, c, n);
H A Dconfigure4104 for ac_func in strnlen memrchr strncpy memmem sethostname

Completed in 180 milliseconds