Home
last modified time | relevance | path

Searched refs:qdict (Results 1 – 14 of 14) sorted by relevance

/external/qemu/qobject/
Dqdict.c36 QDict *qdict; in qdict_new() local
38 qdict = g_malloc0(sizeof(*qdict)); in qdict_new()
39 QOBJECT_INIT(qdict, &qdict_type); in qdict_new()
41 return qdict; in qdict_new()
109 static QDictEntry *qdict_find(const QDict *qdict, in qdict_find() argument
114 QLIST_FOREACH(entry, &qdict->table[bucket], next) in qdict_find()
132 void qdict_put_obj(QDict *qdict, const char *key, QObject *value) in qdict_put_obj() argument
138 entry = qdict_find(qdict, key, bucket); in qdict_put_obj()
146 QLIST_INSERT_HEAD(&qdict->table[bucket], entry, next); in qdict_put_obj()
147 qdict->size++; in qdict_put_obj()
[all …]
/external/qemu/qapi-auto-generated/
Dqmp-commands.h24 int qmp_marshal_input_add_client(Monitor *mon, const QDict *qdict, QObject **ret);
26 int qmp_marshal_input_query_name(Monitor *mon, const QDict *qdict, QObject **ret);
28 int qmp_marshal_input_query_version(Monitor *mon, const QDict *qdict, QObject **ret);
30 int qmp_marshal_input_query_kvm(Monitor *mon, const QDict *qdict, QObject **ret);
32 int qmp_marshal_input_query_status(Monitor *mon, const QDict *qdict, QObject **ret);
34 int qmp_marshal_input_query_uuid(Monitor *mon, const QDict *qdict, QObject **ret);
36 int qmp_marshal_input_query_chardev(Monitor *mon, const QDict *qdict, QObject **ret);
38 int qmp_marshal_input_ringbuf_write(Monitor *mon, const QDict *qdict, QObject **ret);
40 int qmp_marshal_input_ringbuf_read(Monitor *mon, const QDict *qdict, QObject **ret);
42 int qmp_marshal_input_query_commands(Monitor *mon, const QDict *qdict, QObject **ret);
[all …]
Dqmp-marshal.c30 int qmp_marshal_input_add_client(Monitor *mon, const QDict *qdict, QObject **ret) in qmp_marshal_input_add_client() argument
34 QDict *args = (QDict *)qdict; in qmp_marshal_input_add_client()
108 int qmp_marshal_input_query_name(Monitor *mon, const QDict *qdict, QObject **ret) in qmp_marshal_input_query_name() argument
112 QDict *args = (QDict *)qdict; in qmp_marshal_input_query_name()
151 int qmp_marshal_input_query_version(Monitor *mon, const QDict *qdict, QObject **ret) in qmp_marshal_input_query_version() argument
155 QDict *args = (QDict *)qdict; in qmp_marshal_input_query_version()
194 int qmp_marshal_input_query_kvm(Monitor *mon, const QDict *qdict, QObject **ret) in qmp_marshal_input_query_kvm() argument
198 QDict *args = (QDict *)qdict; in qmp_marshal_input_query_kvm()
237 int qmp_marshal_input_query_status(Monitor *mon, const QDict *qdict, QObject **ret) in qmp_marshal_input_query_status() argument
241 QDict *args = (QDict *)qdict; in qmp_marshal_input_query_status()
[all …]
/external/qemu/include/qapi/qmp/
Dqdict.h39 size_t qdict_size(const QDict *qdict);
40 void qdict_put_obj(QDict *qdict, const char *key, QObject *value);
41 void qdict_del(QDict *qdict, const char *key);
42 int qdict_haskey(const QDict *qdict, const char *key);
43 QObject *qdict_get(const QDict *qdict, const char *key);
45 void qdict_iter(const QDict *qdict,
48 const QDictEntry *qdict_first(const QDict *qdict);
49 const QDictEntry *qdict_next(const QDict *qdict, const QDictEntry *entry);
52 #define qdict_put(qdict, key, obj) \ argument
53 qdict_put_obj(qdict, key, QOBJECT(obj))
[all …]
/external/qemu/include/sysemu/
Dblockdev.h50 void do_commit(Monitor *mon, const QDict *qdict);
51 int do_eject(Monitor *mon, const QDict *qdict, QObject **ret_data);
52 int do_block_set_passwd(Monitor *mon, const QDict *qdict, QObject **ret_data);
/external/qemu/
Dblockdev.c498 void do_commit(Monitor *mon, const QDict *qdict) in do_commit() argument
500 const char *device = qdict_get_str(qdict, "device"); in do_commit()
532 int do_eject(Monitor *mon, const QDict *qdict, QObject **ret_data) in do_eject() argument
535 int force = qdict_get_try_bool(qdict, "force", 0); in do_eject()
536 const char *filename = qdict_get_str(qdict, "device"); in do_eject()
546 int do_block_set_passwd(Monitor *mon, const QDict *qdict, in do_block_set_passwd() argument
552 bs = bdrv_find(qdict_get_str(qdict, "device")); in do_block_set_passwd()
554 qerror_report(QERR_DEVICE_NOT_FOUND, qdict_get_str(qdict, "device")); in do_block_set_passwd()
558 err = bdrv_set_key(bs, qdict_get_str(qdict, "password")); in do_block_set_passwd()
Dblock.c1562 QDict *qdict = qobject_to_qdict(qdict_get(bs_dict, "inserted")); in bdrv_print_dict() local
1565 monitor_print_filename(mon, qdict_get_str(qdict, "file")); in bdrv_print_dict()
1566 if (qdict_haskey(qdict, "backing_file")) { in bdrv_print_dict()
1568 monitor_print_filename(mon, qdict_get_str(qdict, "backing_file")); in bdrv_print_dict()
1571 qdict_get_bool(qdict, "ro"), in bdrv_print_dict()
1572 qdict_get_str(qdict, "drv"), in bdrv_print_dict()
1573 qdict_get_bool(qdict, "encrypted")); in bdrv_print_dict()
1624 QDict *qdict = qobject_to_qdict(obj); in bdrv_info() local
1625 qdict_put(qdict, "backing_file", in bdrv_info()
1639 QDict *qdict; in bdrv_stats_iter() local
[all …]
DMakefile.common570 qobject/qdict.c \
/external/qemu/util/
Dqemu-option.c893 QemuOpts *qemu_opts_from_qdict(QemuOptsList *list, const QDict *qdict) in qemu_opts_from_qdict() argument
897 opts = qemu_opts_create(list, qdict_get_try_str(qdict, "id"), 1); in qemu_opts_from_qdict()
901 qdict_iter(qdict, qemu_opts_from_qdict_1, opts); in qemu_opts_from_qdict()
911 QDict *qemu_opts_to_qdict(QemuOpts *opts, QDict *qdict) in qemu_opts_to_qdict() argument
916 if (!qdict) { in qemu_opts_to_qdict()
917 qdict = qdict_new(); in qemu_opts_to_qdict()
920 qdict_put(qdict, "id", qstring_from_str(opts->id)); in qemu_opts_to_qdict()
924 qdict_put_obj(qdict, opt->name, val); in qemu_opts_to_qdict()
926 return qdict; in qemu_opts_to_qdict()
/external/qemu/include/qemu/
Doption.h127 QemuOpts *qemu_opts_from_qdict(QemuOptsList *list, const QDict *qdict);
128 QDict *qemu_opts_to_qdict(QemuOpts *opts, QDict *qdict);
/external/chromium_org/net/tools/testserver/
Dtestserver.py1553 qdict = urlparse.parse_qs(query, True)
1554 if 'size' in qdict:
1555 size = int(qdict['size'][0])
1556 if 'rst_boundary' in qdict:
1557 rst_boundary = int(qdict['rst_boundary'][0])
1558 if 'token' in qdict:
1560 token = qdict['token'][0]
1561 if 'rst_limit' in qdict:
1563 rst_limit = int(qdict['rst_limit'][0])
1564 if 'bounce_range' in qdict:
[all …]
/external/qemu/ui/
Dinput.c282 void do_mouse_set(Monitor *mon, const QDict *qdict) in do_mouse_set() argument
285 int index = qdict_get_int(qdict, "index"); in do_mouse_set()
/external/qemu/include/hw/
Dloader.h55 void do_info_roms(Monitor *mon, const QDict *qdict);
/external/qemu/include/ui/
Dconsole.h94 void do_mouse_set(Monitor *mon, const QDict *qdict);