Home
last modified time | relevance | path

Searched refs:qnum_get_try_int (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/qobject/
H A Dqnum.c72 bool qnum_get_try_int(const QNum *qn, int64_t *val) in qnum_get_try_int() function
100 bool success = qnum_get_try_int(qn, &val); in qnum_get_int()
H A Dqdict.c268 if (!qnum || !qnum_get_try_int(qnum, &val)) { in qdict_get_try_int()
/openbmc/qemu/include/qapi/qmp/
H A Dqnum.h65 bool qnum_get_try_int(const QNum *qn, int64_t *val);
/openbmc/qemu/tests/unit/
H A Dcheck-qlist.c83 g_assert(qnum_get_try_int(qi, &val)); in qlist_iter_test()
H A Dtest-qobject-output-visitor.c70 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_out_int()
307 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_out_any()
323 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_out_any()
427 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_out_alternate()
H A Dcheck-qnum.c115 g_assert(!qnum_get_try_int(qn, &ival)); in qnum_get_uint_test()
H A Dcheck-qjson.c816 g_assert(qnum_get_try_int(qnum, &ival)); in int_number()
860 g_assert(!qnum_get_try_int(qnum, &ival)); in uint_number()
900 g_assert(!qnum_get_try_int(qnum, &ival)); in float_number()
H A Dtest-qmp-cmds.c267 g_assert(qnum_get_try_int(ret3, &val)); in test_dispatch_cmd_io()
H A Dtest-qobject-input-visitor.c626 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_in_any()
638 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_in_any()
/openbmc/qemu/tests/qtest/
H A Dtest-x86-cpuid-compat.c62 g_assert(qnum_get_try_int(value, &val)); in test_cpuid_prop()
135 g_assert(qnum_get_try_int(qobject_to(QNum, in get_feature_word()
/openbmc/qemu/qapi/
H A Dqobject-input-visitor.c407 if (!qnum || !qnum_get_try_int(qnum, obj)) { in qobject_input_type_int64()
455 if (qnum_get_try_int(qnum, &val)) { in qobject_input_type_uint64()
/openbmc/qemu/qom/
H A Dobject.c1584 if (!qnum || !qnum_get_try_int(qnum, &retval)) { in object_property_get_int()