Lines Matching refs:memchr_buflen

34 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()
113 if ((found = memrchr(memchr_buf, 'r', memchr_buflen)) != targ) { in memchr_basic()
131 (void) memset(memchr_buf, 0x23, memchr_buflen); in memchr_notfound()
133 if ((found = memchr(memchr_buf, 0, memchr_buflen)) != NULL) { in memchr_notfound()
139 if (memrchr(memchr_buf, 0, memchr_buflen) != NULL) { in memchr_notfound()
145 if (memchr(memchr_buf, 0x24, memchr_buflen) != NULL) { in memchr_notfound()
151 if (memrchr(memchr_buf, 0x24, memchr_buflen) != NULL) { in memchr_notfound()
200 (void) memset(memchr_buf, 0x42, memchr_buflen); in memchr_truncation()
202 if ((found = memchr(memchr_buf, 0x42, memchr_buflen)) != memchr_buf) { in memchr_truncation()
208 targ = &memchr_buf[memchr_buflen - 1]; in memchr_truncation()
210 if ((found = memrchr(memchr_buf, 0x42, memchr_buflen)) != targ) { in memchr_truncation()
216 if ((found = memchr(memchr_buf, 0x430042, memchr_buflen)) != in memchr_truncation()
223 if ((found = memrchr(memchr_buf, 0x430042, memchr_buflen)) != targ) { in memchr_truncation()
232 if ((found = memchr(memchr_buf, -190, memchr_buflen)) != memchr_buf) { in memchr_truncation()
238 if ((found = memrchr(memchr_buf, -190, memchr_buflen)) != targ) { in memchr_truncation()
244 if ((found = memchr(memchr_buf, -190, memchr_buflen)) != memchr_buf) { in memchr_truncation()
250 if ((found = memrchr(memchr_buf, -190, memchr_buflen)) != targ) { in memchr_truncation()
256 if ((found = memchr(memchr_buf, 0x42424200, memchr_buflen)) != NULL) { in memchr_truncation()
262 if ((found = memrchr(memchr_buf, 0x42424200, memchr_buflen)) != NULL) { in memchr_truncation()