Home
last modified time | relevance | path

Searched refs:namec (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dname.c563 static int namec; variable
605 namec++; in countnam()
645 namec = 0; in local_setenv()
648 argnam = er = (unsigned char **)getstak(namec * BYTESPERWORD + BYTESPERWORD); in local_setenv()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c1428 register int namec; in print_scan() local
1445 namec = nv_scan(root,nullscan,(void*)tp,tp->scanmask,flag); in print_scan()
1446 argv = tp->argnam = (char**)stkalloc(tp->sh->stk,(namec+1)*sizeof(char*)); in print_scan()
1447 namec = nv_scan(root, pushname, (void*)tp, tp->scanmask, flag&~NV_IARRAY); in print_scan()
1449 strsort(argv,namec,strcoll); in print_scan()
1450 if(namec==0 && tp->sh->namespace && nv_dict(tp->sh->namespace)==root) in print_scan()
1455 else while(namec--) in print_scan()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dname.c2253 register int namec; in sh_envgen() local
2263 namec = nv_scan(shp->var_tree,nullscan,(void*)0,NV_EXPORT,NV_EXPORT); in sh_envgen()
2264 namec += shp->nenv; in sh_envgen()
2265 er = (char**)stakalloc((namec+4)*sizeof(char*)); in sh_envgen()