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

/ast/src/cmd/tksh/
H A Duinit.c26 static int ac; variable
77 return (sh_main(ac=argc, av=argv, tksh_userinit));
/ast/src/lib/libast/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)
/ast/src/cmd/ksh93/sh/
H A Dmain.c121 int sh_main(int ac, char *av[], Shinit_f userinit) argument
141 shp = sh_init(ac,av,userinit);
H A Dargs.c705 register const struct comnod *ac = comptr; local
708 if(!ac->comarg)
713 else if(!(ac->comtyp&COMSCAN))
715 register struct dolnod *ap = (struct dolnod*)ac->comarg;
721 if(ac)
723 if(ac->comnamp == SYSLET)
725 argp = ac->comarg;
H A Dparse.c816 struct comnod *ac; local
819 t->funct.functargs = ac = (struct comnod*)simple(lexp,SH_NOIO|SH_FUNDEF,NIL(struct ionod*));
820 if(ac->comset || (ac->comtyp&COMSCAN))
822 argv0 = argv = ((struct dolnod*)ac->comarg)->dolval+ARG_SPARE;
838 np->nvalue.rp->argc = ((struct dolnod*)ac->comarg)->dolnum;
946 register struct comnod *ac; local
985 ac = (struct comnod*)getnode(comnod);
986 memset((void*)ac,0,sizeof(*ac));
1819 qscan(struct comnod *ac,int argn) argument
[all...]
H A Dxec.c2777 struct comnod *ac = t->funct.functargs; local
2787 np->nvalue.rp->argv = ac?((struct dolnod*)ac->comarg)->dolval+1:0;
2788 np->nvalue.rp->argc = ac?((struct dolnod*)ac->comarg)->dolnum:0;
3600 int cmdrecurse(int argc, char* argv[], int ac, char* av[]) argument
3604 NOT_USED(ac);
/ast/src/lib/libast/sfio/
H A Dsfvscanf.c134 static char* _sfsetclass(const char* form, Accept_t* ac, int flags) argument
136 static char* _sfsetclass(form, ac, flags)
138 Accept_t* ac; /* values of accepted characters */
146 { ac->yes = 0;
149 else ac->yes = 1;
152 ac->ok[c] = !ac->yes;
155 { ac->ok[*form] = ac->yes;
158 ac
193 _sfwaccept(wchar_t wc, Accept_t* ac) argument
234 _sfgetwc(Scan_t* sc, wchar_t* wc, int fmt, Accept_t* ac, Void_t *mbs) argument
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dtest.c77 int ac; member in struct:test
187 tdata.ac = argc;
202 while(tp->ap < tp->ac)
238 if(tp->ap >= tp->ac)
/ast/src/cmd/3d/
H A Dsyscall3d.c307 register int ac; local
371 for (ac = 1; ac <= cp->args && (n = cp->type[ac]) >= a; ac++)
373 ap = &arg[ac];
379 buffer(&b, e, ap->string, arg[ac + 1].number);
541 for (; ac <= cp->args; ac++)
543 ap = &arg[ac];
[all...]
/ast/src/cmd/re/
H A Dsed1.c78 #define ic ac
79 #define cc ac
400 ac(Text *script, Text *t) function
669 xx,ac,bc,cc,dc,xx,xx,gc,hc,ic,xx,xx,lc,xx,nc,xx, /* a-n */
/ast/src/cmd/ksh93/edit/
H A Dedit.c1662 int ac=0,l,n,index1,index2; local
1725 ac++;
1728 if(ac>0)
1730 l = ac;
1731 argv = av = (char**)stakalloc((ac+1)*sizeof(char*));
1737 strsort(argv,ac,ed_sortdata);
1752 ac = ar-argv;
1753 strsort(argv,ac,ed_sortindex);
1761 return(ep->hmax=ac);

Completed in 50 milliseconds