Searched refs:substring_to_idx (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | ip.c | 107 static int substring_to_idx(char *str, struct arglist *list) in substring_to_idx() function 516 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) help_exit(0); in vlan_parse_opt() 525 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) help_exit(0); in vlan_parse_opt() 533 if ((param = substring_to_idx(*argv, on_off)) == -1) help_exit(0); in vlan_parse_opt() 560 uint8_t idx = substring_to_idx(*argv, objectlist); in linkupdate() 647 if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) help_exit(0); in link_set() 938 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) in iplink() 1081 idx = substring_to_idx(*argv, cmd_objectlist); in ipaddrupdate() 1242 switch (idx = substring_to_idx(*argv, cmd_objectlist)) { in ipaddr_listflush() 1429 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) in ipaddr() [all …]
|