/openbmc/qemu/tests/unit/ |
H A D | check-block-qdict.c | 112 g_assert(qdict_get_int(root, "e.0") == 42); in qdict_flatten_test() 113 g_assert(qdict_get_int(root, "e.1.0") == 23); in qdict_flatten_test() 114 g_assert(qdict_get_int(root, "e.1.1") == 66); in qdict_flatten_test() 115 g_assert(qdict_get_int(root, "e.1.2.a") == 0); in qdict_flatten_test() 116 g_assert(qdict_get_int(root, "e.1.2.b") == 1); in qdict_flatten_test() 117 g_assert(qdict_get_int(root, "f.c") == 2); in qdict_flatten_test() 118 g_assert(qdict_get_int(root, "f.d") == 3); in qdict_flatten_test() 119 g_assert(qdict_get_int(root, "g") == 4); in qdict_flatten_test() 148 g_assert(qdict_get_int(dict1, "a.b") == 42); in qdict_clone_flatten_test() 154 g_assert(qdict_get_int(dict2, "b") == 42); in qdict_clone_flatten_test() [all …]
|
H A D | test-qga.c | 178 v = qdict_get_int(ret, "return"); in test_qga_sync_delimited() 206 v = qdict_get_int(ret, "return"); in test_qga_sync() 228 g_assert_cmpint(qdict_get_int(ret, "id"), ==, 1); in test_qga_id() 349 size = qdict_get_int(val, "size"); in test_qga_get_memory_block_info() 412 id = qdict_get_int(ret, "return"); in test_qga_file_ops() 425 count = qdict_get_int(val, "count"); in test_qga_file_ops() 461 id = qdict_get_int(ret, "return"); in test_qga_file_ops() 470 count = qdict_get_int(val, "count"); in test_qga_file_ops() 486 count = qdict_get_int(val, "count"); in test_qga_file_ops() 502 count = qdict_get_int(val, "position"); in test_qga_file_ops() [all …]
|
H A D | test-qobject-output-visitor.c | 157 g_assert_cmpint(qdict_get_int(qdict, "integer"), ==, 42); in test_visitor_out_struct() 206 g_assert_cmpint(qdict_get_int(userdef, "integer"), ==, value); in test_visitor_out_struct_nested() 214 g_assert_cmpint(qdict_get_int(userdef, "integer"), ==, value); in test_visitor_out_struct_nested() 257 g_assert_cmpint(qdict_get_int(qdict, "integer"), ==, value_int + i); in test_visitor_out_list() 349 g_assert_cmpint(qdict_get_int(qdict, "integer"), ==, 41); in test_visitor_out_union_flat() 371 g_assert_cmpint(qdict_get_int(qdict, "integer"), ==, 42); in test_visitor_out_union_in_union() 389 g_assert_cmpint(qdict_get_int(qdict, "integer"), ==, 1729); in test_visitor_out_union_in_union() 390 g_assert_cmpint(qdict_get_int(qdict, "size"), ==, 87539319); in test_visitor_out_union_in_union() 405 g_assert_cmpint(qdict_get_int(qdict, "integer"), ==, 1729); in test_visitor_out_union_in_union() 466 g_assert_cmpint(qdict_get_int(qdict, "integer"), ==, 1); in test_visitor_out_alternate()
|
H A D | check-qdict.c | 96 ret = qdict_get_int(tests_dict, key); in qdict_get_int_test() 244 value = qdict_get_int(tests_dict, key); in qdict_put_exists_test()
|
H A D | check-qlit.c | 75 g_assert_cmpint(qdict_get_int(qdict, "foo"), ==, 42); in qobject_from_qlit_test()
|
H A D | test-qmp-cmds.c | 255 assert(qdict_get_int(ret_dict_dict_userdef, "integer") == 42); in test_dispatch_cmd_io() 260 assert(qdict_get_int(ret_dict_dict2_userdef, "integer") == 422); in test_dispatch_cmd_io()
|
/openbmc/qemu/tests/qtest/ |
H A D | numa-test.c | 104 cpu_idx = qdict_get_int(cpu, "cpu-index"); in test_query_cpus() 107 node = qdict_get_int(props, "node-id"); in test_query_cpus() 148 node = qdict_get_int(props, "node-id"); in pc_numa_cpu() 150 socket = qdict_get_int(props, "socket-id"); in pc_numa_cpu() 152 core = qdict_get_int(props, "core-id"); in pc_numa_cpu() 154 thread = qdict_get_int(props, "thread-id"); in pc_numa_cpu() 201 node = qdict_get_int(props, "node-id"); in spapr_numa_cpu() 203 core = qdict_get_int(props, "core-id"); in spapr_numa_cpu() 245 node = qdict_get_int(props, "node-id"); in aarch64_numa_cpu() 247 socket = qdict_get_int(props, "socket-id"); in aarch64_numa_cpu() [all …]
|
H A D | stm32l4x5.h | 37 clock_period = qdict_get_int(r, "return"); in get_clock_period()
|
H A D | emc141x-test.c | 26 ret = qdict_get_int(response, "return"); in qmp_emc1414_get_temperature()
|
H A D | test-x86-cpuid-compat.c | 126 uint32_t reax = qdict_get_int(w, "cpuid-input-eax"); in get_feature_word() 132 recx = qdict_get_int(w, "cpuid-input-ecx"); in get_feature_word()
|
H A D | lsm303dlhc-mag-test.c | 35 ret = qdict_get_int(response, "return"); in qmp_lsm303dlhc_mag_get_property()
|
H A D | tmp105-test.c | 29 ret = qdict_get_int(response, "return"); in qmp_tmp105_get_temperature()
|
/openbmc/qemu/monitor/ |
H A D | hmp-cmds-target.c | 234 int count = qdict_get_int(qdict, "count"); in hmp_memory_dump() 235 int format = qdict_get_int(qdict, "format"); in hmp_memory_dump() 236 int size = qdict_get_int(qdict, "size"); in hmp_memory_dump() 237 target_long addr = qdict_get_int(qdict, "addr"); in hmp_memory_dump() 244 int count = qdict_get_int(qdict, "count"); in hmp_physical_memory_dump() 245 int format = qdict_get_int(qdict, "format"); in hmp_physical_memory_dump() 246 int size = qdict_get_int(qdict, "size"); in hmp_physical_memory_dump() 247 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_physical_memory_dump() 283 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_gpa2hva() 303 target_ulong addr = qdict_get_int(qdict, "addr"); in hmp_gva2gpa() [all …]
|
H A D | hmp-cmds.c | 135 cpu_index = qdict_get_int(qdict, "index"); in hmp_cpu() 301 int format = qdict_get_int(qdict, "format"); in hmp_print() 302 hwaddr val = qdict_get_int(qdict, "val"); in hmp_print() 329 uint32_t start = qdict_get_int(qdict, "start"); in hmp_sum() 330 uint32_t size = qdict_get_int(qdict, "size"); in hmp_sum() 345 int size = qdict_get_int(qdict, "size"); in hmp_ioport_read() 346 int addr = qdict_get_int(qdict, "addr"); in hmp_ioport_read() 352 int index = qdict_get_int(qdict, "index"); in hmp_ioport_read() 379 int size = qdict_get_int(qdict, "size"); in hmp_ioport_write() 380 int addr = qdict_get_int(qdict, "addr"); in hmp_ioport_write() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | machine-hmp-cmds.c | 199 uint32_t size = qdict_get_int(qdict, "size"); in hmp_memsave() 201 uint64_t addr = qdict_get_int(qdict, "val"); in hmp_memsave() 216 uint32_t size = qdict_get_int(qdict, "size"); in hmp_pmemsave() 218 uint64_t addr = qdict_get_int(qdict, "val"); in hmp_pmemsave() 243 int64_t value = qdict_get_int(qdict, "value"); in hmp_balloon()
|
/openbmc/qemu/dump/ |
H A D | dump-hmp-cmds.c | 69 begin = qdict_get_int(qdict, "begin"); in hmp_dump_guest_memory() 72 length = qdict_get_int(qdict, "length"); in hmp_dump_guest_memory()
|
/openbmc/qemu/block/monitor/ |
H A D | block-hmp-cmds.c | 290 int64_t value = qdict_get_int(qdict, "speed"); in hmp_block_job_set_speed() 486 int64_t size = qdict_get_int(qdict, "size"); in hmp_block_resize() 513 .bps = qdict_get_int(qdict, "bps"), in hmp_block_set_io_throttle() 514 .bps_rd = qdict_get_int(qdict, "bps_rd"), in hmp_block_set_io_throttle() 515 .bps_wr = qdict_get_int(qdict, "bps_wr"), in hmp_block_set_io_throttle() 516 .iops = qdict_get_int(qdict, "iops"), in hmp_block_set_io_throttle() 517 .iops_rd = qdict_get_int(qdict, "iops_rd"), in hmp_block_set_io_throttle() 518 .iops_wr = qdict_get_int(qdict, "iops_wr"), in hmp_block_set_io_throttle()
|
/openbmc/qemu/target/i386/ |
H A D | monitor.c | 582 int cpu_index = qdict_get_int(qdict, "cpu_index"); in hmp_mce() 583 int bank = qdict_get_int(qdict, "bank"); in hmp_mce() 584 uint64_t status = qdict_get_int(qdict, "status"); in hmp_mce() 585 uint64_t mcg_status = qdict_get_int(qdict, "mcg_status"); in hmp_mce() 586 uint64_t addr = qdict_get_int(qdict, "addr"); in hmp_mce() 587 uint64_t misc = qdict_get_int(qdict, "misc"); in hmp_mce()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-hmp-cmds.c | 191 int queue = qdict_get_int(qdict, "queue"); in hmp_vhost_queue_status() 227 int queue = qdict_get_int(qdict, "queue"); in hmp_virtio_queue_status() 272 int queue = qdict_get_int(qdict, "queue"); in hmp_virtio_queue_element()
|
/openbmc/qemu/audio/ |
H A D | audio-hmp-cmds.c | 48 int n = qdict_get_int(qdict, "n"); in hmp_stopcapture()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qdict.h | 59 int64_t qdict_get_int(const QDict *qdict, const char *key);
|
/openbmc/qemu/hw/ppc/ |
H A D | pegasos2.c | 480 stl_be_phys(as, rets + 4, qdict_get_int(qd, "tm_year") + 1900); in pegasos2_rtas() 481 stl_be_phys(as, rets + 8, qdict_get_int(qd, "tm_mon") + 1); in pegasos2_rtas() 482 stl_be_phys(as, rets + 12, qdict_get_int(qd, "tm_mday")); in pegasos2_rtas() 483 stl_be_phys(as, rets + 16, qdict_get_int(qd, "tm_hour")); in pegasos2_rtas() 484 stl_be_phys(as, rets + 20, qdict_get_int(qd, "tm_min")); in pegasos2_rtas() 485 stl_be_phys(as, rets + 24, qdict_get_int(qd, "tm_sec")); in pegasos2_rtas()
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-stattrib.c | 63 uint64_t what = qdict_get_int(qdict, "mode"); in hmp_migrationmode() 78 uint64_t addr = qdict_get_int(qdict, "addr"); in hmp_info_cmma()
|
/openbmc/qemu/ui/ |
H A D | ui-hmp-cmds.c | 62 int button_state = qdict_get_int(qdict, "button_state"); in hmp_mouse_button() 76 qemu_mouse_set(qdict_get_int(qdict, "index"), &err); in hmp_mouse_set()
|
/openbmc/qemu/chardev/ |
H A D | char-hmp-cmds.c | 52 uint32_t size = qdict_get_int(qdict, "size"); in hmp_ringbuf_read()
|