• Home
  • Raw
  • Download

Lines Matching full:comma

526 /* find next comma, split string with zero and eliminate spaces.
527 return start of string following comma */
530 char *comma, *p; in split_chr() local
532 if (!s || !(comma = strchr(s, c))) return NULL; in split_chr()
534 p = comma; in split_chr()
535 *comma = ' '; in split_chr()
537 for (; isspace((int) *comma); comma++) in split_chr()
542 return comma; in split_chr()
658 char *comma = NULL, *problem = NULL; in parse_dhcp_opt() local
669 comma = split(arg); in parse_dhcp_opt()
706 arg = comma; in parse_dhcp_opt()
711 else if (comma) { in parse_dhcp_opt()
717 for (cp = comma; (c = *cp); cp++) in parse_dhcp_opt()
726 if (cp == comma) /* leading / means a pathname */ in parse_dhcp_opt()
757 parse_hex(comma, new->val, digs, (flags & DHOPT_MATCH) ? &new->u.wildcard_mask : NULL, in parse_dhcp_opt()
761 int i, val = atoi(comma); in parse_dhcp_opt()
797 cp = comma; in parse_dhcp_opt()
798 comma = split(cp); in parse_dhcp_opt()
825 arg = comma; in parse_dhcp_opt()
826 comma = split(arg); in parse_dhcp_opt()
864 arg = comma; in parse_dhcp_opt()
865 comma = split(arg); in parse_dhcp_opt()
873 new->len = strlen(comma); in parse_dhcp_opt()
875 new->val = (unsigned char*) opt_string_alloc(comma); in parse_dhcp_opt()
905 char *comma, *problem = NULL; in one_opt() local
953 comma = split(arg); in one_opt()
956 for (arg = comma; arg; arg = comma) { in one_opt()
957 comma = split(arg); in one_opt()
1077 if ((comma = split(arg))) { in one_opt()
1079 if ((prefstr = split(comma)) && !atoi_check16(prefstr, &pref)) in one_opt()
1083 if (!(name = canonicalise_opt(arg)) || (comma && !(target = canonicalise_opt(comma)))) in one_opt()
1133 comma = split(arg); in one_opt()
1137 if (comma) { in one_opt()
1139 unhide_metas(comma); in one_opt()
1140 if ((arg = split_chr(comma, '/'))) { in one_opt()
1142 if ((new->start.s_addr = inet_addr(comma)) == (in_addr_t) -1 || in one_opt()
1150 } else if ((arg = split(comma))) { in one_opt()
1151 if ((new->start.s_addr = inet_addr(comma)) == (in_addr_t) -1 || in one_opt()
1154 } else if ((new->start.s_addr = new->end.s_addr = inet_addr(comma)) == in one_opt()
1185 comma = split(arg); in one_opt()
1192 arg = comma; in one_opt()
1200 comma = split(arg); in one_opt()
1209 arg = comma; in one_opt()
1230 comma = split(arg); in one_opt()
1240 arg = comma; in one_opt()
1430 if (!(comma = split(arg))) { in one_opt()
1441 arg = comma; in one_opt()
1442 comma = split(arg); in one_opt()
1449 } while (comma); in one_opt()
1482 if (*cp != ',' && (comma = split(arg))) { in one_opt()
1494 arg = comma; in one_opt()
1705 comma = split(arg); in one_opt()
1707 arg = comma; in one_opt()
1715 comma = split(arg); in one_opt()
1718 if (comma) { in one_opt()
1719 arg = comma; in one_opt()
1720 comma = split(arg); in one_opt()
1722 if (comma) { in one_opt()
1723 unhide_metas(comma); in one_opt()
1724 if ((dhcp_next_server.s_addr = inet_addr(comma)) == (in_addr_t) -1) in one_opt()
1752 comma = split(arg); in one_opt()
1756 arg = comma; in one_opt()
1762 comma = split(arg); in one_opt()
1771 if (comma && atoi_check(comma, &timeout)) in one_opt()
1797 comma = split(arg); in one_opt()
1801 arg = comma; in one_opt()
1804 if (arg && (comma = split(arg))) { in one_opt()
1809 arg = comma; in one_opt()
1810 comma = split(arg); in one_opt()
1815 if (comma) { in one_opt()
1816 arg = comma; in one_opt()
1817 comma = split(arg); in one_opt()
1826 if (comma && (new->server.s_addr = inet_addr(comma)) == (in_addr_t) -1) in one_opt()
1852 if (!(comma = split(arg))) in one_opt()
1860 unhide_metas(comma); in one_opt()
1862 parse_hex(comma, new->hwaddr, DHCP_CHADDR_MAX, &new->mask, &new->hwaddr_type); in one_opt()
1874 if (!(comma = split(arg))) in one_opt()
1886 for (p = comma; *p; p++) in one_opt()
1891 unhide_metas(comma); in one_opt()
1893 new->len = strlen(comma); in one_opt()
1895 memcpy(new->data, comma, new->len); in one_opt()
1897 new->len = parse_hex(comma, (unsigned char*) comma, strlen(comma), NULL, NULL); in one_opt()
1899 memcpy(new->data, comma, new->len); in one_opt()
1930 comma = split(arg); in one_opt()
1932 (comma && !atoi_check16(comma, &daemon->dhcp_client_port))) in one_opt()
1934 if (!comma) daemon->dhcp_client_port = daemon->dhcp_server_port + 1; in one_opt()
1961 comma = split(arg); in one_opt()
1968 arg = comma; in one_opt()
2013 comma = split(arg); in one_opt()
2015 if (!comma || !(domain = canonicalise_opt(arg))) problem = _("bad interface name"); in one_opt()
2025 new->intr = opt_string_alloc(comma); in one_opt()
2033 if (!(comma = split(arg))) in one_opt()
2037 char* target = canonicalise_opt(comma); in one_opt()
2059 comma = split(arg); in one_opt()
2061 if (!(dom = canonicalise_opt(arg)) || (comma && !(target = canonicalise_opt(comma)))) in one_opt()
2108 if ((comma = split(arg))) comma--; in one_opt()
2112 if ((q = (unsigned char*) comma)) in one_opt()
2131 if (comma) { in one_opt()
2132 new->len = q - ((unsigned char*) comma); in one_opt()
2134 memcpy(new->txt, comma, new->len); in one_opt()
2142 if (comma) *comma = 0; in one_opt()
2158 comma = split(arg); in one_opt()
2162 if (comma) { in one_opt()
2163 arg = comma; in one_opt()
2164 comma = split(arg); in one_opt()
2167 if (comma) { in one_opt()
2168 arg = comma; in one_opt()
2169 comma = split(arg); in one_opt()
2172 if (comma) { in one_opt()
2173 arg = comma; in one_opt()
2174 comma = split(arg); in one_opt()
2177 if (comma) { in one_opt()
2178 arg = comma; in one_opt()
2179 comma = split(arg); in one_opt()