/ast/src/cmd/tksh/ |
H A D | uinit.c | 42 if(nv_open("tkloop",shp->fun_tree,NV_NOADD))
|
/ast/src/lib/libtksh/src/ |
H A D | eval.c | 132 if ((namval = nv_open(cmdName, sh.fun_tree, NV_NOADD))) 162 if ((namval = nv_open(cmdName, sh.fun_tree, NV_NOADD))) 185 if ((namval = nv_open(cmdName, sh.fun_tree, NV_NOADD))) 200 if ((namval = nv_open(cmdName, sh.fun_tree, NV_NOADD)))
|
H A D | commands.c | 123 if ((namval=nv_open(argv[2], sh.fun_tree, NV_NOADD)) && namval->nvalue) 129 if (! (namval=nv_open(argv[1],sh.fun_tree,NV_NOADD)) || !namval->nvalue)
|
H A D | tcleval.c | 414 nv = nv_search(argv[0], sh.fun_tree, 0);
|
/ast/src/cmd/ksh93/bltins/ |
H A D | getopts.c | 41 if((shp->namespace && sh_fsearch(shp,s,0)) || nv_search(s,shp->fun_tree,0)) 43 if(nv_search(s,shp->fun_tree,0))
|
H A D | whence.c | 187 root = (flags&F_FLAG)?shp->bltin_tree:shp->fun_tree;
|
H A D | typeset.c | 312 troot = tdata.sh->fun_tree; 382 if(troot==tdata.sh->fun_tree && ((isfloat || flag&~(NV_FUNCT|NV_TAGGED|NV_EXPORT|NV_LTOU)))) 384 if(sflag && troot==tdata.sh->fun_tree) 499 print_scan(iop,NV_FUNCTION|NV_NOSCOPE,tp->sh->fun_tree,aflag=='+',tp); 562 if(troot == shp->fun_tree) 838 if(troot==shp->fun_tree)
|
H A D | misc.c | 239 np = nv_search(script,shp->fun_tree,0);
|
/ast/src/cmd/ksh93/include/ |
H A D | shell.h | 139 Dt_t *fun_tree; /* for shell functions */ member in struct:Shell_s
|
/ast/src/cmd/ksh93/sh/ |
H A D | subshell.c | 404 return(sh.fun_tree); 408 dtview(sp->sfun,sp->shp->fun_tree); 409 sp->shp->fun_tree = sp->sfun; 411 return(sp->shp->fun_tree); 721 shp->fun_tree = dtview(sp->sfun,0);
|
H A D | init.c | 1031 mp = (Namval_t*)dtprev(shp->fun_tree,&fake); 1032 while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) 1056 mp = (Namval_t*)dtprev(shp->fun_tree,&fake); 1057 return((char*)dtnext(shp->fun_tree,mp)); 1066 mp = nv_search(name, shp->fun_tree, action?NV_ADD:0); 1069 return(mp?(char*)dtnext(shp->fun_tree,mp):0); 1603 for(np=dtfirst(shp->fun_tree);np;np=npnext) 1605 if((dp=shp->fun_tree)->walk) 1607 npnext = (Namval_t*)dtnext(shp->fun_tree,np); 1912 shp->fun_tree [all...] |
H A D | expand.c | 124 extra += scantree(shp->fun_tree,pattern,arghead);
|
H A D | trestore.c | 288 com->comnamp = (void*)nv_search(cmdname,shp->fun_tree,0);
|
H A D | xec.c | 842 nv_scan(shp->fun_tree, print_fun, (void*)0,0, 0); 1106 np = dtsearch(shp->fun_tree,np); 1126 Dt_t *root = command?shp->bltin_tree:shp->fun_tree; 1274 np=nv_search(com0,shp->fun_tree,0); 1503 np = nv_search(com0,shp->fun_tree,HASH_NOSCOPE); 2789 np->nvalue.rp->fdict = shp->fun_tree; 2975 t->comnamp = (void*)nv_bfsearch(argv[0],shp->fun_tree,(Namval_t**)&t->comnamq,(char**)0); 3678 nv_scan(shp->fun_tree, print_fun, (void*)0,0, 0); 3793 if(!np && path && !nv_search(path,shp->fun_tree,0))
|
H A D | arith.c | 280 if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0))
|
H A D | nvtype.c | 727 if((nq = nv_search(stakptr(offset),sh.fun_tree,0)) && nq->nvalue.cp) 828 if((bp=nv_search(name,shp->fun_tree,NV_NOSCOPE)) && !bp->nvalue.ip) 829 nv_delete(bp,shp->fun_tree,0);
|
H A D | nvdisc.c | 1323 nv_delete(np,shp->fun_tree,NV_NOFREE); 1342 nv_scan(data.sh->fun_tree,delete_fun,(void*)&data,NV_FUNCTION,NV_FUNCTION|NV_NOSCOPE);
|
H A D | path.c | 632 np = nv_search(name,shp->fun_tree,0); 699 if(!pp && (np=nv_search(name,shp->fun_tree,0))&&np->nvalue.ip)
|
H A D | name.c | 376 if((arg->argflag&ARG_APPEND) && (tp->tre.tretyp&COMMSK)==TCOM && tp->com.comset && !nv_isvtree(np) && (((ap=nv_arrayptr(np)) && !ap->fun && !nv_opensub(np)) || (!ap && nv_isarray(np) && tp->com.comarg && !((mp=nv_search(tp->com.comarg->argval,shp->fun_tree,0)) && nv_isattr(mp,BLT_DCL))))) 1351 if(root==shp->fun_tree)
|