Home
last modified time | relevance | path

Searched refs:qemu_strtoi (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-cutils.c306 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_correct()
335 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_empty()
350 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_whitespace()
365 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_invalid()
648 err = qemu_strtoi(str, NULL, 0, &res); in test_qemu_strtoi_full_correct()
674 err = qemu_strtoi(str, NULL, 0, &res); in test_qemu_strtoi_full_empty()
686 err = qemu_strtoi(str, NULL, 0, &res); in test_qemu_strtoi_full_negative()
698 err = qemu_strtoi(str, NULL, 0, &res); in test_qemu_strtoi_full_negzero()
710 err = qemu_strtoi(str, NULL, 0, &res); in test_qemu_strtoi_full_trailing()
722 err = qemu_strtoi(str, NULL, 0, &res); in test_qemu_strtoi_full_max()
[all …]
/openbmc/qemu/ui/
H A Dinput-barrier.c596 err = qemu_strtoi(value, NULL, 0, &result); in input_barrier_set_x_origin()
618 err = qemu_strtoi(value, NULL, 0, &result); in input_barrier_set_y_origin()
640 err = qemu_strtoi(value, NULL, 0, &result); in input_barrier_set_width()
662 err = qemu_strtoi(value, NULL, 0, &result); in input_barrier_set_height()
H A Dui-hmp-cmds.c379 if (qemu_strtoi(keys, &endp, 0, &value) < 0) { in hmp_sendkey()
/openbmc/qemu/include/qemu/
H A Dcutils.h151 int qemu_strtoi(const char *nptr, const char **endptr, int base,
/openbmc/qemu/util/
H A Dqemu-coroutine.c378 qemu_strtoi(contents, NULL, 10, &max_map_count) == 0) { in get_global_pool_hard_max_size()
H A Dcutils.c448 int qemu_strtoi(const char *nptr, const char **endptr, int base, in qemu_strtoi() function
H A Dqemu-sockets.c1148 if (qemu_strtoi(fdstr, NULL, 10, &fd) < 0) { in socket_get_fd()
/openbmc/qemu/net/
H A Dslirp.c767 if (qemu_strtoi(p, NULL, 10, &host_port)) { in hmp_hostfwd_remove()
836 err = qemu_strtoi(buf, &end, 0, &host_port); in slirp_hostfwd()
852 err = qemu_strtoi(p, &end, 0, &guest_port); in slirp_hostfwd()
/openbmc/qemu/system/
H A Dqtest.c447 ret = qemu_strtoi(words[3], NULL, 0, &num); in qtest_process_command()
449 ret = qemu_strtoi(words[4], NULL, 0, &level); in qtest_process_command()
/openbmc/qemu/tests/fp/
H A Dfp-test.c864 if (qemu_strtoi(optarg, NULL, 0, &test_level)) { in parse_args()
/openbmc/qemu/
H A Dqemu-nbd.c747 if (qemu_strtoi(optarg, NULL, 0, &shared) < 0 || in main()