Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c401 bam_loader_menu(char *subcmd, char *opt, int largc, char *largv[]) in bam_loader_menu() argument
526 assert(largc == 1 && largv[0] && largv[1] == NULL); in bam_loader_menu()
530 assert(largc == 0 && largv == NULL); in bam_loader_menu()
544 ret = f(&menu, ((largc > 0) ? largv[0] : ""), in bam_loader_menu()
545 ((largc > 1) ? largv[1] : "")); in bam_loader_menu()
578 if (largc > 0) { in bam_loader_menu()
581 for (extra_len = 0, i = 0; i < largc; i++) in bam_loader_menu()
588 extra_args = alloca(extra_len + largc); in bam_loader_menu()
592 for (i = 1; i < largc; i++) { in bam_loader_menu()
H A Dbootadm.c1314 bam_menu(char *subcmd, char *opt, int largc, char *largv[]) in bam_menu() argument
1470 assert(largc == 1 && largv[0] && largv[1] == NULL); in bam_menu()
1474 assert(largc == 0 && largv == NULL); in bam_menu()
1494 ret = f(menu, ((largc > 0) ? largv[0] : ""), in bam_menu()
1495 ((largc > 1) ? largv[1] : "")); in bam_menu()
1528 if (largc > 0) { in bam_menu()
1531 for (extra_len = 0, i = 0; i < largc; i++) in bam_menu()
1538 extra_args = alloca(extra_len + largc); in bam_menu()
1542 for (i = 1; i < largc; i++) { in bam_menu()
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddate.c56 int largc; in ADM_Process_date() local
81 largc = 3; in ADM_Process_date()
85 ADM_Set_Date(largc, largv); in ADM_Process_date()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_printf.c1172 int largc, rargc, argn; in dt_printa_validate() local
1188 for (largc = 0; lproto != NULL; lproto = lproto->dn_list) in dt_printa_validate()
1189 largc++; in dt_printa_validate()
1194 if (largc != rargc) { in dt_printa_validate()
1198 lid->di_name, largc, largc == 1 ? "" : "s", in dt_printa_validate()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c165 static void getpats(int largc, char **largv);
178 static void setup(int largc, char **largv);
5259 getpats(int largc, char **largv) in getpats() argument
5263 unsigned numpat = largc, maxpat = largc + 2; in getpats()
6389 setup(int largc, char **largv) in setup() argument
6439 while ((option = getopt(largc, largv, opts_p)) != EOF) { in setup()
6613 largc -= optind; in setup()
6636 if (largc > 0) /* save patterns for -i option, if any */ in setup()
6639 getpats(largc, largv); in setup()
6641 if (largc != 0) /* error if arguments left with -o */ in setup()
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_to.c763 short largc = (short)argc; in au_to_cmd() local
791 adr_short(&adr, &largc, 1); in au_to_cmd()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c670 int largc; in ifconfig() local
681 for (largc = argc, largv = argv; largc > 0; largc--, largv++) { in ifconfig()
683 if (--largc == 0) in ifconfig()