/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | poll_solaris.c | 287 array_np = nv_open(varname, shp->var_tree, NV_NOFAIL|NV_NOADD); in b_poll() 324 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].fd", varname, subname); in b_poll() 333 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].events", varname, subname); in b_poll()
|
H A D | enum.c | 226 …if(!(np = nv_open(cp, (void*)0, NV_VARNAME|NV_NOADD)) || !(ap=nv_arrayptr(np)) || ap->fun || (sz=… in enum_create()
|
H A D | typeset.c | 543 nvflags |= NV_NOADD; in setall() 555 nvflags |= (NV_NOREF|NV_NOADD|NV_NOFAIL); in setall() 641 …root,nvflags|((nvflags&NV_ASSIGN)?0:NV_ARRAY)|((iarray|(nvflags&(NV_REF|NV_NOADD)==NV_REF))?NV_FAR… in setall() 1220 np=nv_open(name,troot,NV_NOADD|nflag); in unall()
|
H A D | test.c | 437 if(!(np = nv_open(arg,shp->var_tree,NV_VARNAME|NV_NOFAIL|NV_NOADD|NV_NOREF))) in test_unop()
|
H A D | print.c | 533 Namval_t *np = nv_open(string, NiL, NV_VARNAME|NV_NOASSIGN|NV_NOADD); in fmtbase64()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | nval.h | 188 #define NV_NOADD 0x40000 /* do not add node */ macro 196 #define NV_PUBLIC (~(NV_NOSCOPE|NV_ASSIGN|NV_IDENT|NV_VARNAME|NV_NOADD)) 318 # define nv_search(np,a,b) nv_open(np,a,((b)?0:NV_NOADD))
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | arith.c | 82 …if((!(np = nv_open(cp,shp->var_tree,assign|NV_VARNAME|NV_NOADD|NV_NOFAIL)) || nv_isnull(np)) && sh… in scope() 256 while(c=='[' && dot==NV_NOADD) in arith() 263 dot=NV_NOADD; in arith() 326 dot = NV_NOADD|NV_NOFAIL; in arith()
|
H A D | nvtree.c | 83 return((flag&NV_NOADD)?0:np); in create_tree() 220 nv_endsubscript(np,nfp->last,NV_NOADD); in nv_diropen() 703 if(!(np=nv_open(vname,wp->root,mode|NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_NOFAIL|wp->noscope))) in outval() 856 np=nv_open(arg,wp->root,NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_NOFAIL|wp->noscope); in genvalue() 893 Namval_t *np = nv_open(arg,wp->root,NV_VARNAME|NV_NOADD|NV_NOASSIGN|wp->noscope); in genvalue() 1022 nq = nv_open(cp,walk.root,NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_NOFAIL); in walk_tree() 1024 nq = nv_search(cp,walk.root,NV_NOADD); in walk_tree() 1128 …Namval_t *mp = val?nv_open(val,shp->var_tree,NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_ARRAY|NV_NOFAIL):… in put_tree()
|
H A D | name.c | 671 nv_open(shtp.nodes[0]->nvname,shp->var_tree,NV_ASSIGN|NV_VARNAME|NV_NOADD|NV_NOFAIL); in nv_setlist() 818 mode = (c=='.' || (flags&NV_NOADD))?add:NV_ADD; in nv_create() 936 if(c && !(flags&NV_NOADD)) in nv_create() 1169 if(!sub && (flags&NV_NOADD)) in nv_create() 1171 n = mode|((flags&NV_NOADD)?0:NV_ADD); in nv_create() 1188 if(flags&NV_NOADD) in nv_create() 1383 long mode = ((flags&NV_NOADD)?0:NV_ADD); in nv_open() 1412 np = nv_search(name, root, (flags&NV_NOADD)?0:NV_ADD); in nv_open() 1487 c = ((flags&NV_NOSCOPE)?HASH_NOSCOPE:0)|((flags&NV_NOADD)?0:NV_ADD); in nv_open() 1556 … = nv_open(cp,shp->var_tree,NV_NOFAIL|NV_VARNAME|NV_NOARRAY|NV_NOASSIGN|NV_NOADD)) && nv_isvtree(n… in nv_open() [all …]
|
H A D | bash.c | 415 if(np = nv_open("SHELLOPTS", shp->var_tree, NV_NOADD)) in bash_init()
|
H A D | nvtype.c | 433 nr = nv_create(stakptr(offset),root,NV_VARNAME|NV_NOADD,fp); in clone_type() 550 if(val && (nq=nv_open(val,sh.var_tree,NV_VARNAME|NV_ARRAY|NV_NOADD|NV_NOFAIL))) in put_type() 629 np = nv_open(cp=stakptr(offset), sh.var_tree, NV_NOADD|NV_VARNAME); in typeinfo() 1459 tp = nv_open(stakptr(offset), sh.var_tree, NV_VARNAME|NV_NOADD|NV_NOFAIL); in nv_mkstruct() 1629 if(!(mp = nv_open(nvtype, shp->var_base,NV_NOADD|NV_VARNAME))) in sh_outtype()
|
H A D | nvdisc.c | 257 …if(val && (tp=nv_type(np)) && (nr=nv_open(val,sh.var_tree,NV_VARNAME|NV_ARRAY|NV_NOADD|NV_NOFAIL))… in assign() 1134 nq=nv_open(stakptr(offset),0,NV_VARNAME|NV_NOASSIGN|NV_NOADD|NV_NOFAIL); in nv_bfsearch() 1148 nv_endsubscript(nq, cp,NV_NOADD); in nv_bfsearch()
|
H A D | trestore.c | 292 com->comnamp = (void*)nv_open(cmdname,shp->var_tree,NV_VARNAME|NV_NOADD|NV_NOARRAY); in r_comarg()
|
H A D | macro.c | 1302 flag |= NV_NOASSIGN|NV_VARNAME|NV_NOADD; in varsub() 1307 flag &= ~NV_NOADD; in varsub() 1319 flag &= ~NV_NOADD; in varsub() 1337 if(np && (flag&NV_NOADD) && nv_isnull(np)) in varsub()
|
H A D | array.c | 899 tp = nv_open(stakptr(offset), sh.var_tree, NV_NOADD|NV_VARNAME); in nv_atypeindex()
|
H A D | xec.c | 765 nv_open(name,shp->var_tree,NV_IDENT|NV_NOADD); in sh_coinit() 2652 Namval_t *np = nv_open("TIMEFORMAT",shp->var_tree,NV_NOADD); in sh_exec()
|