Home
last modified time | relevance | path

Searched refs:memchr_buflen (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/test/libc-tests/tests/
H A Dmemchr.c34 static size_t memchr_buflen; variable
53 memchr_buflen = pgsz; in memchr_setup()
74 (void) memset(memchr_buf, 0, memchr_buflen); in memchr_basic()
77 if ((found = memchr(memchr_buf, 'r', memchr_buflen)) != memchr_buf) { in memchr_basic()
83 if ((found = memrchr(memchr_buf, 'r', memchr_buflen)) != memchr_buf) { in memchr_basic()
89 memchr_buf[memchr_buflen - 1] = 'r'; in memchr_basic()
90 targ = &memchr_buf[memchr_buflen - 1]; in memchr_basic()
92 if ((found = memchr(memchr_buf, 'r', memchr_buflen)) != memchr_buf) { in memchr_basic()
98 if ((found = memrchr(memchr_buf, 'r', memchr_buflen)) != targ) { in memchr_basic()
107 if ((found = memchr(memchr_buf, 'r', memchr_buflen)) != targ) { in memchr_basic()
[all …]