Home
last modified time | relevance | path

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

/external/qemu/
Dqdict.c36 QDict *qdict; in qdict_new() local
38 qdict = qemu_mallocz(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 …]
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 …]
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);
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()
Dqerror.c338 QDict *qdict; in append_field() local
356 qdict = qobject_to_qdict(qdict_get(qerror->error, "data")); in append_field()
357 obj = qdict_get(qdict, key); in append_field()
364 qstring_append(outstr, qdict_get_str(qdict, key)); in append_field()
367 qstring_append_int(outstr, qdict_get_int(qdict, key)); in append_field()
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()
Dqemu-option.h127 QemuOpts *qemu_opts_from_qdict(QemuOptsList *list, const QDict *qdict);
128 QDict *qemu_opts_to_qdict(QemuOpts *opts, QDict *qdict);
Dblock.c1560 QDict *qdict = qobject_to_qdict(qdict_get(bs_dict, "inserted")); in bdrv_print_dict() local
1563 monitor_print_filename(mon, qdict_get_str(qdict, "file")); in bdrv_print_dict()
1564 if (qdict_haskey(qdict, "backing_file")) { in bdrv_print_dict()
1566 monitor_print_filename(mon, qdict_get_str(qdict, "backing_file")); in bdrv_print_dict()
1569 qdict_get_bool(qdict, "ro"), in bdrv_print_dict()
1570 qdict_get_str(qdict, "drv"), in bdrv_print_dict()
1571 qdict_get_bool(qdict, "encrypted")); in bdrv_print_dict()
1622 QDict *qdict = qobject_to_qdict(obj); in bdrv_info() local
1623 qdict_put(qdict, "backing_file", in bdrv_info()
1637 QDict *qdict; in bdrv_stats_iter() local
[all …]
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()
Dconsole.h94 void do_mouse_set(Monitor *mon, const QDict *qdict);
DMakefile.common568 qdict.c \
/external/webkit/Source/WebCore/
DChangeLog-2002-12-0311678 * kwq/qt/qdict.h:
13130 * kwq/qt/qdict.h:
14769 * src/kwq/qt/qdict.h:
17187 * src/kwq/qt/qdict.h, src/kwq/qt/qptrdict.h: Include
17460 * src/kwq/qt/qdict.h:
DChangeLog-2006-05-1031805 * khtml/editing/jsediting.h: Removed include of qdict.h.
31807 * khtml/rendering/render_frames.cpp: Removed include of qdict.h. Put file inside the
31812 * khtml/xml/DocumentImpl.h: Removed include of qdict.h, changed m_elementsById, m_idCount,
31831 * ForwardingHeaders/qdict.h: Removed.
31846 * loader/Cache.h: Removed include of qdict.h. Changed declaration of the LRUList struct
31869 * loader/CachedObject.h: Removed include of qdict.h.
31871 * loader/DocLoader.h: Removed include of qdict.h.
34614 * ForwardingHeaders/qdict.h: