Home
last modified time | relevance | path

Searched refs:qbool (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dcheck-qjson.c915 QBool *qbool; in keyword_literal() local
920 qbool = qobject_to(QBool, obj); in keyword_literal()
921 g_assert(qbool); in keyword_literal()
922 g_assert(qbool_get_bool(qbool) == true); in keyword_literal()
928 qobject_unref(qbool); in keyword_literal()
931 qbool = qobject_to(QBool, obj); in keyword_literal()
932 g_assert(qbool); in keyword_literal()
933 g_assert(qbool_get_bool(qbool) == false); in keyword_literal()
939 qobject_unref(qbool); in keyword_literal()
965 QBool *qbool; in interpolation_valid() local
[all …]
H A Dtest-qobject-output-visitor.c78 QBool *qbool; in test_visitor_out_bool() local
82 qbool = qobject_to(QBool, visitor_get(data)); in test_visitor_out_bool()
83 g_assert(qbool); in test_visitor_out_bool()
84 g_assert(qbool_get_bool(qbool) == value); in test_visitor_out_bool()
298 QBool *qbool; in test_visitor_out_any() local
325 qbool = qobject_to(QBool, qdict_get(qdict, "boolean")); in test_visitor_out_any()
326 g_assert(qbool); in test_visitor_out_any()
327 g_assert(qbool_get_bool(qbool) == true); in test_visitor_out_any()
H A Dtest-qobject-input-visitor.c616 QBool *qbool; in test_visitor_in_any() local
642 qbool = qobject_to(QBool, qobj); in test_visitor_in_any()
643 g_assert(qbool); in test_visitor_in_any()
644 g_assert(qbool_get_bool(qbool) == true); in test_visitor_in_any()
/openbmc/qemu/include/qobject/
H A Dqlit.h25 bool qbool; member
41 { .type = QTYPE_QBOOL, .value.qbool = (val) }
/openbmc/qemu/qobject/
H A Dqlit.c72 return lhs->value.qbool == qbool_get_bool(qobject_to(QBool, rhs)); in qlit_equal_qobject()
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/qapi-schema/
H A Dempty.out10 member qbool
H A Dcomments.out10 member qbool
H A Dalternate-array.out10 member qbool
H A Dinclude-simple.out10 member qbool
H A Dindented-expr.out10 member qbool
H A Dinclude-repetition.out10 member qbool
H A Ddoc-good.out10 member qbool
H A Dqapi-schema-test.out10 member qbool
/openbmc/qemu/qapi/
H A Dqobject-input-visitor.c490 QBool *qbool; in qobject_input_type_bool() local
495 qbool = qobject_to(QBool, qobj); in qobject_input_type_bool()
496 if (!qbool) { in qobject_input_type_bool()
502 *obj = qbool_get_bool(qbool); in qobject_input_type_bool()
/openbmc/qemu/tests/qtest/
H A Dlibqtest.c42 #include "qobject/qbool.h"
1732 QBool *qbool; in qtest_get_cpu_models()
1770 qbool = qobject_to(QBool, qobj); in qtest_cb_for_every_machine()
1771 g_assert(qbool); in qtest_cb_for_every_machine()
1772 cpus[idx].deprecated = qbool_get_bool(qbool); in qtest_cb_for_every_machine()
1702 QBool *qbool; qtest_get_cpu_models() local