Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/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 …]
/openbmc/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()
/openbmc/qemu/tools/i386/
H A Dqemu-vmsr-helper.c407 } 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 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()
/openbmc/qemu/system/
H A Dqtest.c465 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 Dcutils.h157 int qemu_strtoul(const char *nptr, const char **endptr, int base,
/openbmc/qemu/bsd-user/
H A Dmain.c346 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 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()
/openbmc/qemu/gdbstub/
H A Dgdbstub.c671 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 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()
/openbmc/qemu/hw/xen/
H A Dxen-host-pci-device.c225 rc = qemu_strtoul(buf, &endptr, base, &value); in xen_host_pci_get_value()
/openbmc/qemu/hw/char/
H A Dxen_console.c541 if (qemu_strtoul(name, NULL, 10, &number) || number > INT_MAX) { in type_init()
/openbmc/qemu/hw/net/
H A Dxen_nic.c608 if (qemu_strtoul(name, NULL, 10, &number) || number >= INT_MAX) { in type_init()
/openbmc/qemu/block/
H A Dnvme.c922 if (*namespace && qemu_strtoul(namespace, NULL, 10, &ns)) { in nvme_parse_filename()
/openbmc/qemu/net/
H A Dnet.c1417 qemu_strtoul(substrings[1], NULL, 10, &prefix_len)) in net_client_init()
/openbmc/qemu/tests/qtest/
H A Dlibqtest.c1082 ret = qemu_strtoul(args[1], NULL, 0, &value); in qtest_in()
/openbmc/qemu/target/ppc/
H A Dcpu_init.c7090 if (!qemu_strtoul(name, &p, 16, &pvr)) { in ppc_cpu_class_by_name()