Home
last modified time | relevance | path

Searched refs:qnum_from_int (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dcheck-qnum.c30 qn = qnum_from_int(value); in qnum_from_int_test()
75 qn = qnum_from_int(value); in qnum_from_int64_test()
86 qn = qnum_from_int(value); in qnum_get_int_test()
104 qn = qnum_from_int(value); in qnum_get_uint_test()
110 qn = qnum_from_int(-1); in qnum_get_uint_test()
127 qn = qnum_from_int(0); in qobject_to_qnum_test()
141 qn = qnum_from_int(123456); in qnum_to_string_test()
H A Dcheck-qobject.c84 g_autoptr(QNum) i0 = qnum_from_int(0); in qobject_is_equal_num_test()
88 g_autoptr(QNum) im42 = qnum_from_int(-42); in qobject_is_equal_num_test()
247 g_autoptr(QNum) i0 = qnum_from_int(0); in qobject_is_equal_conversion_test()
H A Dcheck-qlist.c41 qi = qnum_from_int(42); in qlist_append_test()
H A Dtest-qobject-output-visitor.c303 qobj = QOBJECT(qnum_from_int(-42)); in test_visitor_out_any()
/openbmc/qemu/scripts/coccinelle/
H A Dqobject.cocci15 - qdict_put(Obj, Key, qnum_from_int(E));
36 - qlist_append(Obj, qnum_from_int(E));
/openbmc/qemu/qobject/
H A Djson-parser.c457 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, int))); in parse_interpolation()
459 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, long))); in parse_interpolation()
461 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, long long))); in parse_interpolation()
463 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, int64_t))); in parse_interpolation()
510 return QOBJECT(qnum_from_int(value)); in parse_literal()
H A Dqlit.c97 return QOBJECT(qnum_from_int(qlit->value.qnum)); in qobject_from_qlit()
H A Dqlist.c69 qlist_append(qlist, qnum_from_int(value)); in qlist_append_int()
H A Dqnum.c24 QNum *qnum_from_int(int64_t value) in qnum_from_int() function
H A Dqdict.c136 qdict_put(qdict, key, qnum_from_int(value)); in qdict_put_int()
/openbmc/qemu/include/qapi/qmp/
H A Dqnum.h61 QNum *qnum_from_int(int64_t value);
/openbmc/qemu/qapi/
H A Dqobject-output-visitor.c155 qobject_output_add(qov, name, qnum_from_int(*obj)); in qobject_output_type_int64()
/openbmc/qemu/qom/
H A Dobject.c1565 QNum *qnum = qnum_from_int(value); in object_property_set_int()
1630 object_property_set_default(prop, QOBJECT(qnum_from_int(value))); in object_property_set_default_int()