Home
last modified time | relevance | path

Searched refs:max_char (Results 1 – 25 of 26) sorted by relevance

12

/glibc-2.36/benchtests/
Dbench-strrchr.c85 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()
Dbench-memccpy.c61 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()
Dbench-strcat.c87 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()
Dbench-strncat.c96 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()
Dbench-strncpy.c101 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()
Dbench-strcasecmp.c74 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()
Dbench-strnlen.c81 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()
Dbench-strncasecmp.c71 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()
Dbench-strncmp.c95 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()
Dbench-strcpy.c90 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()
Dbench-strchr.c238 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()
Dbench-strcpy_chk.c131 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()
Dbench-strcmp.c103 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/
Dtest-strrchr.c75 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()
Dtest-memccpy.c64 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()
Dtest-strcat.c93 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()
Dtest-strncpy.c111 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()
Dtest-strncmp.c121 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()
Dtest-strcpy.c94 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()
Dtest-strncat.c100 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()
Dtest-strchr.c111 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()
Dtest-strcasecmp.c62 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()
Dtest-strnlen.c72 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()
Dtest-strcmp.c133 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/
Dtest-strcpy_chk.c120 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()

12