Home
last modified time | relevance | path

Searched refs:qnum_get_double (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/include/qapi/qmp/
H A Dqnum.h71 double qnum_get_double(QNum *qn);
/openbmc/qemu/tests/unit/
H A Dcheck-qjson.c824 g_assert_cmpfloat(qnum_get_double(qnum), ==, in int_number()
861 g_assert_cmpfloat(qnum_get_double(qnum), ==, in uint_number()
899 g_assert_cmpfloat(qnum_get_double(qnum), ==, test_cases[i].decoded); in float_number()
1018 g_assert(qnum_get_double(qnum) == value_f); in interpolation_valid()
H A Dtest-qobject-output-visitor.c97 g_assert(qnum_get_double(qnum) == value); in test_visitor_out_number()
578 sprintf(actual, "%.6f", qnum_get_double(qvalue)); in test_visitor_out_list_struct()
/openbmc/qemu/qobject/
H A Dqnum.c148 double qnum_get_double(QNum *qn) in qnum_get_double() function
H A Dqdict.c196 return qnum_get_double(qobject_to(QNum, qdict_get(qdict, key))); in qdict_get_double()
/openbmc/qemu/qapi/
H A Dqobject-input-visitor.c573 *obj = qnum_get_double(qnum); in qobject_input_type_number()