Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/head/
H A Dmemory.h40 extern const void *memchr(const void *, int, size_t);
44 inline void *memchr(void * __s, int __c, size_t __n) { in memchr() function
45 return (void*)memchr((const void *) __s, __c, __n); in memchr()
50 using std::memchr;
52 extern void *memchr(const void *, int, size_t);
/illumos-gate/usr/src/head/iso/
H A Dstring_iso.h93 extern const void *memchr(const void *, int, size_t);
97 inline void *memchr(void * __s, int __c, size_t __n) { in memchr() function
98 return (void *)memchr((const void *)__s, __c, __n); in memchr()
139 extern void *memchr(const void *, int, size_t);
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemchr.s29 / memchr(sptr, c1, n)
38 / memchr(const void *sptr, int c1, size_t n)
55 .globl memchr
58 ENTRY(memchr) /* (void *s, uchar_t c, size_t n) */
119 SET_SIZE(memchr)
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmemchr.s29 / memchr(sptr, c1, n)
38 / memchr(const void *sptr, int c1, size_t n)
55 .globl memchr
58 ENTRY(memchr)
123 SET_SIZE(memchr)
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c62 if ((p = memchr(instr, ':', lenstr)) == 0) {
65 if ((q = memchr(p + 1, ':', lenstr - (p + 1 - instr))) == 0) {
142 if ((p = memchr(argp->buf.buffer, ':',
201 if ((p = memchr(argp->buf.buffer, ':',
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dmemchr.c28 NoN(memchr)
38 memchr(const void* asp, register int c, size_t n)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dprocess.c84 if ((memchr(request->l_name, '\0', sizeof (request->l_name)) == NULL) || in process_request()
85 (memchr(request->r_name, '\0', sizeof (request->r_name)) == NULL) || in process_request()
86 (memchr(request->r_tty, '\0', sizeof (request->r_tty)) == NULL)) { in process_request()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dsunddi.h95 extern const void *memchr(const void *, int, size_t);
97 extern void *memchr(const void *, int, size_t);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_http.c99 q = memchr(p, CR, (endp - p)); in interpret_http()
104 q = memchr(p, LF, (endp - p)); in interpret_http()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dsunddi.h98 extern const void *memchr(const void *, int, size_t);
100 extern void *memchr(const void *, int, size_t);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_modapi.h430 extern const void *memchr(const void *, int, size_t);
434 inline void *memchr(void * __s, int __c, size_t __n) { in memchr() function
435 return (void *)memchr((const void *)__s, __c, __n); in memchr()
440 extern void *memchr(const void *, int, size_t);
/illumos-gate/usr/src/cmd/mandoc/
H A Dpreconv.c122 if (NULL == (eoln = memchr(ln, '\n', sz))) in preconv_cue()
146 if (NULL == (eoph = memchr(ln, ';', sz))) in preconv_cue()
/illumos-gate/usr/src/cmd/sort/common/
H A Dstreams_mmap.c53 if ((nl = (char *)memchr(str->s_buffer, '\n', str->s_buffer_size)) == in stream_mmap_prime()
91 next_nl = memchr(str->s_current.l_data.sp, '\n', dist_to_buf_end); in stream_mmap_fetch()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrnlen.c42 ptr = memchr(str, 0, maxlen); in strnlen()
H A Dgetspent_r.c190 if ((p = memchr(instr, ':', lenstr)) == 0 || in str2spwd()
192 (p = memchr(p, ':', limit - p)) == 0) { in str2spwd()
/illumos-gate/usr/src/common/util/
H A Dmemchr.c46 memchr(const void *sptr, int c1, size_t n) in memchr() function
H A Dmemmem.c77 return (memchr(l, (int)*cs, l_len)); in memmem()
H A Dmemstr.c92 memchr(const void *sptr, int c1, size_t n) in memchr() function
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dmemchr.c42 memchr(const void *s, int c, size_t n) in memchr() function
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgethostent.c158 for (; p < limit && (p = memchr(p, '\n', limit - p)); p++) in __str2hostent()
186 limit = memchr(p, '\n', lenstr - (p - instr)); in __str2hostent()
/illumos-gate/usr/src/stand/lib/sa/
H A Dstring.h51 extern void *memchr(const void *, int, size_t);
/illumos-gate/usr/src/cmd/mdb/common/libstand/sys/
H A Dsalib.h50 extern void *memchr(const void *, int, size_t);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dreclen.c44 if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) in reclen()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfget.c94 t = (unsigned char *) memchr((void *) p, '\n', len);
/illumos-gate/usr/src/cmd/bhyve/
H A Dgdb.c998 cp = memchr(data, ',', len); in gdb_read_mem()
1109 cp = memchr(data, ',', len); in gdb_write_mem()
1119 cp = memchr(data, ':', len); in gdb_write_mem()
1324 cp = memchr(data, ',', len); in parse_breakpoint()
1334 cp = memchr(data, ',', len); in parse_breakpoint()
1344 cp = memchr(data, ';', len); in parse_breakpoint()
1691 hash = memchr(head, '#', avail); in check_command()

1234