Searched refs:str2int (Results 1 – 15 of 15) sorted by relevance
/openbmc/ipmitool/src/ |
H A D | ipmishell.c | 265 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 D | ipmievd.c | 728 if ( (str2int(argv[i]+8, &selwatch_timeout) != 0) || in ipmievd_main()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_main.c | 450 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 D | ipmi_firewall.c | 141 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 D | ipmi_picmg.c | 167 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 D | helper.c | 239 int str2int(const char * str, int32_t * int_ptr) in str2int() function
|
H A D | ipmi_user.c | 543 if (str2int(argv[2], &password_length) != 0 in ipmi_user_test()
|
H A D | ipmi_sol.c | 2043 if (str2int(argv[1], &cnt) != 0) { in ipmi_sol_main() 2053 if (str2int(argv[2], &interval) != 0) { in ipmi_sol_main()
|
H A D | ipmi_sunoem.c | 1205 if (str2int(s, &delay)) { in ipmi_sunoem_cli() 2045 if ((str2int(argv[2], &retries) != 0) || retries < 0) { in ipmi_sunoem_setval()
|
H A D | ipmi_lanp.c | 1255 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 D | ipmi_hpmfwupg.c | 2488 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 D | ipmi_delloem.c | 1530 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 D | ipmi_sel.c | 3067 if (str2int(countstr, &count) != 0) { in ipmi_sel_main()
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | helper.h | 79 int str2int(const char * str, int32_t * int_ptr);
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 262 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"])
|