/glibc-2.36/benchtests/ |
D | bench-strcasestr.c | 111 for (size_t hlen = 2 * klen; hlen < 16 * klen; hlen += klen) in test_main() local 113 do_test (0, 0, hlen, klen, 0); in test_main() 114 do_test (0, 0, hlen, klen, 1); in test_main() 115 do_test (0, 3, hlen, klen, 0); in test_main() 116 do_test (0, 3, hlen, klen, 1); in test_main() 117 do_test (0, 9, hlen, klen, 0); in test_main() 118 do_test (0, 9, hlen, klen, 1); in test_main() 119 do_test (0, 15, hlen, klen, 0); in test_main() 120 do_test (0, 15, hlen, klen, 1); in test_main() 122 do_test (3, 0, hlen, klen, 0); in test_main() [all …]
|
D | bench-strsep.c | 167 for (size_t hlen = 4 * klen; hlen < 8 * klen; hlen += klen) in test_main() local 169 do_test (0, 0, hlen, klen, 0); in test_main() 170 do_test (0, 0, hlen, klen, 1); in test_main() 171 do_test (0, 3, hlen, klen, 0); in test_main() 172 do_test (0, 3, hlen, klen, 1); in test_main() 173 do_test (0, 9, hlen, klen, 0); in test_main() 174 do_test (0, 9, hlen, klen, 1); in test_main() 175 do_test (0, 15, hlen, klen, 0); in test_main() 176 do_test (0, 15, hlen, klen, 1); in test_main() 178 do_test (3, 0, hlen, klen, 0); in test_main() [all …]
|
D | bench-strtok.c | 136 for (size_t hlen = 2 * klen; hlen < 16 * klen; hlen += klen) in test_main() local 138 do_test (0, 0, hlen, klen, 0); in test_main() 139 do_test (0, 0, hlen, klen, 1); in test_main() 140 do_test (0, 3, hlen, klen, 0); in test_main() 141 do_test (0, 3, hlen, klen, 1); in test_main() 142 do_test (0, 9, hlen, klen, 0); in test_main() 143 do_test (0, 9, hlen, klen, 1); in test_main() 144 do_test (0, 15, hlen, klen, 0); in test_main() 145 do_test (0, 15, hlen, klen, 1); in test_main() 147 do_test (3, 0, hlen, klen, 0); in test_main() [all …]
|
D | bench-strstr.c | 379 for (size_t hlen = 8; hlen <= 256;) in test_main() local 382 do_test (&json_ctx, 1, 3, hlen, klen, 0); in test_main() 383 do_test (&json_ctx, 0, 9, hlen, klen, 1); in test_main() 385 do_test (&json_ctx, 1, 3, hlen + 1, klen, 0); in test_main() 386 do_test (&json_ctx, 0, 9, hlen + 1, klen, 1); in test_main() 388 do_test (&json_ctx, getpagesize () - 15, 9, hlen, klen, 1); in test_main() 389 if (hlen < 64) in test_main() 391 hlen += 8; in test_main() 395 hlen += 32; in test_main() 399 for (size_t hlen = 256; hlen <= 65536; hlen *= 2) in test_main() local [all …]
|
/glibc-2.36/string/ |
D | test-strcasestr.c | 149 for (size_t hlen = 2 * klen; hlen < 16 * klen; hlen += klen) in test_main() local 151 do_test (0, 0, hlen, klen, 0); in test_main() 152 do_test (0, 0, hlen, klen, 1); in test_main() 153 do_test (0, 3, hlen, klen, 0); in test_main() 154 do_test (0, 3, hlen, klen, 1); in test_main() 155 do_test (0, 9, hlen, klen, 0); in test_main() 156 do_test (0, 9, hlen, klen, 1); in test_main() 157 do_test (0, 15, hlen, klen, 0); in test_main() 158 do_test (0, 15, hlen, klen, 1); in test_main() 160 do_test (3, 0, hlen, klen, 0); in test_main() [all …]
|
D | test-strstr.c | 223 for (size_t hlen = 2 * klen; hlen < 16 * klen; hlen += klen) in test_main() local 225 do_test (0, 0, hlen, klen, 0); in test_main() 226 do_test (0, 0, hlen, klen, 1); in test_main() 227 do_test (0, 3, hlen, klen, 0); in test_main() 228 do_test (0, 3, hlen, klen, 1); in test_main() 229 do_test (0, 9, hlen, klen, 0); in test_main() 230 do_test (0, 9, hlen, klen, 1); in test_main() 231 do_test (0, 15, hlen, klen, 0); in test_main() 232 do_test (0, 15, hlen, klen, 1); in test_main() 234 do_test (3, 0, hlen, klen, 0); in test_main() [all …]
|