Home
last modified time | relevance | path

Searched refs:str2int (Results 1 – 15 of 15) sorted by relevance

/openbmc/ipmitool/src/
H A Dipmishell.c265 if (str2int(argv[1], &verbose) != 0) { in ipmi_set_main()
278 if (str2int(argv[1], &csv_output) != 0) { in ipmi_set_main()
362 if (str2int(argv[1], &port) != 0 || port > MAX_PORT) { in ipmi_set_main()
H A Dipmievd.c728 if ( (str2int(argv[i]+8, &selwatch_timeout) != 0) || in ipmievd_main()
/openbmc/ipmitool/lib/
H A Dipmi_main.c450 if (str2int(optarg, &devnum) != 0) { in ipmi_main()
465 if (str2int(optarg, &port) != 0) { in ipmi_main()
478 if (str2int(optarg, &cipher_suite_id) != 0) { in ipmi_main()
784 if (str2int(optarg, &retry) != 0 || retry < 0) { in ipmi_main()
H A Dipmi_firewall.c141 if (str2int(argv[i], &(p->lun)) != 0) { in ipmi_firewall_parse_args()
151 if (str2int(argv[i], &(p->netfn)) != 0) { in ipmi_firewall_parse_args()
158 if (str2int(argv[i], &(p->command)) != 0) { in ipmi_firewall_parse_args()
165 if (str2int(argv[i], &(p->subfn)) != 0) { in ipmi_firewall_parse_args()
H A Dipmi_picmg.c167 if (str2int(argv_ptr, amc_dev_ptr) == 0 && *amc_dev_ptr >= 0) { in is_amc_dev()
188 if (str2int(argv_ptr, amc_intf_ptr) == 0 && *amc_intf_ptr >= 0) { in is_amc_intf()
209 if (str2int(argv_ptr, amc_port_ptr) == 0 && *amc_port_ptr >= 0) { in is_amc_port()
H A Dhelper.c239 int str2int(const char * str, int32_t * int_ptr) in str2int() function
H A Dipmi_user.c543 if (str2int(argv[2], &password_length) != 0 in ipmi_user_test()
H A Dipmi_sol.c2043 if (str2int(argv[1], &cnt) != 0) { in ipmi_sol_main()
2053 if (str2int(argv[2], &interval) != 0) { in ipmi_sol_main()
H A Dipmi_sunoem.c1205 if (str2int(s, &delay)) { in ipmi_sunoem_cli()
2045 if ((str2int(argv[2], &retries) != 0) || retries < 0) { in ipmi_sunoem_setval()
H A Dipmi_lanp.c1255 if (str2int(string, &id) != 0) { in ipmi_lan_set_vlan_id()
1279 if (str2int(string, &priority) != 0) { in ipmi_lan_set_vlan_priority()
H A Dipmi_hpmfwupg.c2488 if (str2int(argv[i+1], &componentId) != 0 in ipmi_hpmfwupg_main()
2531 if (str2int(argv[i+1], &componentId) != 0 in ipmi_hpmfwupg_main()
H A Dipmi_delloem.c1530 if (str2int(argv[current_arg],&currIdInt) != 0) { in ipmi_delloem_mac_main()
2594 if (str2int(argv[current_arg], &val) != 0) { in ipmi_delloem_powermonitor_main()
H A Dipmi_sel.c3067 if (str2int(countstr, &count) != 0) { in ipmi_sel_main()
/openbmc/ipmitool/include/ipmitool/
H A Dhelper.h79 int str2int(const char * str, int32_t * int_ptr);
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_offload.py262 def str2int(strtab): function
1251 key = str2int(entries[i]["key"])
1253 val = str2int(entries[i]["value"])
1259 key = str2int(entry["next_key"])
1263 key = str2int(entry["next_key"])