Home
last modified time | relevance | path

Searched refs:qemu_strtoui (Results 1 – 18 of 18) sorted by relevance

/qemu/
H A Dqemu-edid.c67 if (qemu_strtoui(optarg, NULL, 10, &info.prefx) < 0) { in main()
73 if (qemu_strtoui(optarg, NULL, 10, &info.prefy) < 0) { in main()
79 if (qemu_strtoui(optarg, NULL, 10, &info.maxx) < 0) { in main()
85 if (qemu_strtoui(optarg, NULL, 10, &info.maxy) < 0) { in main()
91 if (qemu_strtoui(optarg, NULL, 10, &dpi) < 0) { in main()
/qemu/tests/unit/
H A Dtest-cutils.c750 err = qemu_strtoui(str, &endptr, 0, &res); in test_qemu_strtoui_correct()
779 err = qemu_strtoui(str, &endptr, 0, &res); in test_qemu_strtoui_empty()
794 err = qemu_strtoui(str, &endptr, 0, &res); in test_qemu_strtoui_whitespace()
1091 err = qemu_strtoui(str, NULL, 0, &res); in test_qemu_strtoui_full_correct()
1102 err = qemu_strtoui(NULL, NULL, 0, &res); in test_qemu_strtoui_full_null()
1114 err = qemu_strtoui(str, NULL, 0, &res); in test_qemu_strtoui_full_empty()
1126 err = qemu_strtoui(str, NULL, 0, &res); in test_qemu_strtoui_full_negative()
1137 err = qemu_strtoui(str, NULL, 0, &res); in test_qemu_strtoui_full_negzero()
1148 err = qemu_strtoui(str, NULL, 0, &res); in test_qemu_strtoui_full_trailing()
1160 err = qemu_strtoui(str, NULL, 0, &res); in test_qemu_strtoui_full_max()
[all …]
/qemu/util/
H A Dselfmap.c40 errors |= qemu_strtoui(fields[3], &p, 16, &dev_maj); in read_self_maps()
41 errors |= qemu_strtoui(p + 1, NULL, 16, &dev_min); in read_self_maps()
H A Dmmap-alloc.c126 !qemu_strtoui(content, &endptr, 0, &tmp) && in map_noreserve_effective()
H A Dcutils.c504 int qemu_strtoui(const char *nptr, const char **endptr, int base, in qemu_strtoui() function
/qemu/include/qemu/
H A Dcutils.h153 int qemu_strtoui(const char *nptr, const char **endptr, int base,
/qemu/hw/pci/
H A Dpci-hmp-cmds.c187 if (qemu_strtoui(error_name, NULL, 0, &num) < 0) { in hmp_pcie_aer_inject_error()
/qemu/bsd-user/
H A Dmain.c386 if (qemu_strtoui(r, NULL, 10, &size) || size != want) { in main()
/qemu/hw/nvme/
H A Dns.c443 if (qemu_strtoui(token, &endptr, 0, &n) < 0) { in nvme_ns_init_fdp()
455 if (qemu_strtoui(token, NULL, 0, &m) < 0) { in nvme_ns_init_fdp()
/qemu/gdbstub/
H A Duser.c825 if (qemu_strtoui(p, &p, 16, &num) || (*p && *p != ';')) { in gdb_handle_set_catch_syscalls()
/qemu/linux-user/
H A Dmain.c343 if (qemu_strtoui(arg, NULL, 10, &size) || size != want) { in handle_arg_pagesize()
/qemu/tests/fp/
H A Dfp-test.c852 if (qemu_strtoui(optarg, NULL, 0, &n_max_errors)) { in parse_args()
/qemu/hw/char/
H A Descc.c914 if (!qemu_strtoui(kbd_layout, NULL, 0, &tmp)) { in sunkbd_layout_dip_switch()
/qemu/hw/block/
H A Dxen-block.c119 if (qemu_strtoui(existing_frontends[i], NULL, 10, &vdev_nr)) { in xen_block_find_free_vdev()
/qemu/hw/i386/
H A Dx86-common.c818 ret = qemu_strtoui(vmode, &end, 0, &video_mode); in x86_load_linux()
/qemu/hw/core/
H A Dqdev-properties-system.c767 ret = qemu_strtoui(endptr + 1, &endptr, 10, &rr->type); in set_reserved_region()
/qemu/block/
H A Dssh.c667 if (qemu_strtoui(s->inet->port, NULL, 10, &port) < 0) { in connect_to_ssh()
/qemu/hw/i386/kvm/
H A Dxen_xenstore.c723 if (qemu_strtoui(offset_str, NULL, 10, &offset) < 0) { in xs_directory_part()