/openbmc/qemu/util/ |
H A D | systemd.c | 33 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 D | keyval.c | 121 ret = qemu_strtoul(key, end, 10, &index); in key_to_index()
|
H A D | cutils.c | 618 int qemu_strtoul(const char *nptr, const char **endptr, int base, in qemu_strtoul() function
|
/openbmc/qemu/tests/unit/ |
H A D | test-cutils.c | 1605 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 …]
|
/openbmc/qemu/ |
H A D | os-posix.c | 119 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 D | qemu-img.c | 4559 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()
|
/openbmc/qemu/tools/i386/ |
H A D | qemu-vmsr-helper.c | 407 } else if (qemu_strtoul(optarg, NULL, 10, &res) == 0 && in main() 421 } else if (qemu_strtoul(optarg, NULL, 10, &res) == 0 && in main()
|
/openbmc/qemu/hw/block/ |
H A D | xen-block.c | 576 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()
|
/openbmc/qemu/system/ |
H A D | qtest.c | 465 ret = qemu_strtoul(words[1], NULL, 0, &addr); in qtest_process_command() 467 ret = qemu_strtoul(words[2], NULL, 0, &value); in qtest_process_command() 488 ret = qemu_strtoul(words[1], NULL, 0, &addr); in qtest_process_command() 660 ret = qemu_strtoul(words[3], NULL, 0, &pattern); in qtest_process_command()
|
/openbmc/qemu/include/qemu/ |
H A D | cutils.h | 157 int qemu_strtoul(const char *nptr, const char **endptr, int base,
|
/openbmc/qemu/bsd-user/ |
H A D | main.c | 346 rv = qemu_strtoul(r, &r, 0, &target_dflssiz); in main() 379 rv = qemu_strtoul(argv[optind++], NULL, 0, &guest_base); in main()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_rtas.c | 558 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()
|
/openbmc/qemu/gdbstub/ |
H A D | gdbstub.c | 671 ret = qemu_strtoul(buf, &buf, 16, &p); in read_thread_id() 683 ret = qemu_strtoul(buf, &buf, 16, &t); in read_thread_id() 757 res = qemu_strtoul(p, &p, 16, &tmp); in gdb_handle_vcont() 892 if (qemu_strtoul(curr_data, &curr_data, 16, in cmd_parse_params()
|
/openbmc/qemu/scsi/ |
H A D | qemu-pr-helper.c | 936 } else if (qemu_strtoul(optarg, NULL, 10, &res) == 0 && in main() 950 } else if (qemu_strtoul(optarg, NULL, 10, &res) == 0 && in main()
|
/openbmc/qemu/hw/xen/ |
H A D | xen-host-pci-device.c | 225 rc = qemu_strtoul(buf, &endptr, base, &value); in xen_host_pci_get_value()
|
/openbmc/qemu/hw/char/ |
H A D | xen_console.c | 541 if (qemu_strtoul(name, NULL, 10, &number) || number > INT_MAX) { in type_init()
|
/openbmc/qemu/hw/net/ |
H A D | xen_nic.c | 608 if (qemu_strtoul(name, NULL, 10, &number) || number >= INT_MAX) { in type_init()
|
/openbmc/qemu/block/ |
H A D | nvme.c | 922 if (*namespace && qemu_strtoul(namespace, NULL, 10, &ns)) { in nvme_parse_filename()
|
/openbmc/qemu/net/ |
H A D | net.c | 1417 qemu_strtoul(substrings[1], NULL, 10, &prefix_len)) in net_client_init()
|
/openbmc/qemu/tests/qtest/ |
H A D | libqtest.c | 1082 ret = qemu_strtoul(args[1], NULL, 0, &value); in qtest_in()
|
/openbmc/qemu/target/ppc/ |
H A D | cpu_init.c | 7090 if (!qemu_strtoul(name, &p, 16, &pvr)) { in ppc_cpu_class_by_name()
|