Searched refs:BUF1PAGES (Results 1 – 12 of 12) sorted by relevance
/glibc-2.36/benchtests/ |
D | bench-memmem.c | 21 #define BUF1PAGES 20 macro 142 json_attr_uint (json_ctx, "len_haystack", BUF1PAGES * page_size); in do_test() 151 do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, str, len, in do_test() 169 size_t idx = MIN ((2 << shift) * 64 + rel, BUF1PAGES * page_size - 2); in do_random_tests() 171 len = MIN (len, BUF1PAGES * page_size - idx - 1); in do_random_tests() 182 json_attr_uint (json_ctx, "len_haystack", BUF1PAGES * page_size); in do_random_tests() 191 do_one_test (json_ctx, impl, buf1, BUF1PAGES * page_size, buf1 + idx, in do_random_tests() 231 for (i = 0; i < BUF1PAGES * page_size; ++i) in test_main()
|
D | bench-string.h | 234 # ifndef BUF1PAGES 235 # define BUF1PAGES 1 macro 250 buf1_size = BUF1PAGES * page_size; in init_sizes()
|
D | bench-strcmp.c | 181 CHAR *s1 = (CHAR *) (buf1 + (BUF1PAGES - 1) * page_size); in do_test_page_boundary() 182 CHAR *s2 = (CHAR *) (buf2 + (BUF1PAGES - 1) * page_size); in do_test_page_boundary()
|
D | bench-strncmp.c | 221 CHAR *s1 = (CHAR *) (buf1 + (BUF1PAGES - 1) * page_size); in do_test_page_boundary() 222 CHAR *s2 = (CHAR *) (buf2 + (BUF1PAGES - 1) * page_size); in do_test_page_boundary()
|
/glibc-2.36/string/ |
D | test-memmem.c | 21 #define BUF1PAGES 20 macro 94 do_one_test (impl, buf1, BUF1PAGES * page_size, str, len, buf1 + idx); in do_test() 108 size_t idx = MIN ((2 << shift) * 64 + rel, BUF1PAGES * page_size - 2); in do_random_tests() 110 len = MIN (len, BUF1PAGES * page_size - idx - 1); in do_random_tests() 121 do_one_test (impl, buf1, BUF1PAGES * page_size, buf1 + idx, len, in do_random_tests() 167 for (i = 0; i < BUF1PAGES * page_size; ++i) in test_main()
|
D | test-string.h | 181 #ifndef BUF1PAGES 182 # define BUF1PAGES 1 macro 199 buf1 = mmap (0, (BUF1PAGES + 1) * page_size, PROT_READ | PROT_WRITE, in test_init() 203 if (mprotect (buf1 + BUF1PAGES * page_size, page_size, PROT_NONE)) in test_init() 217 memset (buf1, 0xa5, BUF1PAGES * page_size); in test_init()
|
D | tst-strtok_r.c | 20 #define BUF1PAGES 1 macro
|
D | test-strcmp.c | 340 CHAR *s1 = (CHAR *) (buf1 + (BUF1PAGES - 1) * page_size); in check2() 341 CHAR *s2 = (CHAR *) (buf2 + (BUF1PAGES - 1) * page_size); in check2()
|
D | test-strncpy.c | 147 s1 = (CHAR *) buf1 + BUF1PAGES * page_size / sizeof(CHAR) - maxoffset; in do_page_tests()
|
D | test-strncmp.c | 402 CHAR *s1 = (CHAR *) (buf1 + (BUF1PAGES - 1) * page_size); in check3() 403 CHAR *s2 = (CHAR *) (buf2 + (BUF1PAGES - 1) * page_size); in check3()
|
D | test-strncasecmp.c | 150 s1 = (char *) buf1 + BUF1PAGES * page_size - maxoffset; in do_page_tests()
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.17 | 6626 * string/test-string.h (BUF1PAGES): Define to 1 if undefined. 6627 (test_init): Size buf1 according to BUF1PAGES.
|