Searched refs:qlit (Results 1 – 9 of 9) sorted by relevance
91 QObject *qobject_from_qlit(const QLitObject *qlit) in qobject_from_qlit() argument93 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()
2 'qlist.c', 'qbool.c', 'qlit.c', 'qjson.c', 'qobject.c',
19 static QLitObject qlit = QLIT_QDICT(((QLitDictEntry[]) { variable58 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()
13 'check-qlit': [],
1187 const QLitObject *qlit) in do_test_visitor_in_qmp_introspect() argument1190 QObject *obj = qobject_from_qlit(qlit); in do_test_visitor_in_qmp_introspect()
53 QObject *qobject_from_qlit(const QLitObject *qlit);
1988 #include "qapi/qmp/qlit.h"
3226 F: tests/unit/check-qlit.c
[all...]