Home
last modified time | relevance | path

Searched refs:json_ctx_t (Results 1 – 23 of 23) sorted by relevance

/benchtests/
A Djson-lib.h33 typedef struct json_ctx json_ctx_t; typedef
36 void json_document_begin (json_ctx_t *ctx);
37 void json_document_end (json_ctx_t *ctx);
39 void json_attr_object_end (json_ctx_t *ctx);
44 void json_array_begin (json_ctx_t *ctx, const char *name);
45 void json_array_end (json_ctx_t *ctx);
47 void json_element_int (json_ctx_t *ctx, int64_t d);
48 void json_element_uint (json_ctx_t *ctx, uint64_t d);
49 void json_element_double (json_ctx_t *ctx, double d);
50 void json_element_object_begin (json_ctx_t *ctx);
[all …]
A Djson-lib.c32 do_indent (json_ctx_t *ctx) in do_indent()
43 json_document_begin (json_ctx_t *ctx) in json_document_begin()
54 json_document_end (json_ctx_t *ctx) in json_document_end()
78 json_attr_object_end (json_ctx_t *ctx) in json_attr_object_end()
143 json_array_begin (json_ctx_t *ctx, const char *name) in json_array_begin()
157 json_array_end (json_ctx_t *ctx) in json_array_end()
178 json_element_uint (json_ctx_t *ctx, uint64_t d) in json_element_uint()
190 json_element_int (json_ctx_t *ctx, int64_t d) in json_element_int()
202 json_element_double (json_ctx_t *ctx, double d) in json_element_double()
214 json_element_object_begin (json_ctx_t *ctx) in json_element_object_begin()
[all …]
A Dbench-strncmp.c75 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const CHAR *s1, const CHAR in do_one_test()
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()
196 do_one_test_page_boundary (json_ctx_t *json_ctx, CHAR *s1, CHAR *s2, in do_one_test_page_boundary()
213 do_test_page_boundary (json_ctx_t *json_ctx) in do_test_page_boundary()
250 do_one_test_page (json_ctx_t *json_ctx, size_t offset1, size_t offset2, in do_one_test_page()
296 do_test_page (json_ctx_t *json_ctx) in do_test_page()
321 json_ctx_t json_ctx; in test_main()
A Dbench-strcmp.c82 do_one_test (json_ctx_t *json_ctx, impl_t *impl, in do_one_test()
102 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, int in do_test()
148 do_one_test_page_boundary (json_ctx_t *json_ctx, CHAR *s1, CHAR *s2, in do_one_test_page_boundary()
164 do_test_page_boundary (json_ctx_t *json_ctx) in do_test_page_boundary()
204 json_ctx_t json_ctx; in test_main()
A Dbench-strcoll.c180 bench_list (json_ctx_t *json_ctx, word_list *list) in bench_list()
215 bench_file (json_ctx_t *json_ctx, const char *testname, const char *filename, in bench_file()
239 json_ctx_t *json_ctx = malloc (sizeof (json_ctx_t)); in main()
A Dbench-memset-large.c35 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, in do_one_test()
54 do_test (json_ctx_t *json_ctx, size_t align, int c, size_t len) in do_test()
79 json_ctx_t json_ctx; in test_main()
A Dbench-memcpy-walk.c47 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test()
69 do_test (json_ctx_t *json_ctx, size_t len, int both_ways) in do_test()
98 json_ctx_t json_ctx; in test_main()
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()
53 do_test (json_ctx_t *json_ctx, int c, size_t len) in do_test()
74 json_ctx_t json_ctx; in test_main()
A Dbench-memmove-large.c33 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test()
52 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len) in do_test()
87 json_ctx_t json_ctx; in test_main()
A Dbench-memmove-walk.c51 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test()
73 do_test (json_ctx_t *json_ctx, size_t len, int overlap, int both_ways) in do_test()
112 json_ctx_t json_ctx; in test_main()
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()
68 do_test (json_ctx_t *json_ctx, size_t align, size_t pos, size_t len, int seek_char) in do_test()
107 json_ctx_t json_ctx; in test_main()
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()
55 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, in do_test()
98 json_ctx_t json_ctx; in test_main()
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()
75 do_test (json_ctx_t *json_ctx, size_t align, size_t len) in do_test()
108 json_ctx_t json_ctx; in test_main()
A Dbench-memset.c43 do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s, in do_one_test()
62 do_test (json_ctx_t *json_ctx, size_t align, int c, size_t len) in do_test()
87 json_ctx_t json_ctx; in test_main()
A Dbench-memmove.c32 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test()
54 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len) in do_test()
89 json_ctx_t json_ctx; in test_main()
A Dbench-memcpy-random.c126 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, char *src, in do_one_test()
147 do_test (json_ctx_t *json_ctx, size_t max_size) in do_test()
178 json_ctx_t json_ctx; in test_main()
A Dbench-memcmp.c65 do_one_test (json_ctx_t *json_ctx, impl_t *impl, const CHAR *s1, in do_one_test()
84 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, in do_test()
130 json_ctx_t json_ctx; in test_main()
A Dbench-memcpy.c38 do_one_test (json_ctx_t *json_ctx, impl_t *impl, char *dst, const char *src, in do_one_test()
60 do_test (json_ctx_t *json_ctx, size_t align1, size_t align2, size_t len, in do_test()
103 json_ctx_t json_ctx; in test_main()
A Dbench-pthread-locks.c419 do_bench_2 (const char *name, test_t func, int filler, json_ctx_t *js) in do_bench_2()
511 do_bench_1 (const char *name, test_t func, json_ctx_t *js) in do_bench_1()
525 json_ctx_t json_ctx; in do_bench()
A Dbench-math-inlines.c220 do_one_test (json_ctx_t *json_ctx, proto_t test_fn, volatile double *arr, in do_one_test()
245 json_ctx_t json_ctx; in test_main()
A Dbench-malloc-simple.c117 json_ctx_t json_ctx; in bench()
A Dbench-skeleton.c42 json_ctx_t json_ctx; in main()
A Dbench-malloc-thread.c228 json_ctx_t json_ctx; in main()

Completed in 34 milliseconds