Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dip.c107 static int substring_to_idx(char *str, struct arglist *list) in substring_to_idx() function
522 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) iphelp(); in vlan_parse_opt()
531 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) iphelp(); in vlan_parse_opt()
539 if ((param = substring_to_idx(*argv, on_off)) == -1) iphelp(); in vlan_parse_opt()
566 uint8_t idx = substring_to_idx(*argv, objectlist); in linkupdate()
653 if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) iphelp(); in link_set()
944 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) iphelp(); in iplink()
1086 idx = substring_to_idx(*argv, cmd_objectlist); in ipaddrupdate()
1247 switch (idx = substring_to_idx(*argv, cmd_objectlist)) { in ipaddr_listflush()
1434 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) iphelp(); in ipaddr()
[all …]