Home
last modified time | relevance | path

Searched refs:qemu_strtoul (Results 1 – 20 of 20) sorted by relevance

/qemu/util/
H A Dsystemd.c33 err = qemu_strtoul(s, NULL, 10, &pid); in check_socket_activation()
45 err = qemu_strtoul(s, NULL, 10, &nr_fds); in check_socket_activation()
H A Dkeyval.c121 ret = qemu_strtoul(key, end, 10, &index); in key_to_index()
H A Dcutils.c618 int qemu_strtoul(const char *nptr, const char **endptr, int base, in qemu_strtoul() function
/qemu/tests/unit/
H A Dtest-cutils.c1605 err = qemu_strtoul(str, &endptr, 0, &res); in test_qemu_strtoul_correct()
1634 err = qemu_strtoul(str, &endptr, 0, &res); in test_qemu_strtoul_empty()
1649 err = qemu_strtoul(str, &endptr, 0, &res); in test_qemu_strtoul_whitespace()
1921 err = qemu_strtoul(str, NULL, 0, &res); in test_qemu_strtoul_full_correct()
1932 err = qemu_strtoul(NULL, NULL, 0, &res); in test_qemu_strtoul_full_null()
1944 err = qemu_strtoul(str, NULL, 0, &res); in test_qemu_strtoul_full_empty()
1956 err = qemu_strtoul(str, NULL, 0, &res); in test_qemu_strtoul_full_negative()
1967 err = qemu_strtoul(str, NULL, 0, &res); in test_qemu_strtoul_full_negzero()
1978 err = qemu_strtoul(str, NULL, 0, &res); in test_qemu_strtoul_full_trailing()
1990 err = qemu_strtoul(str, NULL, 0, &res); in test_qemu_strtoul_full_max()
[all …]
/qemu/
H A Dos-posix.c119 rc = qemu_strtoul(user_id, &ep, 0, &lv); in os_set_runas()
125 rc = qemu_strtoul(ep + 1, 0, 0, &lv); in os_set_runas()
H A Dqemu-img.c4559 if (qemu_strtoul(optarg, NULL, 0, &res) < 0 || res > INT_MAX) { in img_bench()
4570 if (qemu_strtoul(optarg, NULL, 0, &res) < 0 || res > INT_MAX) { in img_bench()
4646 if (qemu_strtoul(optarg, NULL, 0, &res) < 0 || res > 0xff) { in img_bench()
4657 if (qemu_strtoul(optarg, NULL, 0, &res) < 0 || res > INT_MAX) { in img_bench()
/qemu/hw/block/
H A Dxen-block.c576 if (qemu_strtoul(p, &end, 10, &vdev->disk)) { in xen_block_set_vdev()
594 if (qemu_strtoul(p, &end, 10, &vdev->partition)) { in xen_block_set_vdev()
938 if (!qemu_strtoul(direct_io_safe, NULL, 2, &value) && !!value) { in xen_block_drive_create()
951 if (!qemu_strtoul(discard_enable, NULL, 2, &value) && !!value) { in xen_block_drive_create()
1038 if (qemu_strtoul(name, NULL, 10, &number)) { in xen_block_device_create()
/qemu/system/
H A Dqtest.c497 ret = qemu_strtoul(words[1], NULL, 0, &addr); in qtest_process_command()
499 ret = qemu_strtoul(words[2], NULL, 0, &value); in qtest_process_command()
520 ret = qemu_strtoul(words[1], NULL, 0, &addr); in qtest_process_command()
692 ret = qemu_strtoul(words[3], NULL, 0, &pattern); in qtest_process_command()
/qemu/include/qemu/
H A Dcutils.h157 int qemu_strtoul(const char *nptr, const char **endptr, int base,
/qemu/bsd-user/
H A Dmain.c362 rv = qemu_strtoul(r, &r, 0, &target_dflssiz); in main()
395 rv = qemu_strtoul(argv[optind++], NULL, 0, &guest_base); in main()
/qemu/hw/ppc/
H A Dspapr_rtas.c558 rc = qemu_strtoul(words[2], NULL, 0, &nargs); in spapr_qtest_callback()
562 rc = qemu_strtoul(words[4], NULL, 0, &nret); in spapr_qtest_callback()
/qemu/gdbstub/
H A Dgdbstub.c657 ret = qemu_strtoul(buf, &buf, 16, &p); in read_thread_id()
669 ret = qemu_strtoul(buf, &buf, 16, &t); in read_thread_id()
743 res = qemu_strtoul(p, &p, 16, &tmp); in gdb_handle_vcont()
878 if (qemu_strtoul(curr_data, &curr_data, 16, in cmd_parse_params()
/qemu/scsi/
H A Dqemu-pr-helper.c936 } else if (qemu_strtoul(optarg, NULL, 10, &res) == 0 && in main()
950 } else if (qemu_strtoul(optarg, NULL, 10, &res) == 0 && in main()
/qemu/hw/xen/
H A Dxen-host-pci-device.c163 rc = qemu_strtoul(buf, &endptr, base, &value); in xen_host_pci_get_value()
/qemu/hw/char/
H A Dxen_console.c541 if (qemu_strtoul(name, NULL, 10, &number) || number > INT_MAX) { in type_init()
/qemu/hw/net/
H A Dxen_nic.c608 if (qemu_strtoul(name, NULL, 10, &number) || number >= INT_MAX) { in type_init()
/qemu/block/
H A Dnvme.c922 if (*namespace && qemu_strtoul(namespace, NULL, 10, &ns)) { in nvme_parse_filename()
/qemu/net/
H A Dnet.c1398 qemu_strtoul(substrings[1], NULL, 10, &prefix_len)) in net_client_init()
/qemu/tests/qtest/
H A Dlibqtest.c1075 ret = qemu_strtoul(args[1], NULL, 0, &value); in qtest_in()
/qemu/target/ppc/
H A Dcpu_init.c7087 if (!qemu_strtoul(name, &p, 16, &pvr)) { in ppc_cpu_class_by_name()