Searched refs:qnum_get_int (Results 1 – 11 of 11) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | check-qlit.c | 81 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 D | check-qdict.c | 52 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 D | check-qjson.c | 986 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 D | check-qnum.c | 87 g_assert_cmpint(qnum_get_int(qn), ==, value); in qnum_get_int_test()
|
H A D | check-block-qdict.c | 237 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 D | test-qobject-output-visitor.c | 564 g_assert_cmpint(qnum_get_int(qvalue), ==, j); in test_visitor_out_list_struct()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qnum.h | 66 int64_t qnum_get_int(const QNum *qn);
|
/openbmc/qemu/qobject/ |
H A D | qlit.c | 74 return lhs->value.qnum == qnum_get_int(qobject_to(QNum, rhs)); in qlit_equal_qobject()
|
H A D | qnum.c | 97 int64_t qnum_get_int(const QNum *qn) in qnum_get_int() function
|
H A D | qdict.c | 209 return qnum_get_int(qobject_to(QNum, qdict_get(qdict, key))); in qdict_get_int()
|
/openbmc/qemu/ |
H A D | blockdev.c | 358 int64_t length = qnum_get_int(qobject_to(QNum, entry->value)); in parse_stats_intervals()
|