Searched refs:qbool_get_bool (Results 1 – 16 of 16) sorted by relevance
/openbmc/qemu/include/qapi/qmp/ |
H A D | qbool.h | 29 bool qbool_get_bool(const QBool *qb);
|
/openbmc/qemu/qobject/ |
H A D | qbool.c | 37 bool qbool_get_bool(const QBool *qb) in qbool_get_bool() function
|
H A D | qdict.c | 222 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 D | qlit.c | 72 return lhs->value.qbool == qbool_get_bool(qobject_to(QBool, rhs)); in qlit_equal_qobject()
|
H A D | qjson.c | 213 json_writer_bool(writer, name, qbool_get_bool(val)); in to_json()
|
H A D | block-qdict.c | 570 s = qbool_get_bool(qobject_to(QBool, ent->value)) in qdict_crumple_for_keyval_qiv()
|
/openbmc/qemu/tests/unit/ |
H A D | check-qlit.c | 87 g_assert(qbool_get_bool(qobject_to(QBool, obj))); in qobject_from_qlit_test()
|
H A D | check-qjson.c | 922 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 D | test-qobject-output-visitor.c | 84 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 D | test-qobject-input-visitor.c | 644 g_assert(qbool_get_bool(qbool) == true); in test_visitor_in_any()
|
/openbmc/qemu/tests/qtest/ |
H A D | test-x86-cpuid-compat.c | 40 bool b = qbool_get_bool(value); in qom_get_bool()
|
H A D | libqtest.c | 1611 cpus[idx].deprecated = qbool_get_bool(qbool); in qtest_get_cpu_models()
|
/openbmc/qemu/qapi/ |
H A D | qobject-input-visitor.c | 502 *obj = qbool_get_bool(qbool); in qobject_input_type_bool()
|
/openbmc/qemu/block/ |
H A D | qapi.c | 805 qemu_printf("%s", qbool_get_bool(value) ? "true" : "false"); in dump_qobject()
|
/openbmc/qemu/util/ |
H A D | qemu-option.c | 973 qbool_get_bool(qobject_to(QBool, obj)) ? "on" : "off"); in qemu_opts_from_qdict_entry()
|
/openbmc/qemu/qom/ |
H A D | object.c | 1547 retval = qbool_get_bool(qbool); in object_property_get_bool()
|