Home
last modified time | relevance | path

Searched refs:memchr (Results 1 – 25 of 133) sorted by relevance

123456

/dragonfly/gnu/usr.bin/gdb/libgnu/
H A Dstring.h407 # define memchr rpl_memchr
409 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n)
412 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n));
415 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n)
422 _GL_CXXALIAS_SYS_CAST2 (memchr,
428 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n));
429 _GL_CXXALIASWARN1 (memchr, void const *,
432 _GL_CXXALIASWARN (memchr);
435 # undef memchr
437 _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - "
/dragonfly/gnu/usr.bin/diff/libdiffutils/
H A Dstring.h602 # define memchr rpl_memchr
604 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n)
607 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n));
610 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n)
617 _GL_CXXALIAS_SYS_CAST2 (memchr,
623 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n));
624 _GL_CXXALIASWARN1 (memchr, void const *,
627 _GL_CXXALIASWARN (memchr);
630 # undef memchr
632 _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - "
/dragonfly/gnu/usr.bin/grep/libgreputils/
H A Dstring.h602 # define memchr rpl_memchr
604 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n)
607 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n));
610 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n)
617 _GL_CXXALIAS_SYS_CAST2 (memchr,
623 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n));
624 _GL_CXXALIASWARN1 (memchr, void const *,
627 _GL_CXXALIASWARN (memchr);
630 # undef memchr
632 _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - "
/dragonfly/contrib/grep/src/
H A Ddfasearch.c131 for (char const *p = keys; (p = memchr (p, '\\', lim - p)); p++) in possible_backrefs_in_pattern()
217 char const *sep = memchr (p, '\n', patlim - p); in GEAcompile()
392 end = memchr (end, eol, buflim - end); in EGexecute()
428 end = memchr (next_beg, eol, buflim - next_beg); in EGexecute()
449 end = memchr (next_beg, eol, buflim - next_beg); in EGexecute()
H A Dkwsearch.c63 char const *sep = memchr (p, '\n', total); in Fcompile()
262 end = memchr (beg + len, eol, (buf + size) - (beg + len)); in Fexecute()
288 end = memchr (beg + len, eol, (buf + size) - (beg + len)); in Fexecute()
/dragonfly/lib/libc/string/
H A DMakefile.inc13 index.c memccpy.c memchr.c memrchr.c memcmp.c \
33 MAN+= bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \
48 MLINKS+=memchr.3 memrchr.3
H A Dmemchr.c39 memchr(const void *s, int c, size_t n) in memchr() function
H A Dmemmem.c54 return memchr(l, (int)*cs, l_len); in memmem()
/dragonfly/lib/libc/stdio/
H A Dfgetws.c79 nl = memchr(fp->pub._p, '\n', fp->pub._r); in fgetws_l()
94 src = memchr(fp->pub._p, '\0', fp->pub._r); in fgetws_l()
H A Dfgetln.c93 if ((p = memchr((void *)fp->pub._p, '\n', (size_t)fp->pub._r)) != NULL) { in fgetln()
136 if ((p = memchr((void *)fp->pub._p, '\n', (size_t)fp->pub._r)) in fgetln()
/dragonfly/contrib/mdocml/
H A Dpreconv.c122 if (NULL == (eoln = memchr(ln, '\n', sz))) in preconv_cue()
146 if (NULL == (eoph = memchr(ln, ';', sz))) in preconv_cue()
/dragonfly/lib/libc/citrus/
H A Dcitrus_memstream.c82 q = memchr(p, T_COMM, len); in _citrus_memory_stream_matchline()
123 chr = memchr(head, ch, _memstream_remainder(ms)); in _citrus_memory_stream_chr()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/c_std/
H A Dcstring61 #undef memchr
94 using ::memchr;
102 memchr(void* __s, int __c, size_t __n)
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/c_global/
H A Dcstring50 #undef memchr
77 using ::memchr;
102 memchr(void* __s, int __c, size_t __n)
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/c_global/
H A Dcstring48 #undef memchr
75 using ::memchr;
100 memchr(void* __s, int __c, size_t __n)
/dragonfly/contrib/dhcpcd/src/
H A Dcommon.c169 c = memchr(*buf, '\n', (size_t)*buflen); in get_line()
171 c = memchr(*buf, '\0', (size_t)*buflen); in get_line()
/dragonfly/contrib/diffutils/lib/
H A Dstrnlen1.c30 const char *end = (const char *) memchr (string, '\0', maxlen); in strnlen1()
/dragonfly/contrib/gdb-7/gdb/gnulib/import/
H A Dstrnlen1.c30 const char *end = (const char *) memchr (string, '\0', maxlen); in strnlen1()
H A Dmemmem.c63 haystack = memchr (haystack, *needle, haystack_len); in memmem()
/dragonfly/contrib/grep/lib/
H A Dstrnlen1.c30 const char *end = (const char *) memchr (string, '\0', maxlen); in strnlen1()
H A Dstrstr.c31 (!memchr ((h) + (h_l), '\0', (j) + (n_l) - (h_l)) \
/dragonfly/contrib/cvs-1.12/lib/
H A Dstrnlen1.c34 const char *end = memchr (string, '\0', maxlen); in strnlen1()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/config/locale/dragonfly/
H A Dcodecvt_members.cc134 __from_chunk_end = static_cast<const extern_type*>(memchr(__from_next, '\0', in do_in()
238 __from_chunk_end = static_cast<const extern_type*>(memchr(__from, '\0', in do_length()
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_utl.c716 if (memchr(pattern, '\0', pattern_len) != NULL) in equal_nocase()
718 if (memchr(subject, '\0', subject_len) != NULL) in equal_nocase()
731 if (memchr(pattern, 0, pattern_len) != NULL) in equal_case()
733 if (memchr(subject, 0, subject_len) != NULL) in equal_case()
1064 else if (memchr(chk, '\0', chklen)) in X509_check_host()
1076 else if (memchr(chk, '\0', chklen)) in X509_check_email()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/c_compatibility/
H A Dstring.h46 using std::memchr;

123456