Lines Matching refs:json_object
33 struct json_object *tests;
34 struct json_object *totals;
35 struct json_object *runtimes;
255 static struct json_object *get_or_create_json_object(struct json_object *base, in get_or_create_json_object()
258 struct json_object *ret; in get_or_create_json_object()
269 static void set_result(struct json_object *obj, const char *result) in set_result()
275 static void add_runtime(struct json_object *obj, double time) in add_runtime()
278 struct json_object *timeobj = get_or_create_json_object(obj, "time"); in add_runtime()
279 struct json_object *oldend; in add_runtime()
299 static void set_runtime(struct json_object *obj, double time) in set_runtime()
301 struct json_object *timeobj = get_or_create_json_object(obj, "time"); in set_runtime()
313 struct json_object *tests) in fill_from_output()
320 struct json_object *current_test = NULL; in fill_from_output()
592 static void add_dmesg(struct json_object *obj, in add_dmesg()
605 static void add_empty_dmesgs_where_missing(struct json_object *tests, in add_empty_dmesgs_where_missing()
609 struct json_object *current_test; in add_empty_dmesgs_where_missing()
627 struct json_object *tests) in fill_from_dmesg()
631 struct json_object *current_test = NULL; in fill_from_dmesg()
785 struct json_object *tests = results->tests; in fill_from_journal()
786 struct json_object *runtimes = results->runtimes; in fill_from_journal()
793 struct json_object *obj; in fill_from_journal()
818 struct json_object *obj; in fill_from_journal()
844 struct json_object *obj; in fill_from_journal()
867 static void override_result_single(struct json_object *obj) in override_result_single()
870 struct json_object *textobj; in override_result_single()
897 struct json_object *tests) in override_results()
899 struct json_object *obj; in override_results()
917 static struct json_object *get_totals_object(struct json_object *totals, in get_totals_object()
920 struct json_object *obj = NULL; in get_totals_object()
942 static void add_result_to_totals(struct json_object *totals, in add_result_to_totals()
945 json_object *numobj = NULL; in add_result_to_totals()
961 struct json_object *test, *resultobj, *emptystrtotal, *roottotal, *binarytotal; in add_to_totals()
1041 struct json_object *current_test; in try_add_notrun_results()
1074 static void create_result_root_nodes(struct json_object *root, in create_result_root_nodes()
1085 struct json_object *generate_results_json(int dirfd) in generate_results_json()
1089 struct json_object *obj, *elapsed; in generate_results_json()
1178 struct json_object *aborttest = get_or_create_json_object(results.tests, piglit_name); in generate_results_json()
1207 struct json_object *obj = generate_results_json(dirfd); in generate_results()