/freebsd-current/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_memchr.c | 17 atf_tc_set_md_var(tc, "descr", "Test memchr(3) results, #1"); 23 void * (*f)(const void *, int, size_t) = memchr; 134 atf_tc_set_md_var(tc, "descr", "Test memchr(3) results, #2"); 142 ATF_CHECK(memchr(buf, 'a', 0) == NULL); 143 ATF_CHECK(memchr(buf, 'g', 0) == NULL); 144 ATF_CHECK(memchr(buf, 'x', 7) == NULL); 146 ATF_CHECK(memchr("\0", 'x', 0) == NULL); 147 ATF_CHECK(memchr("\0", 'x', 1) == NULL); 151 ATF_CHECK(memchr(buf, 'a', i) == buf + 0); 152 ATF_CHECK(memchr(bu [all...] |
/freebsd-current/sys/libkern/ |
H A D | memchr.c | 40 memchr(const void *s, int c, size_t n) function
|
H A D | memmem.c | 50 return memchr(l, (int)*cs, l_len);
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | strdup.c | 33 void *memchr(const void *s, int c, size_t n) function 48 const char *e = memchr(s, 0, n);
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/SystemZ/ |
H A D | zOSSupport.h | 42 static_cast<const char *>(std::memchr(S, '\0', MaxLen));
|
/freebsd-current/lib/libc/aarch64/string/ |
H A D | Makefile.inc | 7 memchr \
|
/freebsd-current/contrib/llvm-project/libcxx/include/ |
H A D | string.h | 35 const void* memchr(const void* s, int c, size_t n); 36 void* memchr( void* s, int c, size_t n); 94 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const void* memchr(const void* __s, int __c, size_t __n) { function 97 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD void* memchr(void* __s, int __c, size_t __n) { function
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/ |
H A D | cstring.inc | 13 using ::memchr;
|
/freebsd-current/lib/libc/string/ |
H A D | memchr.c | 36 memchr(const void *src, int c, size_t n) function
|
H A D | Makefile.inc | 13 memccpy.c memchr.c memrchr.c memcmp.c \ 39 CFLAGS.memchr.c+= -fno-sanitize=address 48 MAN+= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \ 64 MLINKS+=memchr.3 memrchr.3
|
/freebsd-current/lib/libc/stdio/ |
H A D | fgetws.c | 75 nl = memchr(fp->_p, '\n', fp->_r); 92 src = memchr(fp->_p, '\0', fp->_r);
|
H A D | fgetln.c | 91 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) != NULL) { 134 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) == NULL)
|
H A D | fgets.c | 94 t = memchr((void *)p, '\n', len);
|
/freebsd-current/lib/libc/amd64/string/ |
H A D | Makefile.inc | 4 memchr.S \
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | cstring.inc | 13 using std::memchr;
|
/freebsd-current/contrib/cortex-strings/src/aarch64/ |
H A D | memchr.S | 2 * memchr - find a character in a memory zone 78 def_fn memchr 172 .size memchr, . - memchr
|
/freebsd-current/usr.bin/grep/ |
H A D | file.c | 114 if ((p = memchr(bufpos, fileeol, bufrem)) != NULL) { 145 if ((p = memchr(bufpos, fileeol, bufrem)) == NULL) 216 memchr(bufpos, '\0', bufrem) != NULL)
|
/freebsd-current/contrib/mandoc/ |
H A D | preconv.c | 122 if (NULL == (eoln = memchr(ln, '\n', sz))) 146 if (NULL == (eoph = memchr(ln, ';', sz)))
|
/freebsd-current/lib/libc/iconv/ |
H A D | citrus_memstream.c | 82 q = memchr(p, T_COMM, len); 123 chr = memchr(head, ch, _memstream_remainder(ms));
|
/freebsd-current/contrib/llvm-project/clang/lib/Headers/llvm_libc_wrappers/ |
H A D | string.h | 81 void *memchr(void *__s, int __c, size_t __n) noexcept __LIBC_ATTRS; 82 const void *memchr(const void *__s, int __c, size_t __n) noexcept __LIBC_ATTRS;
|
/freebsd-current/contrib/sendmail/libsm/ |
H A D | fget.c | 93 t = (unsigned char *) memchr((void *) p, '\n', len);
|
/freebsd-current/lib/libutil/ |
H A D | trimdomain.c | 77 if ((s = memchr(s, '.', (size_t)(end - s))) != NULL) {
|
/freebsd-current/contrib/cortex-strings/ |
H A D | Makefile.am | 38 tests/test-memchr \ 115 reference/bionic-c/memchr.c \ 125 reference/glibc-c/memchr.c \ 138 reference/newlib-c/memchr.c \ 209 src/arm/memchr.S \ 255 reference/newlib-xscale/memchr.c \ 287 src/aarch64/memchr.S \
|
/freebsd-current/contrib/pam_modules/pam_passwdqc/ |
H A D | passwdqc_random.c | 67 end = memchr(start, '\0', 6);
|
/freebsd-current/sys/contrib/libfdt/ |
H A D | libfdt_env.h | 138 const char *p = memchr(string, 0, max_count);
|