Home
last modified time | relevance | path

Searched refs:nv_isnull (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dwhence.c168 && !nv_isnull(np) && !(notrack=nv_isattr(np,NV_TAGGED)) in whence()
190 if(is_abuiltin(np) && nv_isnull(np)) in whence()
195 if(nv_isnull(np)) in whence()
253 else if(!np || nv_isnull(np)) in whence()
H A Dshiocmd_solaris.c29 #undef nv_isnull
580 if(!nv_isnull(np)) in b_open()
703 if(!nv_isnull(np)) in b_tmpfile()
778 if(!nv_isnull(np)) in b_dup()
850 if(!nv_isnull(np)) in b_stat()
H A Dtypeset.c442 else if(nv_isnull(tdata.tp)) in b_typeset()
465 if(nv_isnull(np)) in print_value()
603 if(np && ((flag&NV_LTOU) || !nv_isnull(np) || nv_isattr(np,NV_LTOU))) in setall()
644 if(nv_isnull(np) && !nv_isarray(np) && nv_isattr(np,NV_NOFREE)) in setall()
667 if(troot!=shp->var_tree && (nv_isnull(np) || !print_namval(sfstdout,np,0,tp))) in setall()
688 else if(nv_isnull(np)) in setall()
1253 if(!nv_isnull(np) || nv_size(np) || nv_isattr(np,~(NV_MINIMAL|NV_NOFREE))) in unall()
1302 …outname = (*tp->prefix=='t' && (!nv_isnull(np) || nv_isattr(np,NV_FLOAT|NV_RDONLY|NV_BINARY|NV_RJ… in print_namval()
1457 …if((np=nv_search(*argv++,root,0)) && np!=onp && (!nv_isnull(np) || np->nvfun || nv_isattr(np,~NV_N… in print_scan()
H A Dpoll_solaris.c29 #undef nv_isnull
H A Dalarm.c263 if(!nv_isnull(np)) in b_alarm()
H A Dtest.c452 return(!nv_isnull(np) || nv_isattr(np,NV_INTEGER)); in test_unop()
H A Dprint.c536 if(!np || nv_isnull(np)) in fmtbase64()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darith.c82 …if((!(np = nv_open(cp,shp->var_tree,assign|NV_VARNAME|NV_NOADD|NV_NOFAIL)) || nv_isnull(np)) && sh… in scope()
102 else if(assign==NV_ASSIGN && nv_isnull(np) && !nv_isattr(np, ~(NV_MINIMAL|NV_NOFREE))) in scope()
186 if(nq && nv_isnull(nq)) in scope()
469 …if(((lvalue->emode&2) || lvalue->level>1 || sh_isoption(SH_NOUNSET)) && nv_isnull(np) && !nv_isatt… in arith()
H A Darray.c251 return((np = nv_opensub(np)) && !nv_isnull(np)); in nv_arrayisset()
766 if(!nv_isnull(np)) in array_putval()
848 if((nv_isnull(np)||np->nvalue.cp==Empty) && nv_isattr(np,NV_NOFREE)) in array_grow()
859 if(mp && nv_isnull(mp)) in array_grow()
873 else if(nv_isattr(np,NV_INTEGER) && !nv_isnull(np)) in array_grow()
993 if(nv_isnull(np) && nv_isattr(np,NV_NOFREE)) in nv_setarray()
1722 if(!nv_isnull(ap->cur)) in nv_associative()
1746 if(!shp->instance && nv_isnull(ap->cur)) in nv_associative()
1765 if(sh.subshell && (mp=nv_search(sp,ap->header.table,0)) && nv_isnull(mp)) in nv_associative()
1767 if((mp || (mp=nv_search(sp,ap->header.table,mode))) && nv_isnull(mp) && (mode&NV_ADD)) in nv_associative()
[all …]
H A Dname.c220 if(sp->numnodes==0 && !nv_isnull(np) && shp->last_table) in nv_addnode()
395 if(nv_isattr(np,NV_NOFREE) && nv_isnull(np)) in nv_setlist()
399 if(typ && !array && (!shp->prefix || nv_isnull(np) || nv_isarray(np))) in nv_setlist()
401 if(!(nv_isnull(np)) && !nv_isarray(np)) in nv_setlist()
405 if((flags&NV_STATIC) && !nv_isattr(np,NV_EXPORT) && !nv_isnull(np)) in nv_setlist()
544 if(!nv_isnull(np) && np->nvalue.cp!=Empty && !nv_isvtree(np)) in nv_setlist()
894 if(nv_isnull(np) && c!='.' && ((np->nvfun=nv_cover(nq)) || nq==OPTINDNOD)) in nv_create()
911 else if(add && nv_isnull(np) && c=='.' && cp[1]!='.') in nv_create()
974 if((flags&NV_ASSIGN) && (!nq || nv_isnull(nq))) in nv_create()
1014 if(*cp==0 && nv_isnull(np) && !nv_isarray(np)) in nv_create()
[all …]
H A Dnvdisc.c279 if(!nv_isnull(SH_VALNOD)) in assign()
309 if(nv_isnull(SH_VALNOD)) in assign()
380 if(!nv_isnull(SH_VALNOD)) in lookup()
403 if(!nv_isnull(&node)) in lookup()
1372 if(!nv_isnull(np) || np->nvfun || nv_isattr(np,~NV_NOFREE)) in get_table()
1454 if(!nv_isnull(mp)) in nv_mount()
H A Dmain.c159 if(nv_isnull(PS4NOD)) in sh_main()
404 if(nv_isnull(PS1NOD)) in exfile()
H A Dexpand.c226 for(;np && !nv_isnull(np);(np = (Namval_t*)dtnext(tree,np))) in scantree()
H A Dmacro.c1329 if((!np || nv_isnull(np)) && type==M_BRACE && c==RBRACE && !(flag&NV_ARRAY) && strchr(id,'.')) in varsub()
1337 if(np && (flag&NV_NOADD) && nv_isnull(np)) in varsub()
1444 v = nv_isnull(np)?0:(char*)"x"; in varsub()
1581 if(newops && sh_isoption(SH_NOUNSET) && *id && id!=idbuff && (!np || nv_isnull(np))) in varsub()
1986 …else if(var && sh_isoption(SH_NOUNSET) && type<=M_TREE && (!np || nv_isnull(np) || (nv_isarray(np… in varsub()
2765 if(nv_isnull(SH_DOLLARNOD)) in special()
H A Dnvtree.c291 if(nv_isnull(np) && !nv_isarray(np) && !nv_isattr(np,NV_INTEGER)) in nv_dirnext()
744 if(nv_isnull(np) && !nv_isarray(np) && !nv_isattr(np,NV_INTEGER)) in outval()
769 if(isarray==0 && nv_isarray(np) && (nv_isnull(np)||np->nvalue.cp==Empty)) /* empty array */ in outval()
H A Dnvtype.c1191 if(!nv_isnull(np)) in nv_mktype()
1314 int isnull = nv_isnull(np); in nv_settype()
1644 if(nv_isnull(tp)) in sh_outtype()
H A Dsubshell.c309 nv_clone(np,mp,(add?(nv_isnull(np)?0:NV_NOFREE)|NV_ARRAY:NV_MOVE)); in sh_assignok()
H A Dinit.c2119 if(nv_isnull(PWDNOD) || nv_isattr(PWDNOD,NV_TAGGED)) in env_init()
H A Dxec.c3289 …_getval(np)) && (mp = nv_search(nv_name(np), shp->var_tree, NV_ADD|HASH_NOSCOPE)) && nv_isnull(mp)) in local_exports()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dname.h176 #define nv_isnull(np) (!(np)->nvalue.cp && (nv_isattr(np,NV_SHORT|NV_INTEGER)!=(NV_SHORT|NV_INTEGER… macro
H A Dnval.h274 extern int nv_isnull(Namval_t*);
/illumos-gate/usr/src/cmd/ast/libshell/
H A Dmapfile-vers103 nv_isnull;