/openbmc/qemu/qobject/ |
H A D | qobject-internal.h | 15 static inline void qobject_init(QObject *obj, QType type) in qobject_init() 22 void qbool_destroy_obj(QObject *obj); 23 bool qbool_is_equal(const QObject *x, const QObject *y); 25 void qdict_destroy_obj(QObject *obj); 26 bool qdict_is_equal(const QObject *x, const QObject *y); 28 void qlist_destroy_obj(QObject *obj); 29 bool qlist_is_equal(const QObject *x, const QObject *y); 31 bool qnull_is_equal(const QObject *x, const QObject *y); 33 void qnum_destroy_obj(QObject *obj); 34 bool qnum_is_equal(const QObject *x, const QObject *y); [all …]
|
H A D | qjson.c | 27 QObject *result; 31 static void consume_json(void *opaque, QObject *json, Error *err) in consume_json() 62 static QObject *qobject_from_jsonv(const char *string, va_list *ap, in qobject_from_jsonv() 80 QObject *qobject_from_json(const char *string, Error **errp) in qobject_from_json() 90 QObject *qobject_from_vjsonf_nofail(const char *string, va_list ap) in qobject_from_vjsonf_nofail() 93 QObject *obj; in qobject_from_vjsonf_nofail() 109 QObject *qobject_from_jsonf_nofail(const char *string, ...) in qobject_from_jsonf_nofail() 111 QObject *obj; in qobject_from_jsonf_nofail() 152 const QObject *obj) in to_json() 221 GString *qobject_to_json_pretty(const QObject *obj, bool pretty) in qobject_to_json_pretty() [all …]
|
H A D | qlist.c | 42 QObject *elt; in qlist_copy() 57 void qlist_append_obj(QList *qlist, QObject *value) in qlist_append_obj() 87 QObject *qlist_pop(QList *qlist) in qlist_pop() 90 QObject *ret; in qlist_pop() 105 QObject *qlist_peek(QList *qlist) in qlist_peek() 143 bool qlist_is_equal(const QObject *x, const QObject *y) in qlist_is_equal() 169 void qlist_destroy_obj(QObject *obj) in qlist_destroy_obj()
|
H A D | qobject.c | 28 static void (*qdestroy[QTYPE__MAX])(QObject *) = { 38 void qobject_destroy(QObject *obj) in qobject_destroy() 46 static bool (*qis_equal[QTYPE__MAX])(const QObject *, const QObject *) = { 56 bool qobject_is_equal(const QObject *x, const QObject *y) in qobject_is_equal()
|
H A D | json-parser.c | 52 static QObject *parse_value(JSONParserContext *ctxt); 259 QObject *key_obj = NULL; in parse_pair() 261 QObject *value; in parse_pair() 309 static QObject *parse_object(JSONParserContext *ctxt) in parse_object() 363 static QObject *parse_array(JSONParserContext *ctxt) in parse_array() 380 QObject *obj; in parse_array() 427 static QObject *parse_keyword(JSONParserContext *ctxt) in parse_keyword() 445 static QObject *parse_interpolation(JSONParserContext *ctxt) in parse_interpolation() 453 return va_arg(*ctxt->ap, QObject *); in parse_interpolation() 481 static QObject *parse_literal(JSONParserContext *ctxt) in parse_literal() [all …]
|
H A D | qdict.c | 56 static QDictEntry *alloc_entry(const char *key, QObject *value) in alloc_entry() 72 QObject *qdict_entry_value(const QDictEntry *entry) in qdict_entry_value() 115 void qdict_put_obj(QDict *qdict, const char *key, QObject *value) in qdict_put_obj() 160 QObject *qdict_get(const QDict *qdict, const char *key) in qdict_get() 400 bool qdict_is_equal(const QObject *x, const QObject *y) in qdict_is_equal() 411 const QObject *obj_x = qdict_entry_value(e); in qdict_is_equal() 412 const QObject *obj_y = qdict_get(dict_y, qdict_entry_key(e)); in qdict_is_equal() 425 void qdict_destroy_obj(QObject *obj) in qdict_destroy_obj()
|
H A D | qbool.c | 45 bool qbool_is_equal(const QObject *x, const QObject *y) in qbool_is_equal() 54 void qbool_destroy_obj(QObject *obj) in qbool_destroy_obj()
|
H A D | block-qdict.c | 27 QObject *val; in qdict_copy_default() 57 QObject *value; in qdict_flatten_qlist() 96 QObject *value; in qdict_flatten_qdict() 225 QObject *subqobj; in qdict_array_split() 423 QObject *qdict_crumple(const QDict *src, Error **errp) in qdict_crumple() 429 QObject *dst = NULL, *child; in qdict_crumple() 548 static QObject *qdict_crumple_for_keyval_qiv(QDict *src, Error **errp) in qdict_crumple_for_keyval_qiv() 554 QObject *dst; in qdict_crumple_for_keyval_qiv() 609 QObject *subqobj; in qdict_array_entries() 695 QObject *qobj; in qdict_rename_keys() [all …]
|
H A D | qlit.c | 31 QObject *obj = qdict_get(qdict, lhs->value.qdict[i].key); in qlit_equal_qdict() 53 QObject *obj = qlist_entry_obj(e); in qlit_equal_qlist() 64 bool qlit_equal_qobject(const QLitObject *lhs, const QObject *rhs) in qlit_equal_qobject() 91 QObject *qobject_from_qlit(const QLitObject *qlit) in qobject_from_qlit()
|
H A D | qstring.c | 84 bool qstring_is_equal(const QObject *x, const QObject *y) in qstring_is_equal() 94 void qstring_destroy_obj(QObject *obj) in qstring_destroy_obj()
|
H A D | qnull.c | 28 bool qnull_is_equal(const QObject *x, const QObject *y) in qnull_is_equal()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qobject.h | 44 struct QObject { struct 55 _obj ? container_of(&_obj->base, QObject, base) : NULL; \ 73 static inline void qobject_ref_impl(QObject *obj) in qobject_ref_impl() 87 bool qobject_is_equal(const QObject *x, const QObject *y); 93 void qobject_destroy(QObject *obj); 95 static inline void qobject_unref_impl(QObject *obj) in qobject_unref_impl() 124 static inline QType qobject_type(const QObject *obj) in qobject_type() 135 static inline QObject *qobject_check_type(const QObject *obj, QType type) in qobject_check_type() 138 return (QObject *)obj; in qobject_check_type()
|
H A D | qjson.h | 17 QObject *qobject_from_json(const char *string, Error **errp); 19 QObject *qobject_from_vjsonf_nofail(const char *string, va_list ap) 21 QObject *qobject_from_jsonf_nofail(const char *string, ...) 28 GString *qobject_to_json(const QObject *obj); 29 GString *qobject_to_json_pretty(const QObject *obj, bool pretty);
|
H A D | qlist.h | 20 QObject *value; 46 static inline QObject *qlist_entry_obj(const QListEntry *entry) in qlist_entry_obj() 53 void qlist_append_obj(QList *qlist, QObject *obj); 54 QObject *qlist_pop(QList *qlist); 55 QObject *qlist_peek(QList *qlist);
|
H A D | qdict.h | 23 QObject *value; 40 QObject *qdict_entry_value(const QDictEntry *entry); 42 void qdict_put_obj(QDict *qdict, const char *key, QObject *value); 45 QObject *qdict_get(const QDict *qdict, const char *key);
|
/openbmc/qemu/qapi/ |
H A D | qobject-input-visitor.c | 35 QObject *obj; /* QDict or QList being visited */ 49 QObject *root; 119 static QObject *qobject_input_try_get_object(QObjectInputVisitor *qiv, in qobject_input_try_get_object() 124 QObject *qobj; in qobject_input_try_get_object() 125 QObject *ret; in qobject_input_try_get_object() 164 static QObject *qobject_input_get_object(QObjectInputVisitor *qiv, in qobject_input_get_object() 168 QObject *obj = qobject_input_try_get_object(qiv, name, consume); in qobject_input_get_object() 180 QObject *qobj; in qobject_input_get_keyval() 209 QObject *obj, void *qapi) in qobject_input_push() 282 QObject *qobj = qobject_input_get_object(qiv, name, true, errp); in qobject_input_start_struct() [all …]
|
H A D | qobject-output-visitor.c | 28 QObject *value; 37 QObject *root; /* Root of the output visit */ 38 QObject **result; /* User's storage location for result */ 52 static void qobject_output_push_obj(QObjectOutputVisitor *qov, QObject *value, in qobject_output_push_obj() 65 static QObject *qobject_output_pop(QObjectOutputVisitor *qov, void *qapi) in qobject_output_pop() 68 QObject *value; in qobject_output_pop() 83 QObject *value) in qobject_output_add_obj() 86 QObject *cur = e ? e->value : NULL; in qobject_output_add_obj() 122 QObject *value = qobject_output_pop(qov, obj); in qobject_output_end_struct() 147 QObject *value = qobject_output_pop(qov, obj); in qobject_output_end_list() [all …]
|
H A D | qmp-dispatch.c | 28 Visitor *qobject_input_visitor_new_qmp(QObject *obj) in qobject_input_visitor_new_qmp() 36 Visitor *qobject_output_visitor_new_qmp(QObject **result) in qobject_output_visitor_new_qmp() 50 const QObject *arg_obj; in qmp_dispatch_check_obj() 117 QObject **ret; 137 QDict *coroutine_mixed_fn qmp_dispatch(const QmpCommandList *cmds, QObject *request, in qmp_dispatch() 146 QObject *id; in qmp_dispatch() 147 QObject *ret = NULL; in qmp_dispatch()
|
/openbmc/qemu/tests/unit/ |
H A D | check-qjson.c | 914 QObject *obj; in keyword_literal() 964 QObject *value_p = QOBJECT(qnull()); in interpolation_valid() 968 QObject *qobj; in interpolation_valid() 1085 QObject *obj; in simple_dict() 1143 QObject *obj; in large_dict() 1194 QObject *obj; in simple_list() 1256 QObject *obj; in simple_whitespace() 1275 QObject *embedded_obj; in simple_interpolation() 1276 QObject *obj; in simple_interpolation() 1298 QObject *obj; in empty_input() [all …]
|
H A D | check-qlit.c | 37 static QObject *make_qobject(void) in make_qobject() 56 QObject *qobj = make_qobject(); in qlit_equal_qobject_test() 70 QObject *obj, *qobj = qobject_from_qlit(&qlit); in qobject_from_qlit_test()
|
/openbmc/qemu/util/ |
H A D | keyval.c | 145 static QObject *keyval_parse_put(QDict *cur, in keyval_parse_put() 150 QObject *old, *new; in keyval_parse_put() 193 QObject *next; in keyval_parse_one() 326 QObject *old_value; in keyval_do_merge() 402 static QObject *keyval_listify(QDict *cur, GSList *key_of_cur, Error **errp) in keyval_listify() 408 QObject *val; in keyval_listify() 411 QObject **elt; in keyval_listify() 457 elt = g_new0(QObject *, nelt); in keyval_listify() 524 QObject *listified; in keyval_parse_into()
|
/openbmc/qemu/qom/ |
H A D | qom-qobject.c | 21 const char *name, QObject *value, in object_property_set_qobject() 33 QObject *object_property_get_qobject(Object *obj, const char *name, in object_property_get_qobject() 36 QObject *ret = NULL; in object_property_get_qobject()
|
/openbmc/qemu/monitor/ |
H A D | qmp.c | 67 QObject *req; 134 const QObject *data = QOBJECT(rsp); in qmp_send_response() 163 static void monitor_qmp_dispatch(MonitorQMP *mon, QObject *req) in monitor_qmp_dispatch() 328 QObject *id = qdict ? qdict_get(qdict, "id") : NULL; in monitor_qmp_dispatcher_co() 364 static void handle_qmp_command(void *opaque, QObject *req, Error *err) in handle_qmp_command() 381 QObject *id = qdict_get(qdict, "id"); in handle_qmp_command() 438 QObject *ver = NULL; in qmp_greeting()
|
/openbmc/qemu/include/qom/ |
H A D | qom-qobject.h | 25 struct QObject *object_property_get_qobject(Object *obj, const char *name, 40 const char *name, struct QObject *value,
|
/openbmc/qemu/include/qapi/ |
H A D | qobject-input-visitor.h | 59 Visitor *qobject_input_visitor_new(QObject *obj); 68 Visitor *qobject_input_visitor_new_keyval(QObject *obj);
|