Lines Matching refs:emitter_printf
98 emitter_printf(emitter_t *emitter, const char *format, ...) { in emitter_printf() function
160 emitter_printf(emitter, fmt, *(const type *)value); \ in emitter_print_value()
165 emitter_printf(emitter, fmt, *(const bool *)value ? in emitter_print_value()
189 emitter_printf(emitter, fmt, buf); in emitter_print_value()
232 emitter_printf(emitter, "%s", indent_str); in emitter_indent()
238 emitter_printf(emitter, "%s\n", emitter->item_at_depth ? "," : ""); in emitter_json_key_prefix()
246 emitter_printf(emitter, "{"); in emitter_begin()
250 emitter_printf(emitter, "%s", ""); in emitter_begin()
259 emitter_printf(emitter, "\n}\n"); in emitter_end()
275 emitter_printf(emitter, "\"%s\": ", json_key); in emitter_kv_note()
280 emitter_printf(emitter, "%s: ", table_key); in emitter_kv_note()
284 emitter_printf(emitter, " (%s: ", table_note_key); in emitter_kv_note()
287 emitter_printf(emitter, ")"); in emitter_kv_note()
289 emitter_printf(emitter, "\n"); in emitter_kv_note()
322 emitter_printf(emitter, "\"%s\": {", json_key); in emitter_dict_begin()
326 emitter_printf(emitter, "%s\n", table_header); in emitter_dict_begin()
336 emitter_printf(emitter, "\n"); in emitter_dict_end()
338 emitter_printf(emitter, "}"); in emitter_dict_end()
376 emitter_printf(emitter, "\"%s\": [", json_key); in emitter_json_arr_begin()
386 emitter_printf(emitter, "\n"); in emitter_json_arr_end()
388 emitter_printf(emitter, "]"); in emitter_json_arr_end()
396 emitter_printf(emitter, "{"); in emitter_json_arr_obj_begin()
406 emitter_printf(emitter, "\n"); in emitter_json_arr_obj_end()
408 emitter_printf(emitter, "}"); in emitter_json_arr_obj_end()