Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-cutils.c306 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_correct()
320 err = qemu_strtoi(NULL, &endptr, 0, &res); in test_qemu_strtoi_null()
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()
380 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_trailing()
395 err = qemu_strtoi(str, &endptr, 8, &res); in test_qemu_strtoi_octal()
403 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_octal()
418 err = qemu_strtoi(str, &endptr, 10, &res); in test_qemu_strtoi_decimal()
427 err = qemu_strtoi(str, &endptr, 0, &res); in test_qemu_strtoi_decimal()
[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.c1127 if (qemu_strtoi(fdstr, NULL, 10, &fd) < 0) { in socket_get_fd()
/openbmc/qemu/net/
H A Dslirp.c776 if (qemu_strtoi(p, NULL, 10, &host_port)) { in hmp_hostfwd_remove()
845 err = qemu_strtoi(buf, &end, 0, &host_port); in slirp_hostfwd()
861 err = qemu_strtoi(p, &end, 0, &guest_port); in slirp_hostfwd()
/openbmc/qemu/linux-user/
H A Dsignal.c531 if (qemu_strtoi(s, &s, 10, &tsig) || *s++ != ' ') { in signal_table_init()
535 if (qemu_strtoi(s, &s, 10, &hsig) || *s++ != ' ') { in signal_table_init()
539 if (qemu_strtoi(s, &s, 10, &count) || (*s && *s != ',')) { in signal_table_init()
/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()