Home
last modified time | relevance | path

Searched refs:qlit (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/qobject/
H A Dqlit.c91 QObject *qobject_from_qlit(const QLitObject *qlit) in qobject_from_qlit() argument
93 switch (qlit->type) { in qobject_from_qlit()
97 return QOBJECT(qnum_from_int(qlit->value.qnum)); in qobject_from_qlit()
99 return QOBJECT(qstring_from_str(qlit->value.qstr)); in qobject_from_qlit()
104 for (e = qlit->value.qdict; e->key; e++) { in qobject_from_qlit()
113 for (e = qlit->value.qlist; e->type != QTYPE_NONE; e++) { in qobject_from_qlit()
119 return QOBJECT(qbool_from_bool(qlit->value.qbool)); in qobject_from_qlit()
H A Dmeson.build2 'qlist.c', 'qbool.c', 'qlit.c', 'qjson.c', 'qobject.c',
/openbmc/qemu/tests/unit/
H A Dcheck-qlit.c19 static QLitObject qlit = QLIT_QDICT(((QLitDictEntry[]) { variable
58 g_assert(qlit_equal_qobject(&qlit, qobj)); in qlit_equal_qobject_test()
63 g_assert(!qlit_equal_qobject(&qlit, qobj)); in qlit_equal_qobject_test()
70 QObject *obj, *qobj = qobject_from_qlit(&qlit); in qobject_from_qlit_test()
H A Dmeson.build13 'check-qlit': [],
H A Dtest-qobject-input-visitor.c1187 const QLitObject *qlit) in do_test_visitor_in_qmp_introspect() argument
1190 QObject *obj = qobject_from_qlit(qlit); in do_test_visitor_in_qmp_introspect()
/openbmc/qemu/include/qapi/qmp/
H A Dqlit.h53 QObject *qobject_from_qlit(const QLitObject *qlit);
/openbmc/qemu/docs/devel/
H A Dqapi-code-gen.rst1931 #include "qapi/qmp/qlit.h"
/openbmc/qemu/
H A DMAINTAINERS3171 F: tests/unit/check-qlit.c