| /openbmc/qemu/tests/unit/ |
| H A D | check-qjson.c | 806 QNum *qnum; in int_number() local 812 qnum = qobject_to(QNum, in int_number() 815 g_assert(qnum); in int_number() 816 g_assert(qnum_get_try_int(qnum, &ival)); in int_number() 819 g_assert(qnum_get_try_uint(qnum, &uval)); in int_number() 822 g_assert(!qnum_get_try_uint(qnum, &uval)); in int_number() 824 g_assert_cmpfloat(qnum_get_double(qnum), ==, in int_number() 827 str = qobject_to_json(QOBJECT(qnum)); in int_number() 832 qobject_unref(qnum); in int_number() 848 QNum *qnum; in uint_number() local [all …]
|
| H A D | test-qobject-output-visitor.c | 64 QNum *qnum; in test_visitor_out_int() local 68 qnum = qobject_to(QNum, visitor_get(data)); in test_visitor_out_int() 69 g_assert(qnum); in test_visitor_out_int() 70 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_out_int() 91 QNum *qnum; in test_visitor_out_number() local 95 qnum = qobject_to(QNum, visitor_get(data)); in test_visitor_out_number() 96 g_assert(qnum); in test_visitor_out_number() 97 g_assert(qnum_get_double(qnum) == value); in test_visitor_out_number() 297 QNum *qnum; in test_visitor_out_any() local 305 qnum = qobject_to(QNum, visitor_get(data)); in test_visitor_out_any() [all …]
|
| H A D | test-qobject-input-visitor.c | 615 QNum *qnum; in test_visitor_in_any() local 624 qnum = qobject_to(QNum, res); in test_visitor_in_any() 625 g_assert(qnum); in test_visitor_in_any() 626 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_in_any() 636 qnum = qobject_to(QNum, qobj); in test_visitor_in_any() 637 g_assert(qnum); in test_visitor_in_any() 638 g_assert(qnum_get_try_int(qnum, &val)); in test_visitor_in_any()
|
| H A D | meson.build | 7 'check-qnum': [],
|
| /openbmc/u-boot/arch/arm/include/asm/ti-common/ |
| H A D | keystone_nav.h | 94 void qm_push(struct qm_host_desc *hd, u32 qnum); 95 struct qm_host_desc *qm_pop(u32 qnum); 97 void qm_buff_push(struct qm_host_desc *hd, u32 qnum, 101 void queue_close(u32 qnum); 107 psloc, sopoff, qmgr, qnum) \ argument 115 ((qnum & 0xfff) << 0))
|
| /openbmc/u-boot/drivers/dma/ |
| H A D | keystone_nav.c | 100 void qm_push(struct qm_host_desc *hd, u32 qnum) in qm_push() argument 106 writel(regd, &qm_cfg->queue[qnum].ptr_size_thresh); in qm_push() 109 void qm_buff_push(struct qm_host_desc *hd, u32 qnum, in qm_buff_push() argument 116 qm_push(hd, qnum); in qm_buff_push() 119 struct qm_host_desc *qm_pop(u32 qnum) in qm_pop() argument 123 uhd = readl(&qm_cfg->queue[qnum].ptr_size_thresh) & ~0xf; in qm_pop() 135 void queue_close(u32 qnum) in queue_close() argument 139 while ((hd = qm_pop(qnum))) in queue_close()
|
| /openbmc/qemu/qapi/ |
| H A D | qobject-input-visitor.c | 401 QNum *qnum; in qobject_input_type_int64() local 406 qnum = qobject_to(QNum, qobj); in qobject_input_type_int64() 407 if (!qnum || !qnum_get_try_int(qnum, obj)) { in qobject_input_type_int64() 439 QNum *qnum; in qobject_input_type_uint64() local 445 qnum = qobject_to(QNum, qobj); in qobject_input_type_uint64() 446 if (!qnum) { in qobject_input_type_uint64() 450 if (qnum_get_try_uint(qnum, obj)) { in qobject_input_type_uint64() 455 if (qnum_get_try_int(qnum, &val)) { in qobject_input_type_uint64() 561 QNum *qnum; in qobject_input_type_number() local 566 qnum = qobject_to(QNum, qobj); in qobject_input_type_number() [all …]
|
| /openbmc/qemu/include/qobject/ |
| H A D | qlit.h | 26 int64_t qnum; member 43 { .type = QTYPE_QNUM, .value.qnum = (val) }
|
| /openbmc/qemu/qobject/ |
| H A D | qlit.c | 74 return lhs->value.qnum == qnum_get_int(qobject_to(QNum, rhs)); in qlit_equal_qobject() 97 return QOBJECT(qnum_from_int(qlit->value.qnum)); in qobject_from_qlit()
|
| H A D | meson.build | 1 util_ss.add(files('qnull.c', 'qnum.c', 'qstring.c', 'qdict.c',
|
| H A D | qdict.c | 265 QNum *qnum = qobject_to(QNum, qdict_get(qdict, key)); in qdict_get_try_int() local 268 if (!qnum || !qnum_get_try_int(qnum, &val)) { in qdict_get_try_int()
|
| /openbmc/qemu/target/hexagon/ |
| H A D | translate.h | 256 int qnum, bool has_helper) in ctx_log_qreg_read() argument 259 set_bit(qnum, ctx->insn_qregs_read); in ctx_log_qreg_read() 260 if (test_bit(qnum, ctx->insn_qregs_written)) { in ctx_log_qreg_read() 264 if (test_bit(qnum, ctx->qregs_written)) { in ctx_log_qreg_read()
|
| H A D | genptr.c | 1216 static intptr_t get_result_qreg(DisasContext *ctx, int qnum) in get_result_qreg() argument 1219 return offsetof(CPUHexagonState, future_QRegs[qnum]); in get_result_qreg() 1221 return offsetof(CPUHexagonState, QRegs[qnum]); in get_result_qreg()
|
| /openbmc/qemu/tests/qapi-schema/ |
| H A D | empty.out | 6 member qnum
|
| H A D | comments.out | 6 member qnum
|
| H A D | alternate-array.out | 6 member qnum
|
| H A D | include-simple.out | 6 member qnum
|
| H A D | indented-expr.out | 6 member qnum
|
| H A D | include-repetition.out | 6 member qnum
|
| H A D | doc-good.out | 6 member qnum
|
| H A D | qapi-schema-test.out | 6 member qnum
|
| /openbmc/qemu/qom/ |
| H A D | object.c | 1552 QNum *qnum = qnum_from_int(value); in object_property_set_int() local 1553 bool ok = object_property_set_qobject(obj, name, QOBJECT(qnum), errp); in object_property_set_int() 1555 qobject_unref(qnum); in object_property_set_int() 1563 QNum *qnum; in object_property_get_int() local 1570 qnum = qobject_to(QNum, ret); in object_property_get_int() 1571 if (!qnum || !qnum_get_try_int(qnum, &retval)) { in object_property_get_int() 1628 QNum *qnum = qnum_from_uint(value); in object_property_set_uint() local 1629 bool ok = object_property_set_qobject(obj, name, QOBJECT(qnum), errp); in object_property_set_uint() 1631 qobject_unref(qnum); in object_property_set_uint() 1639 QNum *qnum; in object_property_get_uint() local [all …]
|
| /openbmc/qemu/ui/ |
| H A D | meson.build | 154 ['qcode', 'qnum'], 156 ['qnum', 'qcode'],
|
| /openbmc/qemu/ |
| H A D | MAINTAINERS | 3401 F: tests/unit/check-qnum.c
|