Lines Matching full:dict
44 static QDict *qmp_dispatch_check_obj(QDict *dict, bool allow_oob, in qmp_dispatch_check_obj() argument
52 for (ent = qdict_first(dict); ent; in qmp_dispatch_check_obj()
53 ent = qdict_next(dict, ent)) { in qmp_dispatch_check_obj()
90 return dict; in qmp_dispatch_check_obj()
107 bool qmp_is_oob(const QDict *dict) in qmp_is_oob() argument
109 return qdict_haskey(dict, "exec-oob") in qmp_is_oob()
110 && !qdict_haskey(dict, "execute"); in qmp_is_oob()
145 QDict *dict; in qmp_dispatch() local
150 dict = qobject_to(QDict, request); in qmp_dispatch()
151 if (!dict) { in qmp_dispatch()
157 id = qdict_get(dict, "id"); in qmp_dispatch()
159 if (!qmp_dispatch_check_obj(dict, allow_oob, &err)) { in qmp_dispatch()
163 command = qdict_get_try_str(dict, "execute"); in qmp_dispatch()
167 command = qdict_get_str(dict, "exec-oob"); in qmp_dispatch()
199 if (!qdict_haskey(dict, "arguments")) { in qmp_dispatch()
202 args = qdict_get_qdict(dict, "arguments"); in qmp_dispatch()