Home
last modified time | relevance | path

Searched refs:qnum_from_uint (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dcheck-qnum.c45 qn = qnum_from_uint(value); in qnum_from_uint_test()
99 qn = qnum_from_uint(value); in qnum_get_uint_test()
114 qn = qnum_from_uint(-1ULL); in qnum_get_uint_test()
H A Dcheck-qobject.c83 g_autoptr(QNum) u0 = qnum_from_uint(0u); in qobject_is_equal_num_test()
87 g_autoptr(QNum) um42 = qnum_from_uint((uint64_t)-42); in qobject_is_equal_num_test()
246 g_autoptr(QNum) u0 = qnum_from_uint(0u); in qobject_is_equal_conversion_test()
/openbmc/qemu/qobject/
H A Djson-parser.c465 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, unsigned int))); in parse_interpolation()
467 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, unsigned long))); in parse_interpolation()
469 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, unsigned long long))); in parse_interpolation()
471 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, uint64_t))); in parse_interpolation()
517 return QOBJECT(qnum_from_uint(uvalue)); in parse_literal()
H A Dqnum.c40 QNum *qnum_from_uint(uint64_t value) in qnum_from_uint() function
/openbmc/qemu/include/qapi/qmp/
H A Dqnum.h62 QNum *qnum_from_uint(uint64_t value);
/openbmc/qemu/qapi/
H A Dqobject-output-visitor.c163 qobject_output_add(qov, name, qnum_from_uint(*obj)); in qobject_output_type_uint64()
/openbmc/qemu/qom/
H A Dobject.c1635 object_property_set_default(prop, QOBJECT(qnum_from_uint(value))); in object_property_set_default_uint()
1641 QNum *qnum = qnum_from_uint(value); in object_property_set_uint()