Searched refs:ac (Results 1 - 16 of 16) sorted by relevance

/ast/src/lib/libast/comp/
H A Dstrcasecmp.c39 register int ac;
45 ac = *a++;
46 if (isupper(ac))
47 ac = tolower(ac);
51 if (d = ac - bc)
53 if (!ac)
H A Dstrncasecmp.c40 register int ac;
49 ac = *a++;
50 if (isupper(ac))
51 ac = tolower(ac);
55 if (d = ac - bc)
57 if (!ac)
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/tksh/
H A Duinit.c26 static int ac; variable
77 return (sh_main(ac=argc, av=argv, tksh_userinit));
/ast/src/lib/libast/include/
H A Dshcmd.h85 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
99 # define cmdinit(ac,av,c,cat,flg) do { if((ac)<=0) return(0); \
/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/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/lib/libsum/
H A Dsum-md5.c158 #define FF(a, b, c, d, x, s, ac) { \
159 (a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \
163 #define GG(a, b, c, d, x, s, ac) { \
164 (a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \
168 #define HH(a, b, c, d, x, s, ac) { \
169 (a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \
173 #define II(a, b, c, d, x, s, ac) { \
174 (a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \
/ast/src/cmd/ksh93/sh/
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 Dmain.c121 int sh_main(int ac, char *av[], Shinit_f userinit) argument
141 shp = sh_init(ac,av,userinit);
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/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/ksh93/tests/
H A Dlocale.sh107 #$SHELL -c 'export LANG='$locale'; printf "\u[20ac]\u[20ac]" > $tmp/two_euro_chars.txt'
335 x=$(printf "hello\u[20ac]\xee world")
336 [[ $(print -r -- "$x") == $'hello\u[20ac]\xee world' ]] || err_exit '%q with unicode and non-unicode not working'
338 then got='68 65 6c 6c 6f e2 82 ac ee 20 77 6f 72 6c 64 0a'
/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);
/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/sort/
H A Dtestsort.sh555 ac
565 ac

Completed in 43 milliseconds