/titanic_44/usr/src/lib/libshell/common/sh/ |
H A D | subshell.c | 405 return(sh.fun_tree); in sh_subfuntree() 409 dtview(sp->sfun,sh.fun_tree); in sh_subfuntree() 410 sh.fun_tree = sp->sfun; in sh_subfuntree() 412 return(sh.fun_tree); in sh_subfuntree() 673 shp->fun_tree = dtview(sp->sfun,0); in sh_subshell()
|
H A D | init.c | 1349 for(np=dtfirst(shp->fun_tree);np;np=npnext) in sh_reinit() 1351 if((dp=shp->fun_tree)->walk) in sh_reinit() 1353 npnext = (Namval_t*)dtnext(shp->fun_tree,np); in sh_reinit() 1635 shp->fun_tree = dtopen(&_Nvdisc,Dtoset); in nv_init() 1636 dtview(shp->fun_tree,shp->bltin_tree); in nv_init()
|
H A D | expand.c | 124 extra += scantree(shp->fun_tree,pattern,arghead); in path_expand()
|
H A D | xec.c | 745 np = dtsearch(shp->fun_tree,np); in sh_exec() 750 Dt_t *root = command?shp->bltin_tree:shp->fun_tree; in sh_exec() 891 if((np=nv_search(com0,shp->fun_tree,0)) && !np->nvalue.ip) in sh_exec() 1102 np = nv_search(com0,shp->fun_tree,HASH_NOSCOPE); in sh_exec() 2088 np->nvalue.rp->fdict = shp->fun_tree; in sh_exec() 2265 t->comnamp = (void*)nv_bfsearch(argv[0],sh.fun_tree,(Namval_t**)&t->comnamq,(char**)0); in sh_run() 2910 nv_scan(sh.fun_tree, print_fun, (void*)0,0, 0); in run_subshell() 3023 if(!np && path && !nv_search(path,shp->fun_tree,0)) in sh_ntfork()
|
H A D | trestore.c | 284 com->comnamp = (void*)nv_search(cmdname,shp->fun_tree,0); in r_comarg()
|
H A D | nvtype.c | 713 if((nq = nv_search(stakptr(offset),sh.fun_tree,0)) && nq->nvalue.cp) in typeinfo() 799 if((bp=nv_search(name,shp->fun_tree,NV_NOSCOPE)) && !bp->nvalue.ip) in nv_addtype() 800 nv_delete(bp,shp->fun_tree,0); in nv_addtype()
|
H A D | parse.c | 947 …arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr… in assign() 986 …arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr… in assign() 1357 Namval_t *np=nv_bfsearch(argp->argval,lexp->sh->fun_tree, (Namval_t**)&t->comnamq,(char**)0); in simple()
|
H A D | macro.c | 975 np = nv_bfsearch(name,shp->fun_tree,&nq,(char**)0); in sh_macfun() 2435 np = nv_open(shtilde,shp->fun_tree, NV_VARNAME|NV_NOARRAY|NV_NOASSIGN|NV_NOFAIL); in tilde_expand2()
|
H A D | path.c | 720 if(!pp && (np=nv_search(name,shp->fun_tree,HASH_NOSCOPE))&&np->nvalue.ip) in path_search()
|
H A D | name.c | 1137 if(root==shp->fun_tree) in nv_open()
|
/titanic_44/usr/src/lib/libshell/common/include/ |
H A D | shell.h | 133 Dt_t *fun_tree; /* for shell functions */ member
|
/titanic_44/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 142 Dt_t *fun_tree; /* for shell functions */ member
|
/titanic_44/usr/src/lib/libshell/common/bltins/ |
H A D | getopts.c | 40 if(nv_search(s,sh.fun_tree,0)) in infof()
|
H A D | whence.c | 187 root = (flags&F_FLAG)?shp->bltin_tree:shp->fun_tree; in whence()
|
H A D | typeset.c | 296 troot = tdata.sh->fun_tree; in b_typeset() 363 if(troot==tdata.sh->fun_tree && ((isfloat || flag&~(NV_FUNCT|NV_TAGGED|NV_EXPORT|NV_LTOU)))) in b_typeset() 465 if(troot == shp->fun_tree) in b_common() 679 if(troot==shp->fun_tree) in b_common()
|
H A D | misc.c | 238 np = nv_search(script,shp->fun_tree,0); in b_dot_cmd()
|
/titanic_44/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 142 Dt_t *fun_tree; /* for shell functions */ member
|
/titanic_44/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 142 Dt_t *fun_tree; /* for shell functions */ member
|
/titanic_44/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 142 Dt_t *fun_tree; /* for shell functions */ member
|