Home
last modified time | relevance | path

Searched refs:fun_tree (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsubshell.c405 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 Dinit.c1349 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 Dexpand.c124 extra += scantree(shp->fun_tree,pattern,arghead); in path_expand()
H A Dxec.c745 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 Dtrestore.c284 com->comnamp = (void*)nv_search(cmdname,shp->fun_tree,0); in r_comarg()
H A Dnvtype.c713 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 Dparse.c947 …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 Dmacro.c975 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 Dpath.c720 if(!pp && (np=nv_search(name,shp->fun_tree,HASH_NOSCOPE))&&np->nvalue.ip) in path_search()
H A Dname.c1137 if(root==shp->fun_tree) in nv_open()
/titanic_41/usr/src/lib/libshell/common/include/
H A Dshell.h133 Dt_t *fun_tree; /* for shell functions */ member
/titanic_41/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dgetopts.c40 if(nv_search(s,sh.fun_tree,0)) in infof()
H A Dwhence.c187 root = (flags&F_FLAG)?shp->bltin_tree:shp->fun_tree; in whence()
H A Dtypeset.c296 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 Dmisc.c238 np = nv_search(script,shp->fun_tree,0); in b_dot_cmd()
/titanic_41/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member
/titanic_41/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member
/titanic_41/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member