Home
last modified time | relevance | path

Searched refs:argn (Results 1 – 16 of 16) sorted by relevance

/titanic_44/usr/src/cmd/sh/
H A Dxec.c128 int argn, internal; local
137 argn = getarg(t);
138 com = scan(argn);
142 if (argn != 0)
145 if (argn == 0 || (comtype = hashtype(cmdhash)) == BUILTIN) {
149 if (argn && (flags&noexec) == 0)
179 builtin(hashdata(cmdhash),argn,com,t);
528 int argn = 0; in execprint() local
532 while(com[argn] != ENDARGS) in execprint()
534 s = com[argn++]; in execprint()
H A Dargs.c214 int argn = 0; in setargs() local
217 argn++; in setargs()
222 dolh = copyargs(argi, argn); in setargs()
223 dolc = argn - 1; in setargs()
H A Dservice.c430 scan(argn) in scan() argument
431 int argn; in scan()
437 comargn = (unsigned char **)getstak(BYTESPERWORD * argn + BYTESPERWORD);
438 comargm = comargn += argn;
H A Dtest.c47 test(int argn, unsigned char *com[]) in test() argument
49 ac = argn; in test()
/titanic_44/usr/src/lib/libast/common/sfio/
H A Dsfvscanf.c324 int argp, argn; local
369 argn = -1;
467 n = FP_SET(n,argn);
469 else n = FP_SET(-1,argn);
516 n = FP_SET(n,argn);
518 else n = FP_SET(-1,argn);
572 n = FP_SET(n,argn);
574 else n = FP_SET(-1,argn);
673 argp = FP_SET(argp,argn);
734 fm->argn = argn;
[all …]
H A Dsfvprintf.c125 int argp, argn; /* arg position and number */ local
203 argn = -1;
269 n = FP_SET(n,argn);
271 else n = FP_SET(-1,argn);
372 n = FP_SET(n,argn);
374 else n = FP_SET(-1,argn);
430 n = FP_SET(n,argn);
432 else n = FP_SET(-1,argn);
530 argp = FP_SET(argp,argn);
623 argn -= 1;
[all …]
H A Dsftable.c61 int argp, argn, maxp, need[FP_INDEX]; local
71 dollar = decimal = thousand = 0; argn = maxp = -1;
137 if((n = FP_SET(n,argn)) > maxp)
192 if((n = FP_SET(n,argn)) > maxp)
230 if((n = FP_SET(n,argn)) > maxp)
313 if((argp = FP_SET(argp,argn)) > maxp)
H A Dsfhdr.h733 int argn; /* number of args already used */ member
/titanic_44/usr/src/cmd/power/
H A Dhandlers.c612 int cmd, argn, upval = OKUP; in dev_dep_common() local
633 for (argn = 2; (src = LINEARG(argn)) != NULL; argn++) { in dev_dep_common()
739 int argn, value, gci = 0, grp_cnt = 0, paren = 0, nerr = 0; in get_thresh() local
742 for (argn = 2; (src = LINEARG(argn)) != NULL; argn++) { in get_thresh()
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dargs.c743 register int argn; in sh_argbuild() local
745 argn = *nargs; in sh_argbuild()
747 argn += 1; in sh_argbuild()
749 comargn=(char**)stkalloc(shp->stk,(unsigned)(argn+1)*sizeof(char*)); in sh_argbuild()
750 comargm = comargn += argn; in sh_argbuild()
767 if((argn=comargm-comargn)>1) in sh_argbuild()
768 strsort(comargn,argn,strcoll); in sh_argbuild()
H A Dxec.c674 int argn; in sh_exec() local
713 com = sh_argbuild(shp,&argn,&(t->com),OPTIMIZE); in sh_exec()
743 argn -= command; in sh_exec()
764 comn = com[argn-1]; in sh_exec()
769 if(argn==0 || (np && nv_isattr(np,BLT_SPC))) in sh_exec()
772 if(argn) in sh_exec()
810 else if(argn>=3 && checkopt(com,'T')) in sh_exec()
839 if((io||argn)) in sh_exec()
846 if(argn==0) in sh_exec()
874 argn = 1; in sh_exec()
[all …]
H A Dio.c2176 void sh_menu(Sfio_t *outfile,int argn,char *argv[]) in sh_menu() argument
2185 for(i=argn;i >= 10;i /= 10) in sh_menu()
2187 if(argn < nrow) in sh_menu()
2189 nrow = argn; in sh_menu()
2201 if(argn > nrow*ncol) in sh_menu()
2203 nrow = 1 + (argn-1)/ncol; in sh_menu()
2207 ncol = 1 + (argn-1)/nrow; in sh_menu()
2208 nrow = 1 + (argn-1)/ncol; in sh_menu()
2222 if(j >= argn) in sh_menu()
H A Dparse.c1696 static struct argnod *qscan(struct comnod *ac,int argn) in qscan() argument
1710 if(argn==(special+1) && ap->argval[1]==0 && *ap->argval=='!') in qscan()
1712 else if(argn!=special) in qscan()
1726 argn++; in qscan()
1732 …dp = (struct dolnod*)stakalloc((unsigned)sizeof(struct dolnod) + ARG_SPARE*sizeof(char*) + argn*si… in qscan()
1734 dp->dolnum = argn; in qscan()
/titanic_44/usr/src/uts/intel/sys/acpi/
H A Dacparser.h271 UINT32 argn);
/titanic_44/usr/src/lib/libdtrace/common/
H A Ddt_printf.c1172 int largc, rargc, argn; in dt_printa_validate() local
1208 for (argn = 1; lproto != NULL; argn++, lproto = lproto->dn_list, in dt_printa_validate()
1218 rid->di_name, argn, lid->di_name, lid->di_name, argn, in dt_printa_validate()
1220 argn, dt_node_type_name(rproto, n2, sizeof (n2))); in dt_printa_validate()
H A Ddt_provider.c625 dt_probe_tag(dt_probe_t *prp, uint_t argn, dt_node_t *dnp) in dt_probe_tag() argument
633 prp->pr_pvp->pv_desc.dtvd_name, prp->pr_name, argn); in dt_probe_tag()
638 prp->pr_pvp->pv_desc.dtvd_name, prp->pr_name, argn); in dt_probe_tag()