Searched refs:qnum_from_int (Results 1 – 13 of 13) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | check-qnum.c | 30 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 D | check-qobject.c | 84 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 D | check-qlist.c | 41 qi = qnum_from_int(42); in qlist_append_test()
|
H A D | test-qobject-output-visitor.c | 303 qobj = QOBJECT(qnum_from_int(-42)); in test_visitor_out_any()
|
/openbmc/qemu/scripts/coccinelle/ |
H A D | qobject.cocci | 15 - qdict_put(Obj, Key, qnum_from_int(E)); 36 - qlist_append(Obj, qnum_from_int(E));
|
/openbmc/qemu/qobject/ |
H A D | json-parser.c | 457 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 D | qlit.c | 97 return QOBJECT(qnum_from_int(qlit->value.qnum)); in qobject_from_qlit()
|
H A D | qlist.c | 69 qlist_append(qlist, qnum_from_int(value)); in qlist_append_int()
|
H A D | qnum.c | 24 QNum *qnum_from_int(int64_t value) in qnum_from_int() function
|
H A D | qdict.c | 136 qdict_put(qdict, key, qnum_from_int(value)); in qdict_put_int()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qnum.h | 61 QNum *qnum_from_int(int64_t value);
|
/openbmc/qemu/qapi/ |
H A D | qobject-output-visitor.c | 155 qobject_output_add(qov, name, qnum_from_int(*obj)); in qobject_output_type_int64()
|
/openbmc/qemu/qom/ |
H A D | object.c | 1565 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()
|