Lines Matching refs:ac
1025 process_extra_parms(int *ac, char **av, struct dn_extra_parms *ep,
1047 while (*ac > 0) {
1049 (*ac)--; av++;
1052 if (*ac <= 0 || time_to_us(av[0]) < 0)
1056 (*ac)--; av++;
1060 if (*ac <= 0 || time_to_us(av[0]) < 0)
1064 (*ac)--; av++;
1077 if (*ac <= 0 || !is_valid_number(av[0]))
1081 (*ac)--; av++;
1087 if (*ac <= 0 || !is_valid_number(av[0]))
1091 (*ac)--; av++;
1097 if (*ac <= 0 || !is_valid_number(av[0]))
1101 (*ac)--; av++;
1127 while (*ac > 0) {
1129 (*ac)--; av++;
1132 if (*ac <= 0 || time_to_us(av[0]) < 0)
1136 (*ac)--; av++;
1140 if (*ac <= 0 || time_to_us(av[0]) < 0)
1144 (*ac)--; av++;
1148 if (*ac <= 0 || time_to_us(av[0]) < 0)
1152 (*ac)--; av++;
1156 if (*ac <= 0 || !is_valid_number(av[0]))
1160 (*ac)--; av++;
1164 if (*ac <= 0 || !is_valid_number(av[0]))
1168 (*ac)--; av++;
1172 if (*ac <= 0 || !is_valid_number(av[0]))
1176 (*ac)--; av++;
1216 if (*ac <= 0 || !is_valid_number(av[0]))
1220 (*ac)--; av++;
1226 if (*ac <= 0 || !is_valid_number(av[0]))
1230 (*ac)--; av++;
1236 if (*ac <= 0 || !is_valid_number(av[0]))
1240 (*ac)--; av++;
1277 ipfw_config_pipe(int ac, char **av)
1314 av++; ac--;
1316 if (ac && isdigit(**av)) {
1317 i = atoi(*av); av++; ac--;
1406 while (ac > 0) {
1409 ac--; av++;
1440 ac--; av++;
1455 ac--; av++;
1462 ac--; av++;
1478 while (ac >= 1) {
1486 ac--; av++;
1546 ac++; av--; /* backtrack */
1549 if (ac < 1)
1583 ac--; av++;
1599 process_extra_parms(&ac, av, aqm_extra, tok);
1611 process_extra_parms(&ac, av, sch_extra, tok);
1645 ac--; av++;
1661 ac--; av++;
1668 ac--; av++;
1688 process_extra_parms(&ac, av, sch_extra, tok);
1690 ac--;av++;
1693 ac--;av++;
1702 ac--; av++;
1709 ac--; av++;
1716 ac--; av++;
1724 ac--; av++;
1734 --ac; ++av;
1749 ac--; av++;
1882 parse_range(int ac, char *av[], uint32_t *v, int len)
1893 for (s = *av; s != NULL; av++, ac--) {
1898 s = (ac > 0) ? *(av+1) : NULL;
1907 ac++;
1936 dummynet_list(int ac, char *av[], int show_counters)
1945 ac--;
1948 n = parse_range(ac, av, NULL, 0); /* Count # of ranges. */
1956 parse_range(ac, av, (uint32_t *)(oid + 1), n*2);