Home
last modified time | relevance | path

Searched refs:qnum_get_int (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dcheck-qlit.c81 g_assert_cmpint(qnum_get_int(qobject_to(QNum, obj)), ==, 43); in qobject_from_qlit_test()
84 g_assert_cmpint(qnum_get_int(qobject_to(QNum, obj)), ==, 44); in qobject_from_qlit_test()
H A Dcheck-qdict.c52 g_assert_cmpint(qnum_get_int(qn), ==, num); in qdict_put_obj_test()
82 g_assert_cmpint(qnum_get_int(qn), ==, value); in qdict_get_test()
H A Dcheck-qjson.c986 g_assert_cmpint(qnum_get_int(qnum), ==, value_d); in interpolation_valid()
990 g_assert_cmpint(qnum_get_int(qnum), ==, value_ld); in interpolation_valid()
994 g_assert_cmpint(qnum_get_int(qnum), ==, value_lld); in interpolation_valid()
998 g_assert_cmpint(qnum_get_int(qnum), ==, value_lld); in interpolation_valid()
H A Dcheck-qnum.c87 g_assert_cmpint(qnum_get_int(qn), ==, value); in qnum_get_int_test()
H A Dcheck-block-qdict.c237 g_assert_cmpint(qnum_get_int(int1), ==, 66); in qdict_array_split_test()
289 g_assert_cmpint(qnum_get_int(int1), ==, 42); in qdict_array_split_test()
H A Dtest-qobject-output-visitor.c564 g_assert_cmpint(qnum_get_int(qvalue), ==, j); in test_visitor_out_list_struct()
/openbmc/qemu/include/qapi/qmp/
H A Dqnum.h66 int64_t qnum_get_int(const QNum *qn);
/openbmc/qemu/qobject/
H A Dqlit.c74 return lhs->value.qnum == qnum_get_int(qobject_to(QNum, rhs)); in qlit_equal_qobject()
H A Dqnum.c97 int64_t qnum_get_int(const QNum *qn) in qnum_get_int() function
H A Dqdict.c209 return qnum_get_int(qobject_to(QNum, qdict_get(qdict, key))); in qdict_get_int()
/openbmc/qemu/
H A Dblockdev.c358 int64_t length = qnum_get_int(qobject_to(QNum, entry->value)); in parse_stats_intervals()