Home
last modified time | relevance | path

Searched refs:JSONWriter (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/qemu/include/qapi/qmp/
H A Djson-writer.h17 JSONWriter *json_writer_new(bool pretty);
18 const char *json_writer_get(JSONWriter *);
19 GString *json_writer_get_and_free(JSONWriter *);
20 void json_writer_free(JSONWriter *);
22 G_DEFINE_AUTOPTR_CLEANUP_FUNC(JSONWriter, json_writer_free)
24 void json_writer_start_object(JSONWriter *, const char *name);
25 void json_writer_end_object(JSONWriter *);
26 void json_writer_start_array(JSONWriter *, const char *name);
27 void json_writer_end_array(JSONWriter *);
28 void json_writer_bool(JSONWriter *, const char *name, bool val);
[all …]
/openbmc/qemu/qobject/
H A Djson-writer.c20 struct JSONWriter { struct
27 JSONWriter *json_writer_new(bool pretty) in json_writer_new() argument
29 JSONWriter *writer = g_new(JSONWriter, 1); in json_writer_new()
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()
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()
182 void json_writer_end_object(JSONWriter *writer) in json_writer_end_object()
[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()
/openbmc/qemu/migration/
H A Dvmstate-types.c33 const VMStateField *field, JSONWriter *vmdesc) in put_bool()
57 const VMStateField *field, JSONWriter *vmdesc) in put_int8()
81 const VMStateField *field, JSONWriter *vmdesc) in put_int16()
105 const VMStateField *field, JSONWriter *vmdesc) in put_int32()
182 const VMStateField *field, JSONWriter *vmdesc) in put_int64()
206 const VMStateField *field, JSONWriter *vmdesc) in put_uint8()
230 const VMStateField *field, JSONWriter *vmdesc) in put_uint16()
254 const VMStateField *field, JSONWriter *vmdesc) in put_uint32()
304 const VMStateField *field, JSONWriter *vmdesc) in put_uint64()
534 const VMStateField *field, JSONWriter *vmdesc) in put_tmp()
[all …]
H A Dvmstate.c25 void *opaque, JSONWriter *vmdesc,
273 JSONWriter *vmdesc, in vmsd_desc_field_start()
313 JSONWriter *vmdesc, in vmsd_desc_field_end()
341 void *opaque, JSONWriter *vmdesc_id) in vmstate_save_state()
347 void *opaque, JSONWriter *vmdesc_id, Error **errp) in vmstate_save_state_with_err()
353 void *opaque, JSONWriter *vmdesc, int version_id, Error **errp) in vmstate_save_state_v()
381 JSONWriter *vmdesc_loop = vmdesc; in vmstate_save_state_v()
523 void *opaque, JSONWriter *vmdesc, in vmstate_subsection_save()
H A Dmigration.h451 JSONWriter *vmdesc;
H A Dsavevm.c183 const VMStateField *field, JSONWriter *vmdesc) in put_timer()
405 const VMStateField *field, JSONWriter *vmdesc) in put_capability()
962 JSONWriter *vmdesc) in vmstate_save_old_style()
1013 static int vmstate_save(QEMUFile *f, SaveStateEntry *se, JSONWriter *vmdesc, in vmstate_save()
1541 JSONWriter *vmdesc = ms->vmdesc; in qemu_savevm_state_complete_precopy_non_iterable()
/openbmc/qemu/target/avr/
H A Dmachine.c37 const VMStateField *field, JSONWriter *vmdesc) in put_sreg()
64 const VMStateField *field, JSONWriter *vmdesc) in put_segment()
/openbmc/qemu/include/qemu/
H A Dtypedefs.h60 typedef struct JSONWriter JSONWriter; typedef
/openbmc/qemu/target/sparc/
H A Dmachine.c68 const VMStateField *field, JSONWriter *vmdesc) in put_psr()
97 const VMStateField *field, JSONWriter *vmdesc) in put_fsr()
130 const VMStateField *field, JSONWriter *vmdesc) in put_xcc()
/openbmc/qemu/target/hppa/
H A Dmachine.c34 const VMStateField *field, JSONWriter *vmdesc) in put_psw()
75 const VMStateField *field, JSONWriter *vmdesc) in put_tlb()
/openbmc/qemu/target/ppc/
H A Dmachine.c38 const VMStateField *field, JSONWriter *vmdesc) in put_avr()
70 const VMStateField *field, JSONWriter *vmdesc) in put_fpr()
101 const VMStateField *field, JSONWriter *vmdesc) in put_vsr()
377 const VMStateField *field, JSONWriter *vmdesc) in put_vscr()
501 const VMStateField *field, JSONWriter *vmdesc) in put_slbe()
/openbmc/qemu/target/alpha/
H A Dmachine.c14 const VMStateField *field, JSONWriter *vmdesc) in put_fpcr()
/openbmc/qemu/target/microblaze/
H A Dmachine.c49 const VMStateField *field, JSONWriter *vmdesc) in put_msr()
/openbmc/qemu/target/openrisc/
H A Dmachine.c57 const VMStateField *field, JSONWriter *vmdesc) in put_sr()
/openbmc/qemu/target/arm/
H A Dmachine.c65 const VMStateField *field, JSONWriter *vmdesc) in put_fpscr()
93 const VMStateField *field, JSONWriter *vmdesc) in put_fpcr()
120 const VMStateField *field, JSONWriter *vmdesc) in put_fpsr()
796 const VMStateField *field, JSONWriter *vmdesc) in put_cpsr()
831 const VMStateField *field, JSONWriter *vmdesc) in put_power()
/openbmc/qemu/target/mips/sysemu/
H A Dmachine.c35 const VMStateField *field, JSONWriter *vmdesc) in put_fpr()
165 const VMStateField *field, JSONWriter *vmdesc) in put_tlb()
/openbmc/qemu/hw/nvram/
H A Deeprom93xx.c107 const VMStateField *field, JSONWriter *vmdesc) in put_unused()
/openbmc/qemu/include/migration/
H A Dvmstate.h48 JSONWriter *vmdesc);
1188 void *opaque, JSONWriter *vmdesc);
1190 void *opaque, JSONWriter *vmdesc, Error **errp);
1192 void *opaque, JSONWriter *vmdesc,
/openbmc/qemu/hw/virtio/
H A Dvhost-user-fs.c306 const VMStateField *field, JSONWriter *vmdesc) in vuf_save_state()
/openbmc/qemu/hw/intc/
H A Ds390_flic_kvm.c415 const VMStateField *field, JSONWriter *vmdesc) in kvm_flic_save()
/openbmc/qemu/hw/pci/
H A Dmsix.c674 const VMStateField *field, JSONWriter *vmdesc) in put_msix_state()
H A Dshpc.c763 const VMStateField *field, JSONWriter *vmdesc) in shpc_save()
/openbmc/qemu/hw/usb/
H A Dredirect.c2236 const VMStateField *field, JSONWriter *vmdesc) in usbredir_put_parser()
2306 const VMStateField *field, JSONWriter *vmdesc) in usbredir_put_bufpq()
2438 JSONWriter *vmdesc) in usbredir_put_packet_id_q()
/openbmc/qemu/hw/rtc/
H A Dtwl92230.c749 const VMStateField *field, JSONWriter *vmdesc) in put_int32_as_uint16()

12