/glibc-2.36/benchtests/ |
D | bench-strrchr.c | 85 int seek_char, int max_char, size_t freq) in do_test() argument 102 buf[align + i] = (random () * random ()) & max_char; in do_test() 104 buf[align + i] = (random () * random ()) & max_char; in do_test() 140 json_attr_uint (json_ctx, "max_char", max_char); in do_test()
|
D | bench-memccpy.c | 61 int max_char) in do_test() argument 79 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 85 s1[i] = 32 + 32 * i % (max_char - 32); in do_test()
|
D | bench-strcat.c | 87 do_test (size_t align1, size_t align2, size_t len1, size_t len2, int max_char) in do_test() argument 104 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 108 s2[i] = 32 + 23 * i % (max_char - 32); in do_test()
|
D | bench-strncat.c | 96 size_t n, int max_char) in do_test() argument 115 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 119 s2[i] = 32 + 23 * i % (max_char - 32); in do_test()
|
D | bench-strncpy.c | 101 do_test (size_t align1, size_t align2, size_t len, size_t n, int max_char) in do_test() argument 120 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 124 s1[i] = 32 + 32 * i % (max_char - 32); in do_test()
|
D | bench-strcasecmp.c | 74 int max_char, int exp_result) in do_test() argument 94 json_attr_uint (json_ctx, "max_char", max_char); in do_test() 102 s1[i] = toupper (1 + 23 * i % max_char); in do_test()
|
D | bench-strnlen.c | 81 int max_char) in do_test() argument 94 json_attr_uint (json_ctx, "max_char", max_char); in do_test() 99 buf[align + i] = 1 + 7 * i % max_char; in do_test()
|
D | bench-strncasecmp.c | 71 size_t len, int max_char, int exp_result) in do_test() argument 92 s1[i] = toupper (1 + 23 * i % max_char); in do_test() 110 json_attr_uint (json_ctx, "max_char", max_char); in do_test()
|
D | bench-strncmp.c | 95 size_t n, int max_char, int exp_result) in do_test_limit() argument 124 s1[i] = s2[i] = 1 + 23 * i % max_char; in do_test_limit() 145 n, int max_char, int exp_result) in do_test() argument 175 s1[i] = s2[i] = 1 + (23 << ((CHARBYTES - 1) * 8)) * i % max_char; in do_test()
|
D | bench-strcpy.c | 90 do_test (size_t align1, size_t align2, size_t len, int max_char) in do_test() argument 109 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
|
D | bench-strchr.c | 238 int seek_char, int max_char) in do_test() argument 252 buf[align + i] = 32 + 23 * i % max_char; in do_test() 275 json_attr_uint (json_ctx, "max_char", max_char); in do_test()
|
D | bench-strcpy_chk.c | 131 do_test (size_t align1, size_t align2, size_t len, size_t dlen, int max_char) in do_test() argument 148 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
|
D | bench-strcmp.c | 103 int max_char, int exp_result, int at_end) in do_test() argument 136 s1[i] = s2[i] = 1 + (23 << ((CHARBYTES - 1) * 8)) * i % max_char; in do_test()
|
/glibc-2.36/string/ |
D | test-strrchr.c | 75 do_test (size_t align, size_t pos, size_t len, int seek_char, int max_char) in do_test() argument 90 buf[align + i] = (random () * random ()) & max_char; in do_test() 92 buf[align + i] = (random () * random ()) & max_char; in do_test()
|
D | test-memccpy.c | 64 int max_char) in do_test() argument 82 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 88 s1[i] = 32 + 32 * i % (max_char - 32); in do_test()
|
D | test-strcat.c | 93 do_test (size_t align1, size_t align2, size_t len1, size_t len2, int max_char) in do_test() argument 110 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 114 s2[i] = 32 + 23 * i % (max_char - 32); in do_test()
|
D | test-strncpy.c | 111 do_test (size_t align1, size_t align2, size_t len, size_t n, int max_char) in do_test() argument 130 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 134 s1[i] = 32 + 32 * i % (max_char - 32); in do_test()
|
D | test-strncmp.c | 121 do_test_limit (size_t align1, size_t align2, size_t len, size_t n, int max_char, in do_test_limit() argument 155 s1[i] = s2[i] = 1 + 23 * i % max_char; in do_test_limit() 173 int max_char, int exp_result) in do_test_n() argument 204 s1[i] = s2[i] = 1 + (23 << ((CHARBYTES - 1) * 8)) * i % max_char; in do_test_n() 227 do_test (size_t align1, size_t align2, size_t len, size_t n, int max_char, in do_test() argument 230 do_test_n (align1, align2, len, n, 1, max_char, exp_result); in do_test()
|
D | test-strcpy.c | 94 do_test (size_t align1, size_t align2, size_t len, int max_char) in do_test() argument 113 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
|
D | test-strncat.c | 100 size_t n, int max_char) in do_test() argument 119 s1[i] = 32 + 23 * i % (max_char - 32); in do_test() 123 s2[i] = 32 + 23 * i % (max_char - 32); in do_test()
|
D | test-strchr.c | 111 do_test (size_t align, size_t pos, size_t len, int seek_char, int max_char) in do_test() argument 125 buf[align + i] = 32 + 23 * i % max_char; in do_test()
|
D | test-strcasecmp.c | 62 do_test (size_t align1, size_t align2, size_t len, int max_char, in do_test() argument 85 s1[i] = toupper (1 + 23 * i % max_char); in do_test()
|
D | test-strnlen.c | 72 do_test (size_t align, size_t len, size_t maxlen, int max_char) in do_test() argument 83 buf[align + i] = 1 + 11111 * i % max_char; in do_test()
|
D | test-strcmp.c | 133 do_test (size_t align1, size_t align2, size_t len, int max_char, in do_test() argument 161 s1[i] = s2[i] = 1 + (23 << ((CHARBYTES - 1) * 8)) * i % max_char; in do_test()
|
/glibc-2.36/debug/ |
D | test-strcpy_chk.c | 120 do_test (size_t align1, size_t align2, size_t len, size_t dlen, int max_char) in do_test() argument 137 s1[i] = 32 + 23 * i % (max_char - 32); in do_test()
|