Home
last modified time | relevance | path

Searched refs:do_one_test (Results 1 – 25 of 35) sorted by relevance

12

/benchtests/
A Dbench-strstr.c132 do_one_test (impl_t *impl, const char *s1, const char *s2, char *exp_result) in do_one_test() function
202 do_one_test (impl, s1, s2, fail ? NULL : s1 + len1 - len2); in do_test()
236 do_one_test (impl, hs, ne, NULL); in test_hard_needle()
257 do_one_test (impl, hs, ne, NULL); in test_hard_needle()
277 do_one_test (impl, hs, ne, NULL); in test_hard_needle()
A Dbench-strncmp.c75 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const CHAR *s1, const CHAR in do_one_test() function
136 do_one_test (json_ctx, impl, s1, s2, n, exp_result); in do_test_limit()
188 do_one_test (json_ctx, impl, s1, s2, n, exp_result); in do_test()
207 do_one_test (json_ctx, impl, s1, s2, n, exp_result); in do_one_test_page_boundary()
276 do_one_test (json_ctx, impl, s1, s2, page_size, -exp_result); in do_one_test_page()
289 do_one_test (json_ctx, impl, s1, s2, page_size, exp_result); in do_one_test_page()
A Dbench-memmem.c105 do_one_test (impl_t *impl, const void *haystack, size_t haystack_len, in do_one_test() function
134 do_one_test (impl, buf1, BUF1PAGES * page_size, str, len, buf1 + idx); in do_test()
165 do_one_test (impl, buf1, BUF1PAGES * page_size, buf1 + idx, len, in do_random_tests()
A Dbench-math-inlines.c220 do_one_test (json_ctx_t *json_ctx, proto_t test_fn, volatile double *arr, in do_one_test() function
269 do_one_test (&json_ctx, test_list[i].fn, arr2, SIZE, "inf/nan"); in test_main()
276 do_one_test (&json_ctx, test_list[i].fn, arr1, SIZE, "normal"); in test_main()
A Dbench-strcmp.c82 do_one_test (json_ctx_t *json_ctx, impl_t *impl, in do_one_test() function
141 do_one_test (json_ctx, impl, s1, s2, exp_result); in do_test()
158 do_one_test (json_ctx, impl, s1, s2, exp_result); in do_one_test_page_boundary()
A Dbench-memset-large.c35 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, in do_one_test() function
68 do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len); in do_test()
A Dbench-memcpy-walk.c47 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test() function
85 do_one_test (json_ctx, impl, s2, s1, len); in do_test()
A Dbench-memset-walk.c35 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, CHAR *s_end, in do_one_test() function
62 do_one_test (json_ctx, impl, (CHAR *) buf1, in do_test()
A Dbench-memmove-large.c33 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test() function
78 do_one_test (json_ctx, impl, s2, s1, len); in do_test()
A Dbench-memmove-walk.c51 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test() function
98 do_one_test (json_ctx, impl, (char *) buf2, (char *) buf1, len); in do_test()
A Dbench-rawmemchr.c42 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const char *s, int c, char *exp_res) in do_one_test() function
98 do_one_test (json_ctx, impl, (char *) (buf1 + align), seek_char, result); in do_test()
A Dbench-memccpy.c41 do_one_test (impl_t *impl, void *dst, const void *src, int c, size_t len, in do_one_test() function
90 do_one_test (impl, s2, s1, c, len, n); in do_test()
A Dbench-strcasecmp.c43 do_one_test (impl_t *impl, const char *s1, const char *s2, int exp_result) in do_one_test() function
109 do_one_test (impl, s1, s2, exp_result); in do_test()
A Dbench-memcpy-large.c36 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, const char *src, in do_one_test() function
85 do_one_test (json_ctx, impl, s2, s1, len); in do_test()
A Dbench-strnlen.c52 do_one_test (impl_t *impl, const CHAR *s, size_t maxlen, size_t exp_len) in do_one_test() function
95 do_one_test (impl, (CHAR *) (buf + align), maxlen, MIN (len, maxlen)); in do_test()
A Dbench-strspn.c61 do_one_test (impl_t *impl, const CHAR *s, const CHAR *acc, size_t exp_res) in do_one_test() function
124 do_one_test (impl, s, acc, pos); in do_test()
A Dbench-strlen.c49 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const CHAR *s, size_t exp_len) in do_one_test() function
97 do_one_test (json_ctx, impl, (CHAR *) (buf + align), len); in do_test()
A Dbench-memset.c43 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, in do_one_test() function
76 do_one_test (json_ctx, impl, (CHAR *) (buf1) + align, c, len); in do_test()
A Dbench-strcat.c52 do_one_test (impl_t *impl, CHAR *dst, const CHAR *src) in do_one_test() function
115 do_one_test (impl, s2, s1); in do_test()
A Dbench-memchr.c57 do_one_test (impl_t *impl, const CHAR *s, int c, size_t n) in do_one_test() function
107 do_one_test (impl, (CHAR *) (buf + align), seek_char, len); in do_test()
A Dbench-strpbrk.c66 do_one_test (impl_t *impl, const CHAR *s, const CHAR *rej, RES_TYPE exp_res) in do_one_test() function
142 do_one_test (impl, s, rej, result); in do_test()
A Dbench-strrchr.c56 do_one_test (impl_t *impl, const CHAR *s, int c, CHAR *exp_res) in do_one_test() function
121 do_one_test (impl, (CHAR *) (buf + align), seek_char, result); in do_test()
A Dbench-strcpy.c54 do_one_test (impl_t *impl, CHAR *dst, const CHAR *src, in do_one_test() function
116 do_one_test (impl, s2, s1, len); in do_test()
A Dbench-strcasestr.c37 do_one_test (impl_t *impl, const char *s1, const char *s2, char *exp_result) in do_one_test() function
95 do_one_test (impl, s1, s2, fail ? NULL : s1 + len1 - len2); in do_test()
A Dbench-strtok.c61 do_one_test (impl_t * impl, const char *s1, const char *s2) in do_one_test() function
120 do_one_test (impl, s1, s2); in do_test()

Completed in 25 milliseconds

12