/benchtests/ |
A D | bench-stpcpy_chk.c | 19 #define STRCPY_RESULT(dst, len) ((dst) + (len)) argument 35 simple_stpcpy_chk (char *dst, const char *src, size_t len) in simple_stpcpy_chk()
|
A D | bench-stpcpy.c | 19 #define STRCPY_RESULT(dst, len) ((dst) + (len)) argument 32 size_t len = STRLEN (src); in generic_stpcpy() local
|
A D | bench-strcpy_chk.c | 20 # define STRCPY_RESULT(dst, len) dst argument 39 simple_strcpy_chk (char *dst, const char *src, size_t len) in simple_strcpy_chk() 77 size_t len, size_t dlen) in do_one_test() 131 do_test (size_t align1, size_t align2, size_t len, size_t dlen, int max_char) in do_test()
|
A D | bench-memcpy-walk.c | 31 # define MEMCPY_RESULT(dst, len) dst argument 48 size_t len) in do_one_test() 69 do_test (json_ctx_t *json_ctx, size_t len, int both_ways) in do_test()
|
A D | bench-memcpy-large.c | 20 # define MEMCPY_RESULT(dst, len) dst argument 37 size_t len) in do_one_test() 55 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, in do_test()
|
A D | bench-strcpy.c | 30 # define STRCPY_RESULT(dst, len) dst argument 55 size_t len __attribute__((unused))) in do_one_test() 90 do_test (size_t align1, size_t align2, size_t len, int max_char) in do_test()
|
A D | bench-memcpy.c | 20 # define MEMCPY_RESULT(dst, len) dst argument 39 size_t len) in do_one_test() 60 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, in do_test()
|
A D | bench-memmove-walk.c | 31 # define MEMMOVE_RESULT(dst, len) dst argument 52 size_t len) in do_one_test() 73 do_test (json_ctx_t *json_ctx, size_t len, int overlap, int both_ways) in do_test()
|
A D | bench-strncpy.c | 28 # define STRNCPY_RESULT(dst, len, n) dst argument 55 do_one_test (impl_t *impl, CHAR *dst, const CHAR *src, size_t len, size_t n) in do_one_test() 101 do_test (size_t align1, size_t align2, size_t len, size_t n, int max_char) in do_test()
|
A D | bench-mempcpy.c | 19 #define MEMCPY_RESULT(dst, len) (dst) + (len) argument
|
A D | bench-memmove-large.c | 34 size_t len) in do_one_test() 52 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len) in do_test()
|
A D | bench-memmove.c | 33 size_t len) in do_one_test() 54 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len) in do_test()
|
A D | bench-strncmp.c | 94 do_test_limit (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, in do_test_limit() 144 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, size_t in do_test() 197 size_t align1, size_t align2, size_t len, in do_one_test_page_boundary() 220 size_t len; in do_test_page_boundary() local 264 size_t len = (page_size / CHARBYTES) - offset1; in do_one_test_page() local
|
A D | bench-strlen.c | 51 size_t len = CALL (impl, s), i, iters = INNER_LOOP_ITERS_LARGE; in do_one_test() local 75 do_test (json_ctx_t *json_ctx, size_t align, size_t len) in do_test()
|
A D | bench-memccpy.c | 41 do_one_test (impl_t *impl, void *dst, const void *src, int c, size_t len, in do_one_test() 60 do_test (size_t align1, size_t align2, int c, size_t len, size_t n, in do_test()
|
A D | bench-stpncpy.c | 19 #define STRNCPY_RESULT(dst, len, n) ((dst) + ((len) > (n) ? (n) : (len))) argument
|
A D | bench-strnlen.c | 54 size_t len = CALL (impl, s, maxlen), i, iters = INNER_LOOP_ITERS_LARGE; in do_one_test() local 78 do_test (size_t align, size_t len, size_t maxlen, int max_char) in do_test()
|
A D | bench-memmem.c | 124 do_test (const char *str, size_t len, size_t idx) in do_test() 151 size_t len = random () % (sizeof (tmpbuf) - 1) + 1; in do_random_tests() local 200 size_t len = strlen (strs[i]); in test_main() local
|
A D | bench-memcmp.c | 66 const CHAR *s2, size_t len, int exp_result) in do_one_test() 84 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, in do_test()
|
A D | bench-strcmp.c | 102 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, int in do_test() 149 size_t align1, size_t align2, size_t len, in do_one_test_page_boundary() 171 size_t len; in do_test_page_boundary() local
|
A D | bench-rawmemchr.c | 68 do_test (json_ctx_t *json_ctx, size_t align, size_t pos, size_t len, int seek_char) in do_test()
|
A D | bench-strcasecmp.c | 71 do_test (size_t align1, size_t align2, size_t len, int max_char, in do_test()
|
A D | bench-strncasecmp.c | 69 do_test (size_t align1, size_t align2, size_t n, size_t len, int max_char, in do_test()
|
A D | bench-memchr.c | 75 do_test (size_t align, size_t pos, size_t len, int seek_char) in do_test()
|
A D | bench-strspn.c | 87 do_test (size_t align, size_t pos, size_t len) in do_test()
|