Home
last modified time | relevance | path

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

12

/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dgetopts.c41 if((shp->namespace && sh_fsearch(shp,s,0)) || nv_search(s,shp->fun_tree,0)) in infof()
43 if(nv_search(s,shp->fun_tree,0)) in infof()
H A Dtypeset.c313 troot = tdata.sh->fun_tree; in b_typeset()
383 if(troot==tdata.sh->fun_tree && ((isfloat || flag&~(NV_FUNCT|NV_TAGGED|NV_EXPORT|NV_LTOU)))) in b_typeset()
385 if(sflag && troot==tdata.sh->fun_tree) in b_typeset()
500 print_scan(iop,NV_FUNCTION|NV_NOSCOPE,tp->sh->fun_tree,aflag=='+',tp); in print_value()
563 if(troot == shp->fun_tree) in setall()
839 if(troot==shp->fun_tree) in setall()
H A Dwhence.c187 root = (flags&F_FLAG)?shp->bltin_tree:shp->fun_tree; in whence()
H A Dmisc.c239 np = nv_search(script,shp->fun_tree,0); in b_dot_cmd()
/titanic_51/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()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c410 return(sh.fun_tree); in sh_subfuntree()
414 dtview(sp->sfun,sp->shp->fun_tree); in sh_subfuntree()
415 sp->shp->fun_tree = sp->sfun; in sh_subfuntree()
417 return(sp->shp->fun_tree); in sh_subfuntree()
726 shp->fun_tree = dtview(sp->sfun,0); in sh_subshell()
H A Dinit.c1034 mp = (Namval_t*)dtprev(shp->fun_tree,&fake); in get_math()
1035 while(mp=(Namval_t*)dtnext(shp->fun_tree,mp)) in get_math()
1059 mp = (Namval_t*)dtprev(shp->fun_tree,&fake); in setdisc_any()
1060 return((char*)dtnext(shp->fun_tree,mp)); in setdisc_any()
1069 mp = nv_search(name, shp->fun_tree, action?NV_ADD:0); in setdisc_any()
1072 return(mp?(char*)dtnext(shp->fun_tree,mp):0); in setdisc_any()
1613 for(np=dtfirst(shp->fun_tree);np;np=npnext) in sh_reinit()
1615 if((dp=shp->fun_tree)->walk) in sh_reinit()
1617 npnext = (Namval_t*)dtnext(shp->fun_tree,np); in sh_reinit()
1925 shp->fun_tree in nv_init()
[all...]
H A Dexpand.c124 extra += scantree(shp->fun_tree,pattern,arghead); in path_expand()
H A Dparse.c836 Namval_t *np= nv_open(t->funct.functnam,shp->fun_tree,NV_ADD|NV_VARNAME); in funct()
1027 else if(type!=NV_ARRAY && n!=FUNCTSYM && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr(np,BLT_DCL)|| np==SYSDOT))) in assign()
1047 if(path_search(lexp->sh,lexp->arg->argval,NIL(Pathcomp_t**),1) && (np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && nv_isattr(np,BLT_DCL)) in assign()
1082 if((n!=FUNCTSYM) && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr(np,BLT_DCL)||np==SYSDOT))) in assign()
1469 Namval_t *np=nv_bfsearch(argp->argval,lexp->sh->fun_tree, (Namval_t**)&t->comnamq,(char**)0); in simple()
H A Dxec.c848 nv_scan(shp->fun_tree, print_fun, (void*)0,0, 0); in sh_coexec()
1115 np = dtsearch(shp->fun_tree,np); in sh_exec()
1135 Dt_t *root = command?shp->bltin_tree:shp->fun_tree; in sh_exec()
1283 np=nv_search(com0,shp->fun_tree,0); in sh_exec()
1512 np = nv_search(com0,shp->fun_tree,HASH_NOSCOPE); in sh_exec()
2801 np->nvalue.rp->fdict = shp->fun_tree; in sh_exec()
2992 t->comnamp = (void*)nv_bfsearch(argv[0],shp->fun_tree,(Namval_t**)&t->comnamq,(char**)0); in sh_run()
3705 nv_scan(shp->fun_tree, print_fun, (void*)0,0, 0); in run_subshell()
3820 if(!np && path && !nv_search(path,shp->fun_tree,0)) in sh_ntfork()
H A Dtrestore.c288 com->comnamp = (void*)nv_search(cmdname,shp->fun_tree,0); in r_comarg()
/titanic_51/usr/src/lib/libshell/common/include/
H A Dshell.h133 Dt_t *fun_tree; /* for shell functions */ member
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshell.h139 Dt_t *fun_tree; /* for shell functions */ member
/titanic_51/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member
/titanic_51/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_51/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member
/titanic_51/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h142 Dt_t *fun_tree; /* for shell functions */ member

12