/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | whence.c | 167 if((np=nv_search(name,shp->alias_tree,0)) in whence() 244 if(!np && (np=nv_search(name,shp->track_tree,0))) in whence() 252 if(*cp=='/' && (np=nv_search(cp,shp->bltin_tree,0))) in whence()
|
H A D | typeset.c | 475 if((np=nv_search(name,shp->bltin_tree,0)) && nv_isattr(np,BLT_SPC)) in b_common() 479 else if((np=nv_search(name,troot,0)) && !is_afunction(np)) in b_common() 502 if((np=nv_search(stkptr(shp->stk,offset),troot,0)) && np->nvalue.cp) in b_common() 511 np = nv_search(name,troot,NV_ADD); in b_common() 1185 …if((np=nv_search(*argv++,root,0)) && np!=onp && (!nv_isnull(np) || np->nvfun || nv_isattr(np,~NV_N… in print_scan()
|
H A D | getopts.c | 40 if(nv_search(s,sh.fun_tree,0)) in infof()
|
H A D | enum.c | 280 mp = nv_search("typeset",shp->bltin_tree,0); in lib_init()
|
H A D | misc.c | 133 (*cp=0,np=nv_search(arg->argval,shp->var_tree,0))) in B_login() 238 np = nv_search(script,shp->fun_tree,0); in b_dot_cmd()
|
H A D | shiocmd_solaris.c | 115 dp->format = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD); in make_time() 232 nq = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD); in sh_newnode()
|
/titanic_50/usr/src/lib/libshell/common/include/ |
H A D | nval.h | 283 extern Namval_t *nv_search(const char *, Dt_t*, int); 307 # define nv_search(np,a,b) nv_open(np,a,((b)?0:NV_NOADD))
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | array.c | 275 mp = nv_search(cp, ap->header.table, NV_ADD); in array_find() 310 if(nq = nv_search(sub, ap->table, NV_ADD)) in nv_arraysettype() 411 mq = nv_search(name,ap->table,NV_ADD); in array_clone() 679 mp = nv_search("0", ap->header.table,NV_ADD); in array_grow() 1204 …if(!ap->header.scope || (Dt_t*)ap->header.scope==ap->header.table || !nv_search(ap->cur->nvname,(D… in nv_associative() 1281 if(sh.subshell && (mp=nv_search(sp,ap->header.table,0)) && nv_isnull(mp)) in nv_associative() 1283 if((mp || (mp=nv_search(sp,ap->header.table,mode))) && nv_isnull(mp) && (mode&NV_ADD)) in nv_associative() 1291 if(!ap->header.scope || !nv_search(sp,dtvnext(ap->header.table),0)) in nv_associative() 1308 mp = nv_search(sp,ap->header.table,NV_ADD); in nv_associative()
|
H A D | arith.c | 95 …lvalue->emode&ARITH_COMP) && dtvnext(root) && ((mp=nv_search(cp,root,flags))||(sdict && (mp=nv_sea… in scope()
|
H A D | name.c | 215 np = nv_search(sp->rp->nvname,root,NV_ADD); in nv_addnode() 755 if(np = nv_search(name,shp->var_tree,0)) in nv_create() 788 np = nv_search(name,root,HASH_NOSCOPE|NV_ADD); in nv_create() 791 if(np || (np = nv_search(name,root,mode))) in nv_create() 993 if(ap && ap->table && (nq=nv_search(sub,ap->table,n))) in nv_create() 1157 np = nv_search(name,root,mode); in nv_open() 1183 np = nv_search(name, root, (flags&NV_NOADD)?0:NV_ADD); in nv_open() 1259 np = nv_search(name, funroot, c); in nv_open() 1317 if(nv_search((char*)np,shp->var_base,HASH_BUCKET)) in nv_open() 2206 … if(rp->fname && shp->fpathdict && (rq = (struct Ufunction*)nv_search(rp->fname,shp->fpathdict,0))) in _nv_unset() [all …]
|
H A D | path.c | 710 …if((np=nv_search(name,shp->track_tree,0)) && !nv_isattr(np,NV_NOALIAS) && (pp=(Pathcomp_t*)np->nva… in path_search() 720 if(!pp && (np=nv_search(name,shp->fun_tree,HASH_NOSCOPE))&&np->nvalue.ip) in path_search() 744 if(np=nv_search(name,shp->track_tree,NV_ADD)) in path_search() 783 if(*stakptr(PATH_OFFSET)=='/' && nv_search(stakptr(PATH_OFFSET),sh.bltin_tree,0)) in path_absolute() 854 np = nv_search(stakptr(n),sh.bltin_tree,0); in path_absolute() 1028 np=nv_search(argv[0],shp->track_tree,0); in path_spawn()
|
H A D | nvdisc.c | 1011 Namval_t *nv_search(const char *name, Dt_t *root, int mode) in nv_search() function 1092 return(var?nv_search(name,root,0):0); in nv_bfsearch() 1140 if(np = nv_search(path,sh.bltin_tree,0)) in sh_addbuiltin() 1172 if(!np && !(np = nv_search(path,sh.bltin_tree,bltin?NV_ADD:0))) in sh_addbuiltin()
|
H A D | xec.c | 891 if((np=nv_search(com0,shp->fun_tree,0)) && !np->nvalue.ip) in sh_exec() 893 Namval_t *mp=nv_search(com0,shp->bltin_tree,0); in sh_exec() 900 if((np=nv_search(com0,shp->track_tree,0)) && !nv_isattr(np,NV_NOALIAS) && np->nvalue.cp) in sh_exec() 901 np=nv_search(nv_getval(np),shp->bltin_tree,0); in sh_exec() 1102 np = nv_search(com0,shp->fun_tree,HASH_NOSCOPE); in sh_exec() 2024 else if((np=nv_search(fname,shp->bltin_tree,0)) && nv_isattr(np,BLT_SPC)) in sh_exec() 2542 …if((cp = nv_getval(np)) && (mp = nv_search(nv_name(np), sh.var_tree, NV_ADD|HASH_NOSCOPE)) && nv_i… in local_exports() 3023 if(!np && path && !nv_search(path,shp->fun_tree,0)) in sh_ntfork() 3148 if((np=nv_search(path,shp->track_tree,0)) && !nv_isattr(np,NV_NOALIAS) && np->nvalue.cp) 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 | nvtree.c | 224 np = nv_search(last,dp->root,0); in nv_diropen() 954 nq = nv_search(cp,walk.root,NV_NOADD); in walk_tree()
|
H A D | fault.c | 625 if(nv_search("VMTRACE", shp->var_tree,0)) in sh_done()
|
H A D | nvtype.c | 713 if((nq = nv_search(stakptr(offset),sh.fun_tree,0)) && nq->nvalue.cp) in typeinfo() 794 mp = nv_search("typeset",shp->bltin_tree,0); in nv_addtype() 799 if((bp=nv_search(name,shp->fun_tree,NV_NOSCOPE)) && !bp->nvalue.ip) in nv_addtype()
|
H A D | macro.c | 911 np = nv_search(id, shp->var_tree,0); in prefix() 2503 if(logins_tree && (np=nv_search(string,logins_tree,0))) in sh_tilde() 2509 if(np=nv_search(string,logins_tree,NV_ADD)) in sh_tilde()
|
H A D | parse.c | 947 …else if(n!=FUNCTSYM && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp-… in assign() 986 …if((n!=FUNCTSYM) && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh… in assign() 1912 np = nv_search(stakptr(offset),lexp->entity_tree,NV_ADD); in kiaentity()
|
/titanic_50/usr/src/lib/libshell/i386/include/ast/ |
H A D | nval.h | 294 extern __MANGLE__ Namval_t *nv_search __PROTO__((const char *, Dt_t*, int)); 319 # define nv_search(np,a,b) nv_open(np,a,((b)?0:NV_NOADD))
|
/titanic_50/usr/src/lib/libshell/sparc/include/ast/ |
H A D | nval.h | 294 extern __MANGLE__ Namval_t *nv_search __PROTO__((const char *, Dt_t*, int)); 319 # define nv_search(np,a,b) nv_open(np,a,((b)?0:NV_NOADD))
|
/titanic_50/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | nval.h | 294 extern __MANGLE__ Namval_t *nv_search __PROTO__((const char *, Dt_t*, int)); 319 # define nv_search(np,a,b) nv_open(np,a,((b)?0:NV_NOADD))
|
/titanic_50/usr/src/lib/libshell/amd64/include/ast/ |
H A D | nval.h | 294 extern __MANGLE__ Namval_t *nv_search __PROTO__((const char *, Dt_t*, int)); 319 # define nv_search(np,a,b) nv_open(np,a,((b)?0:NV_NOADD))
|
/titanic_50/usr/src/lib/libshell/common/edit/ |
H A D | completion.c | 416 …if(*cp=='/' && (pp=path_dirfind(sh.pathlist,cp,'/')) && (np=nv_search(begin,sh.track_tree,NV_ADD))) in ed_expand() 506 if (isalnum(i)&&(np=nv_search(ep->e_macro,sh.alias_tree,HASH_SCOPE))&&(out=nv_getval(np))) in ed_macro()
|
/titanic_50/usr/src/lib/libshell/ |
H A D | mapfile-vers | 118 nv_search;
|