Searched refs:qnum_get_try_int (Results 1 – 12 of 12) sorted by relevance
/openbmc/qemu/qobject/ |
H A D | qnum.c | 72 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 D | qdict.c | 268 if (!qnum || !qnum_get_try_int(qnum, &val)) { in qdict_get_try_int()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qnum.h | 65 bool qnum_get_try_int(const QNum *qn, int64_t *val);
|
/openbmc/qemu/tests/unit/ |
H A D | check-qlist.c | 83 g_assert(qnum_get_try_int(qi, &val)); in qlist_iter_test()
|
H A D | test-qobject-output-visitor.c | 70 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 D | check-qnum.c | 115 g_assert(!qnum_get_try_int(qn, &ival)); in qnum_get_uint_test()
|
H A D | check-qjson.c | 816 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 D | test-qmp-cmds.c | 267 g_assert(qnum_get_try_int(ret3, &val)); in test_dispatch_cmd_io()
|
H A D | test-qobject-input-visitor.c | 626 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 D | test-x86-cpuid-compat.c | 62 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 D | qobject-input-visitor.c | 407 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 D | object.c | 1584 if (!qnum || !qnum_get_try_int(qnum, &retval)) { in object_property_get_int()
|