Searched defs:ac (Results 1 - 25 of 120) sorted by relevance

12345

/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A Djdtrace.c38 int i, ac; local
42 ac = argc + 3;
43 av = p = alloca(sizeof (char *) * ac);
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Daccept.c57 main(int ac, char *av[]) argument
68 while ((c = getopt(ac, av, "E")) != EOF)
77 if (ac == optind)
80 for (c = optind; c < ac; c++) {
H A Denable.c57 main(int ac, char *av[]) argument
68 while ((c = getopt(ac, av, "E")) != EOF)
77 if (ac == optind)
80 for (c = optind; c < ac; c++) {
H A Dlprm.c57 main(int ac, char *av[]) argument
68 while ((c = getopt(ac, av, "EP:")) != EOF)
96 ac - optind, &av[optind]);
H A Dreject.c57 main(int ac, char *av[]) argument
69 while ((c = getopt(ac, av, "Er:")) != EOF)
81 if (ac <= optind)
84 while (optind < ac) {
H A Dlpq.c73 main(int ac, char *av[]) argument
87 while ((c = getopt(ac, av, "EP:l")) != EOF)
102 if ((optind < ac) && (av[optind][0] == '+'))
125 ac - optind, &av[optind]);
H A Dcancel.c108 main(int ac, char *av[]) argument
121 if (ac == 1)
124 while ((c = getopt(ac, av, "Eu:")) != EOF)
136 for (c = optind; c < ac; c++) {
251 if (optind == ac)
H A Ddisable.c88 main(int ac, char *av[]) argument
102 while ((c = getopt(ac, av, "EcWr:")) != EOF)
120 if (ac <= optind)
123 while (optind < ac) {
H A Dlp.c65 main(int ac, char *av[]) argument
94 while ((c = getopt(ac, av, "DEH:P:S:T:cd:f:i:mn:o:pq:rst:Vwy:")) != EOF)
231 if (((optind + 1) == ac) && (strcmp(av[optind], "-") == 0))
232 optind = ac;
237 if (optind != ac) {
280 else if (optind == ac) /* no file list, use stdin */
318 if (ac != optind)
319 printf("(%d file(s))\n", ac - optind);
H A Dlpmove.c71 main(int ac, char *av[]) argument
81 while ((c = getopt(ac, av, "E:")) != EOF)
90 if (optind >= ac - 1)
93 destination = av[--ac];
95 for (c = optind; c < ac; c++) {
H A Dlpr.c65 main(int ac, char *av[]) argument
86 while ((c = getopt(ac, av,
206 if (((optind + 1) == ac) && (strcmp(av[optind], "-") == 0))
207 optind = ac;
209 if (optind != ac) {
245 else if (optind == ac) /* no file list, use stdin */
/illumos-gate/usr/src/cmd/print/conv_fix/
H A Dconv_fix.c89 main(int ac, char *av[]) argument
103 while ((c = getopt(ac, av, "f:o:")) != EOF)
/illumos-gate/usr/src/cmd/print/lpget/
H A Dlpget.c116 main(int ac, char *av[]) argument
137 while ((c = getopt(ac, av, "k:t:n:")) != EOF)
151 if (optind >= ac)
156 while (optind < ac) {
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c43 int ap, ac; variable
49 ac = argn;
54 if (!eq(com[--ac], "]"))
57 com[ac] = 0;
58 if (ac <= 1)
66 if (ap >= ac)
177 if (ap >= ac) /* no args */
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrclean.c55 main(int ac, char *av[]) argument
70 while ((c = getopt(ac, av, "d:a:")) != EOF) {
H A Dstrace.c52 static int getid(int ac, char **av, struct trace_ids *tp);
117 getid(int ac, char **av, struct trace_ids *tp) argument
146 if (index >= ac)
162 if ((index+2) >= ac)
175 main(int ac, char *av[]) argument
203 if (ac == 1) {
209 while (getid(ac, av, tp)) {
/illumos-gate/usr/src/uts/i86pc/io/tzmon/
H A Dtzmon.h48 int ac[TZ_NUM_LEVELS]; member in struct:thermal_zone
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dwordexp.c69 register int c,quoted=0,literal=0,ac=0; local
115 else if(!quoted && strchr("|&\n;<>"+ac,c))
121 ac=2;
132 ac = 0;
139 ac++;
152 c = ac+2;
178 wdarg->we_wordc += ac;
182 while(ac-- > 0)
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac_stat.c44 #include <sys/ac.h>
65 struct ac_soft_state *ac; local
97 ac = pkt->softsp;
98 mem_info = &ac->bank[pkt->bank];
106 statp->board = ac->board;
109 statp->ac_memctl = *(ac->ac_memctl);
110 statp->ac_decode0 = *(ac->ac_memdecode0);
111 statp->ac_decode1 = *(ac->ac_memdecode1);
116 * Busy could also be set for fhc_bd_busy(ac->board)
126 *(ac
[all...]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-misc.c128 int ac, rc = -1, fds[2]; local
139 av[0] = SUID_LPD_PORT; ac = 1;
142 av[ac++] = "-H";
143 av[ac++] = svc->uri->host;
148 av[ac++] = "-t";
149 av[ac++] = strdup(buf);
154 av[ac++] = buf;
165 av[ac++] = tmp;
169 while ((*args != NULL) && (ac < 62))
170 av[ac
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.c134 main(int ac, char *av[]) argument
252 while ((c = getopt(ac, (char **)av, "VU:Lc:Tvt:rlw:xRCsS")) !=
255 while ((c = getopt(ac, (char **)av,
407 ac -= optind;
410 for (argcounter = 0; argcounter < ac; argcounter++) {
468 if (ac == 0 && (rcvname == NULL || *rcvname == NULL)) {
479 ac--;
487 argc0 = ac;
/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c102 main(int ac, char *av[]) argument
132 if (ac < 2)
135 while ((c = getopt(ac, av, "a:d:D:h:n:r:w:x")) != EOF)
167 if (optind != ac-1)
/illumos-gate/usr/src/cmd/print/printer-info/
H A Dprinter-info.c125 main(int ac, char *av[]) argument
131 while ((rc = getopt(ac, av, "aMmdCc")) != EOF)
160 if (optind >= ac) {
165 while (optind < ac) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/ickey/
H A Dickey.c78 main(int ac, char **av) argument
100 while ((i = getopt(ac, av, "do:")) != -1)
128 if ((optind >= ac) && (typestring != NULL) &&
/illumos-gate/usr/src/cmd/acctadm/
H A Dmain.c118 acctconf_t ac; /* current configuration */ local
540 aconf_init(&ac, type);
542 if (ac.state == AC_ON ||
543 strcmp(ac.file, AC_STR_NONE) != 0 ||
544 strcmp(ac.tracked, AC_STR_NONE) != 0) {

Completed in 77 milliseconds

12345