/openbmc/qemu/qobject/ |
H A D | qbool.c | 23 QBool *qbool_from_bool(bool value) in qbool_from_bool() 25 QBool *qb; in qbool_from_bool() 37 bool qbool_get_bool(const QBool *qb) in qbool_get_bool() 47 return qobject_to(QBool, x)->value == qobject_to(QBool, y)->value; in qbool_is_equal() 57 g_free(qobject_to(QBool, obj)); in qbool_destroy_obj() 60 void qbool_unref(QBool *q) in qbool_unref()
|
H A D | qdict.c | 222 return qbool_get_bool(qobject_to(QBool, qdict_get(qdict, key))); in qdict_get_bool() 284 QBool *qbool = qobject_to(QBool, qdict_get(qdict, key)); in qdict_get_try_bool()
|
H A D | qjson.c | 211 QBool *val = qobject_to(QBool, obj); in to_json()
|
H A D | qobject.c | 25 offsetof(QBool, base) != 0,
|
H A D | qlit.c | 72 return lhs->value.qbool == qbool_get_bool(qobject_to(QBool, rhs)); in qlit_equal_qobject()
|
H A D | block-qdict.c | 570 s = qbool_get_bool(qobject_to(QBool, ent->value)) in qdict_crumple_for_keyval_qiv()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qbool.h | 19 struct QBool { struct 24 void qbool_unref(QBool *q); argument 26 G_DEFINE_AUTOPTR_CLEANUP_FUNC(QBool, qbool_unref) 28 QBool *qbool_from_bool(bool value); 29 bool qbool_get_bool(const QBool *qb);
|
/openbmc/qemu/tests/unit/ |
H A D | check-qobject.c | 111 g_autoptr(QBool) btrue_0 = qbool_from_bool(true); in qobject_is_equal_bool_test() 112 g_autoptr(QBool) btrue_1 = qbool_from_bool(true); in qobject_is_equal_bool_test() 113 g_autoptr(QBool) bfalse_0 = qbool_from_bool(false); in qobject_is_equal_bool_test() 114 g_autoptr(QBool) bfalse_1 = qbool_from_bool(false); in qobject_is_equal_bool_test() 251 g_autoptr(QBool) bfalse = qbool_from_bool(false); in qobject_is_equal_conversion_test()
|
H A D | test-qobject-output-visitor.c | 78 QBool *qbool; in test_visitor_out_bool() 82 qbool = qobject_to(QBool, visitor_get(data)); in test_visitor_out_bool() 298 QBool *qbool; in test_visitor_out_any() 325 qbool = qobject_to(QBool, qdict_get(qdict, "boolean")); in test_visitor_out_any() 587 QBool *qvalue = qobject_to(QBool, qlist_entry_obj(e)); in test_visitor_out_list_struct()
|
H A D | check-qjson.c | 915 QBool *qbool; in keyword_literal() 920 qbool = qobject_to(QBool, obj); in keyword_literal() 931 qbool = qobject_to(QBool, obj); in keyword_literal() 965 QBool *qbool; in interpolation_valid() 972 qbool = qobject_to(QBool, qobject_from_jsonf_nofail("%i", false)); in interpolation_valid() 978 qbool = qobject_to(QBool, qobject_from_jsonf_nofail("%i", 2)); in interpolation_valid()
|
H A D | check-qlit.c | 87 g_assert(qbool_get_bool(qobject_to(QBool, obj))); in qobject_from_qlit_test()
|
H A D | test-qobject-input-visitor.c | 616 QBool *qbool; in test_visitor_in_any() 642 qbool = qobject_to(QBool, qobj); in test_visitor_in_any()
|
/openbmc/qemu/include/qemu/ |
H A D | typedefs.h | 89 typedef struct QBool QBool; typedef
|
/openbmc/qemu/tests/qtest/ |
H A D | test-x86-cpuid-compat.c | 39 QBool *value = qobject_to(QBool, qom_get(path, prop)); in qom_get_bool()
|
H A D | libqtest.c | 1576 QBool *qbool; in qtest_get_cpu_models() 1614 qbool = qobject_to(QBool, qobj); in qtest_get_cpu_models()
|
/openbmc/qemu/qapi/ |
H A D | qobject-input-visitor.c | 490 QBool *qbool; in qobject_input_type_bool() 495 qbool = qobject_to(QBool, qobj); in qobject_input_type_bool()
|
/openbmc/qemu/block/ |
H A D | qapi.c | 804 QBool *value = qobject_to(QBool, obj); in dump_qobject()
|
/openbmc/qemu/qom/ |
H A D | object.c | 1532 QBool *qbool = qbool_from_bool(value); in object_property_set_bool() 1543 QBool *qbool; in object_property_get_bool() 1549 qbool = qobject_to(QBool, ret); in object_property_get_bool()
|
/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()
|