Home
last modified time | relevance | path

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

/openbmc/qemu/include/qapi/qmp/
H A Dqbool.h29 bool qbool_get_bool(const QBool *qb);
/openbmc/qemu/qobject/
H A Dqbool.c37 bool qbool_get_bool(const QBool *qb) in qbool_get_bool() function
H A Dqdict.c222 return qbool_get_bool(qobject_to(QBool, qdict_get(qdict, key))); in qdict_get_bool()
286 return qbool ? qbool_get_bool(qbool) : def_value; in qdict_get_try_bool()
H A Dqlit.c72 return lhs->value.qbool == qbool_get_bool(qobject_to(QBool, rhs)); in qlit_equal_qobject()
H A Dqjson.c213 json_writer_bool(writer, name, qbool_get_bool(val)); in to_json()
H A Dblock-qdict.c570 s = qbool_get_bool(qobject_to(QBool, ent->value)) in qdict_crumple_for_keyval_qiv()
/openbmc/qemu/tests/unit/
H A Dcheck-qlit.c87 g_assert(qbool_get_bool(qobject_to(QBool, obj))); in qobject_from_qlit_test()
H A Dcheck-qjson.c922 g_assert(qbool_get_bool(qbool) == true); in keyword_literal()
933 g_assert(qbool_get_bool(qbool) == false); in keyword_literal()
974 g_assert(qbool_get_bool(qbool) == false); in interpolation_valid()
980 g_assert(qbool_get_bool(qbool) == true); in interpolation_valid()
H A Dtest-qobject-output-visitor.c84 g_assert(qbool_get_bool(qbool) == value); in test_visitor_out_bool()
327 g_assert(qbool_get_bool(qbool) == true); in test_visitor_out_any()
589 g_assert_cmpint(qbool_get_bool(qvalue), ==, i % 3 == 0); in test_visitor_out_list_struct()
H A Dtest-qobject-input-visitor.c644 g_assert(qbool_get_bool(qbool) == true); in test_visitor_in_any()
/openbmc/qemu/tests/qtest/
H A Dtest-x86-cpuid-compat.c40 bool b = qbool_get_bool(value); in qom_get_bool()
H A Dlibqtest.c1616 cpus[idx].deprecated = qbool_get_bool(qbool); in qtest_get_cpu_models()
/openbmc/qemu/qapi/
H A Dqobject-input-visitor.c502 *obj = qbool_get_bool(qbool); in qobject_input_type_bool()
/openbmc/qemu/util/
H A Dqemu-option.c973 qbool_get_bool(qobject_to(QBool, obj)) ? "on" : "off"); in qemu_opts_from_qdict_entry()
/openbmc/qemu/block/
H A Dqapi.c805 qemu_printf("%s", qbool_get_bool(value) ? "true" : "false"); in dump_qobject()
/openbmc/qemu/qom/
H A Dobject.c1555 retval = qbool_get_bool(qbool); in object_property_get_bool()