/benchtests/ |
A D | bench-strpbrk.c | 28 # define STRPBRK_RESULT(s, pos) ((s)[(pos)] ? (s) + (pos) : NULL) argument 51 SIMPLE_STRPBRK (const CHAR *s, const CHAR *rej) in SIMPLE_STRPBRK() 66 do_one_test (impl_t *impl, const CHAR *s, const CHAR *rej, RES_TYPE exp_res) in do_one_test() 98 CHAR *rej, *s; in do_test() local
|
A D | bench-strcspn.c | 19 #define STRPBRK_RESULT(s, pos) (pos) argument 42 SIMPLE_STRCSPN (const CHAR *s, const CHAR *rej) in SIMPLE_STRCSPN()
|
A D | bench-strspn.c | 44 SIMPLE_STRSPN (const CHAR *s, const CHAR *acc) in SIMPLE_STRSPN() 61 do_one_test (impl_t *impl, const CHAR *s, const CHAR *acc, size_t exp_res) in do_one_test() 90 CHAR *acc, *s; in do_test() local
|
A D | bench-memrchr.c | 30 simple_memrchr (const char *s, int c, size_t n) in simple_memrchr()
|
A D | bench-rawmemchr.c | 31 generic_rawmemchr (const char *s, int c) in generic_rawmemchr() 42 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const char *s, int c, char *exp_res) in do_one_test()
|
A D | bench-memchr.c | 47 SIMPLE_MEMCHR (const CHAR *s, int c, size_t n) in SIMPLE_MEMCHR() 57 do_one_test (impl_t *impl, const CHAR *s, int c, size_t n) in do_one_test()
|
A D | bench-strrchr.c | 44 SIMPLE_STRRCHR (const CHAR *s, int c) in SIMPLE_STRRCHR() 56 do_one_test (impl_t *impl, const CHAR *s, int c, CHAR *exp_res) in do_one_test()
|
A D | bench-strnlen.c | 41 memchr_strnlen (const CHAR *s, size_t maxlen) in memchr_strnlen() 52 do_one_test (impl_t *impl, const CHAR *s, size_t maxlen, size_t exp_len) in do_one_test()
|
A D | bench-strchr.c | 65 simple_STRCHR (const CHAR *s, int c) in simple_STRCHR() 77 do_one_test (impl_t *impl, const CHAR *s, int c, const CHAR *exp_res) in do_one_test()
|
A D | json-lib.c | 91 json_attr_string (json_ctx_t *ctx, const char *name, const char *s) in json_attr_string() 166 json_element_string (json_ctx_t *ctx, const char *s) in json_element_string()
|
A D | bench-strlen.c | 49 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const CHAR *s, size_t exp_len) in do_one_test()
|
A D | bench-memset-walk.c | 35 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, CHAR *s_end, in do_one_test()
|
A D | bench-strtok.c | 24 oldstrtok (char *s, const char *delim) in oldstrtok()
|
A D | bench-memset-large.c | 35 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, in do_one_test()
|
A D | bench-memset.c | 43 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, in do_one_test()
|
A D | bench-strsep.c | 27 char *s; in simple_strsep() local
|
A D | bench-malloc-simple.c | 129 char s[100]; in bench() local
|
A D | bench-strcmp.c | 186 for (size_t s = 99; s <= size; s++) in do_test_page_boundary() local
|
A D | bench-strncmp.c | 234 for (size_t s = 99; s <= size; s++) in do_test_page_boundary() local
|
A D | bench-pthread-locks.c | 485 double s = (double) curs[i] / (double) iters - mean; in do_bench_2() local
|