Home
last modified time | relevance | path

Searched defs:writer (Results 1 – 3 of 3) sorted by relevance

/qemu/qobject/
H A Djson-writer.c29 JSONWriter *writer = g_new(JSONWriter, 1); in json_writer_new() local
38 const char *json_writer_get(JSONWriter *writer) in json_writer_get()
44 GString *json_writer_get_and_free(JSONWriter *writer) in json_writer_get_and_free()
54 void json_writer_free(JSONWriter *writer) in json_writer_free()
61 static void enter_container(JSONWriter *writer, bool is_array) in enter_container()
70 static void leave_container(JSONWriter *writer, bool is_array) in leave_container()
80 static bool in_object(JSONWriter *writer) in in_object()
87 static void pretty_newline(JSONWriter *writer) in pretty_newline()
95 static void pretty_newline_or_space(JSONWriter *writer) in pretty_newline_or_space()
105 static void quoted_str(JSONWriter *writer, const char *str) in quoted_str()
[all …]
H A Dqjson.c151 static void to_json(JSONWriter *writer, const char *name, in to_json()
223 JSONWriter *writer = json_writer_new(pretty); in qobject_to_json_pretty() local
/qemu/tests/unit/
H A Dio-channel-helpers.c107 GThread *reader, *writer; in qio_channel_test_run_threads() local