Lines Matching refs:ac
255 main(ac, av) in main() argument
256 int ac; in main()
278 while ((c = getopt(ac, av, "lds:")) != -1) {
298 ac -= optind;
301 combuf = get_combuf(ac, av);
368 get_combuf(ac, av) in get_combuf() argument
369 int ac; in get_combuf()
374 if (ac == 0) {
391 ac--;
393 return (cp->func)(ac, av);
397 f_reload(ac, av) in f_reload() argument
398 int ac; in f_reload()
418 f_getevt(ac, av) in f_getevt() argument
419 int ac; in f_getevt()
435 if ((ac >= 1) && (strcmp(av[0], "-l") == 0))
438 if (ac >= 2)
455 f_getsched(ac, av) in f_getsched() argument
456 int ac; in f_getsched()
476 f_getsa(ac, av) in f_getsa() argument
477 int ac; in f_getsa()
485 if (ac != 1)
505 f_flushsa(ac, av) in f_flushsa() argument
506 int ac; in f_flushsa()
514 if (ac != 1)
534 f_deletesa(ac, av) in f_deletesa() argument
535 int ac; in f_deletesa()
543 if (ac < 1)
551 ac--;
554 index = get_index(ac, av);
560 index = get_index(ac, av);
589 f_deleteallsadst(ac, av) in f_deleteallsadst() argument
590 int ac; in f_deleteallsadst()
598 if (ac < 1)
606 ac--;
609 index = get_index(ac, av);
615 index = get_index(ac, av);
644 f_exchangesa(ac, av) in f_exchangesa() argument
645 int ac; in f_exchangesa()
657 if (ac < 1)
662 if (ac < 2)
673 ac -= 2;
677 if (ac < 1)
684 ac--;
687 index = get_index(ac, av);
693 index = get_index(ac, av);
736 f_vpnc(ac, av) in f_vpnc() argument
737 int ac; in f_vpnc()
749 if (ac < 1)
757 if (ac < 2)
763 ac -= 2;
767 if (ac < 1)
769 if (ac > 1)
801 f_vpnd(ac, av) in f_vpnd() argument
802 int ac; in f_vpnd()
812 if (ac < 1)
814 if (ac > 1)
830 f_logoutusr(ac, av) in f_logoutusr() argument
831 int ac; in f_logoutusr()
840 if (ac < 1)
886 get_index(ac, av) in get_index() argument
887 int ac; in get_index()
892 if (ac != 3 && ac != 4) {
902 ac--;
904 return get_comindexes(family, ac, av);
922 get_comindexes(family, ac, av) in get_comindexes() argument
924 int ac;
934 if (ac != 2 && ac != 3) {
953 ac--;
973 ac--;
974 if(ac){