Lines Matching refs:jw
210 json_writer_t *jw; member
1195 jsonw_end_array(dl->jw); in __pr_out_handle_start()
1198 jsonw_name(dl->jw, buf); in __pr_out_handle_start()
1199 jsonw_start_array(dl->jw); in __pr_out_handle_start()
1200 jsonw_start_object(dl->jw); in __pr_out_handle_start()
1203 jsonw_start_object(dl->jw); in __pr_out_handle_start()
1206 jsonw_name(dl->jw, buf); in __pr_out_handle_start()
1207 jsonw_start_object(dl->jw); in __pr_out_handle_start()
1234 jsonw_end_object(dl->jw); in pr_out_handle_end()
1296 jsonw_end_array(dl->jw); in __pr_out_port_handle_start()
1300 jsonw_name(dl->jw, buf); in __pr_out_port_handle_start()
1301 jsonw_start_array(dl->jw); in __pr_out_port_handle_start()
1302 jsonw_start_object(dl->jw); in __pr_out_port_handle_start()
1306 jsonw_start_object(dl->jw); in __pr_out_port_handle_start()
1309 jsonw_name(dl->jw, buf); in __pr_out_port_handle_start()
1310 jsonw_start_object(dl->jw); in __pr_out_port_handle_start()
1344 jsonw_end_object(dl->jw); in pr_out_port_handle_end()
1353 jsonw_string_field(dl->jw, name, val); in pr_out_str()
1365 jsonw_uint_field(dl->jw, name, val); in pr_out_uint()
1382 jsonw_start_object(dl->jw); in pr_out_section_start()
1383 jsonw_name(dl->jw, name); in pr_out_section_start()
1384 jsonw_start_object(dl->jw); in pr_out_section_start()
1392 jsonw_end_array(dl->jw); in pr_out_section_end()
1393 jsonw_end_object(dl->jw); in pr_out_section_end()
1394 jsonw_end_object(dl->jw); in pr_out_section_end()
1401 jsonw_name(dl->jw, name); in pr_out_array_start()
1402 jsonw_start_array(dl->jw); in pr_out_array_start()
1415 jsonw_end_array(dl->jw); in pr_out_array_end()
1423 jsonw_start_object(dl->jw); in pr_out_entry_start()
1429 jsonw_end_object(dl->jw); in pr_out_entry_end()
2276 jsonw_name(dl->jw, label); in pr_out_json_occ_show_item_list()
2277 jsonw_start_object(dl->jw); in pr_out_json_occ_show_item_list()
2280 jsonw_name(dl->jw, buf); in pr_out_json_occ_show_item_list()
2281 jsonw_start_object(dl->jw); in pr_out_json_occ_show_item_list()
2283 jsonw_uint_field(dl->jw, "bound_pool", in pr_out_json_occ_show_item_list()
2285 jsonw_uint_field(dl->jw, "current", occ_item->cur); in pr_out_json_occ_show_item_list()
2286 jsonw_uint_field(dl->jw, "max", occ_item->max); in pr_out_json_occ_show_item_list()
2287 jsonw_end_object(dl->jw); in pr_out_json_occ_show_item_list()
2289 jsonw_end_object(dl->jw); in pr_out_json_occ_show_item_list()
3855 dl->jw = jsonw_new(stdout); in dl_init()
3856 if (!dl->jw) { in dl_init()
3860 jsonw_pretty(dl->jw, dl->pretty_output); in dl_init()
3874 jsonw_destroy(&dl->jw); in dl_fini()