Searched refs:NV_NOFREE (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/data/
H A Daliases.c35 "2d", NV_NOFREE, "set -f;_2d",
37 "autoload", NV_NOFREE, "typeset -fu",
38 "command", NV_NOFREE, "command ",
39 "compound", NV_NOFREE, "typeset -C",
40 "fc", NV_NOFREE, "hist",
41 "float", NV_NOFREE, "typeset -lE",
42 "functions", NV_NOFREE, "typeset -f",
43 "hash", NV_NOFREE, "alias -t --",
44 "history", NV_NOFREE, "hist -l",
45 "integer", NV_NOFREE, "typese
[all...]
H A Dvariables.c40 "PS2", NV_NOFREE, "> ",
41 "IFS", NV_NOFREE, " \t\n",
46 "SHELL", NV_NOFREE, "/bin/" SH_STD,
48 "MAILCHECK", NV_NOFREE|NV_INTEGER, (char*)0,
49 "RANDOM", NV_NOFREE|NV_INTEGER, (char*)0,
50 "ENV", NV_NOFREE, (char*)0,
53 "HISTEDIT", NV_NOFREE, (char*)0,
54 "HISTCMD", NV_NOFREE|NV_INTEGER, (char*)0,
55 "FCEDIT", NV_NOFREE, "/bin/ed",
58 "PS3", NV_NOFREE, "#
[all...]
H A Dsolaris_cmdlist.h45 { "/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
47 { "/usr/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
49 { "/sbin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
51 { "/usr/sbin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
54 { "/usr/xpg6/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
56 { "/usr/xpg4/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
60 { "/usr/gnu/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
69 { "/usr/ast/bin/" #f, NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f) },
H A Dbuiltins.c44 #define CMDLIST(f) SH_CMDLIB_DIR "/" Q(f), NV_BLTIN|NV_BLTINOPT|NV_NOFREE, bltin(f),
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c272 nv_onattr(SH_VALNOD,NV_NOFREE);
277 nv_putval(SH_VALNOD, val, (flags&NV_INTEGER)?flags:NV_NOFREE);
335 if((nq=vp->disc[n]) && !nv_isattr(nq,NV_NOFREE))
368 nv_onattr(SH_VALNOD,NV_NOFREE);
584 if(!val && !(flag&NV_NOFREE))
591 if((mp=vp->bltins[i]) && !nv_isattr(mp,NV_NOFREE))
595 if(mp->nvfun && !nv_isattr(mp,NV_NOFREE))
879 * NV_NOFREE - mark the new node as nofree
908 mp->nvflag |= np->nvflag&~(NV_ARRAY|NV_MINIMAL|NV_NOFREE);
928 nv_offattr(mp,NV_NOFREE);
[all...]
H A Dbash.c358 nv_putval(np, BASH_HOSTTYPE, NV_NOFREE);
360 nv_putval(np, BASH_MACHTYPE, NV_NOFREE);
362 nv_putval(np, BASH_VERSION, NV_NOFREE);
H A Darray.c169 nofree = nv_isattr(mp,NV_NOFREE);
185 nv_onattr(np,NV_NOFREE);
187 nv_offattr(np,NV_NOFREE);
320 if(!nv_clone(tp,nq,flags|NV_NOFREE))
392 mp->nvflag |= (np->nvflag&~(NV_MINIMAL|NV_NOFREE));
421 if((flags&NV_NOFREE) && !is_associative(ap))
423 else if(nq && (flags&NV_NOFREE))
426 nv_onattr(nq,NV_NOFREE);
496 int scan,nofree = nv_isattr(np,NV_NOFREE);
505 if(!nv_isattr(np,NV_NOFREE))
[all...]
H A Dnvtype.c244 nv_onattr(np,NV_NOFREE);
305 nq ->nvflag = NV_REF|NV_NOFREE|NV_MINIMAL;
344 nv_offattr(nq,NV_NOFREE);
592 if(nv_isattr(mp,NV_NOFREE) && mp->nvalue.cp)
770 nv_onattr(mp,NV_NOFREE);
954 nv_onattr(mnodes[j],NV_NOFREE);
982 nq->nvflag = np->nvflag|NV_NOFREE|NV_MINIMAL;
1008 nv_onattr(nq,NV_NOFREE);
1045 nq->nvflag = (np->nvflag&~(NV_IMPORT|NV_EXPORT))|NV_NOFREE|NV_MINIMAL;
1080 nv_onattr(nq,NV_NOFREE);
[all...]
H A Dsubshell.c301 nv_delete(mp,walk,NV_NOFREE);
314 nv_clone(np,mp,(add?(nv_isnull(np)?0:NV_NOFREE)|NV_ARRAY:NV_MOVE));
351 nv_putval(mp, nv_getval(np),np->nvflag|NV_NOFREE);
352 if(!nv_isattr(np,NV_NOFREE))
353 nv_offattr(mp,NV_NOFREE);
426 flag = NV_NOFREE;
698 if(nv_isattr(pwdnod,NV_NOFREE))
H A Darith.c42 NV_NOFREE|NV_LDOUBLE,NV_RDONLY
49 NV_NOFREE|NV_LDOUBLE,NV_RDONLY
56 NV_NOFREE|NV_LDOUBLE,NV_RDONLY
H A Dnvtree.c417 if(!fp && !nv_isattr(np,~(NV_MINIMAL|NV_NOFREE)))
423 else if((!np->nvalue.cp||np->nvalue.cp==Empty) && nv_isattr(np,~NV_NOFREE)==NV_MINIMAL && strcmp(np->nvname,"_"))
429 if ((attr=nv_isattr(np,~NV_NOFREE)) || fp)
484 if((ap && (ap->nelem&ARRAY_TREE)) || (!ap && nv_isattr(np,NV_NOFREE)))
704 if(sh.subshell==0 && !(wp->flags&NV_RDONLY) && !nv_isattr(np,NV_MINIMAL|NV_NOFREE))
726 if((np->nvalue.cp && np->nvalue.cp!=Empty) || nv_isattr(np,~(NV_MINIMAL|NV_NOFREE)) || nv_isvtree(np))
1046 if(!val && !fp->next && nv_isattr(np,NV_NOFREE))
H A Dname.c214 nv_delete(np,root,NV_NOFREE);
232 nv_delete(sp->nodes[0],root,NV_NOFREE);
518 L_ARGNOD->nvflag = NV_REF|NV_NOFREE;
860 nv_onattr(np,NV_NOFREE);
1070 * if flags does not contain NV_NOFREE, the node is freed
1087 if(!(flags&NV_NOFREE) && ((flags&NV_FUNCTION) || !nv_subsaved(np)))
1354 * If <flags> contains NV_NOFREE, previous value is freed, and <string>
1389 if(flags&(NV_NOREF|NV_NOFREE))
1391 if(np->nvalue.cp && np->nvalue.cp!=sp && !nv_isattr(np,NV_NOFREE))
1394 nv_setattr(np,(flags&~NV_RDONLY)|NV_NOFREE);
[all...]
H A Dxec.c385 nv_onattr(SH_LEVELNOD,NV_INT16|NV_NOFREE);
440 if(!SH_LEVELNOD->nvfun || !SH_LEVELNOD->nvfun->disc || nv_isattr(SH_LEVELNOD,NV_INT16|NV_NOFREE)!=(NV_INT16|NV_NOFREE))
451 nv_putval(SH_PATHNAMENOD,shp->st.filename,NV_NOFREE);
452 nv_putval(SH_FUNNAMENOD,shp->st.funname,NV_NOFREE);
625 nv_putval(SH_NAMENOD, cp, NV_NOFREE);
628 L_ARGNOD->nvflag = NV_REF|NV_NOFREE;
633 nv_putval(SH_SUBSCRNOD,nr->sub=sp,NV_NOFREE);
1977 nv_putval(np,(char*)root,NV_TABLE|NV_NOFREE); local
2218 nv_onattr(L_ARGNOD,NV_NOFREE);
[all...]
H A Dpath.c259 nv_offattr(PWDNOD,NV_NOFREE);
274 nv_offattr(PWDNOD,NV_NOFREE);
278 nv_onattr(PWDNOD,NV_NOFREE|NV_EXPORT);
299 nv_delete(np,sh_bltin_tree(),NV_NOFREE);
645 nv_delete(np,funtree,NV_NOFREE);
1702 nv_delete(rp->np,rp->fdict,NV_NOFREE);
1789 nv_setattr(np,NV_TAGGED|NV_NOFREE);
H A Dinit.c691 if(shp->lastarg && !nv_isattr(np,NV_NOFREE))
694 nv_offattr(np,NV_NOFREE);
1360 nv_delete(np,dp,NV_NOFREE);
1407 nv_onattr(SHLVL,NV_INTEGER|NV_EXPORT|NV_NOFREE);
1519 nv_onattr(np,NV_RDONLY|NV_MINIMAL|NV_NOFREE|NV_INTEGER);
1641 nv_putval(np,".sh.global",NV_RDONLY|NV_NOFREE);
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dnval.h133 #define NV_NOFREE 0x200 /* don't free the space when releasing value */ macro
170 #define NV_ASSIGN NV_NOFREE /* assignment is possible */
H A Dname.h110 #define NV_NOCHANGE (NV_EXPORT|NV_IMPORT|NV_RDONLY|NV_TAGGED|NV_NOFREE|NV_ARRAY)
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dnval.h142 #define NV_NOFREE 0x200 /* don't free the space when releasing value */ macro
179 #define NV_ASSIGN NV_NOFREE /* assignment is possible */
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dnval.h142 #define NV_NOFREE 0x200 /* don't free the space when releasing value */ macro
179 #define NV_ASSIGN NV_NOFREE /* assignment is possible */
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dnval.h142 #define NV_NOFREE 0x200 /* don't free the space when releasing value */ macro
179 #define NV_ASSIGN NV_NOFREE /* assignment is possible */
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dnval.h142 #define NV_NOFREE 0x200 /* don't free the space when releasing value */ macro
179 #define NV_ASSIGN NV_NOFREE /* assignment is possible */
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dcd_pwd.c201 nv_onattr(pwdnod,NV_NOFREE|NV_EXPORT);
H A Dtypeset.c541 nv_onattr(np,NV_ARRAY|(comvar?NV_NOFREE:0));
560 nv_onattr(np,NV_NOFREE);
1030 nv_delete(np,dp,NV_NOFREE);
1032 nv_delete(np,troot,NV_NOFREE);
1185 if((np=nv_search(*argv++,root,0)) && np!=onp && (!nv_isnull(np) || np->nvfun || nv_isattr(np,~NV_NOFREE)))
H A Dmisc.c279 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
313 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
H A Dshiocmd_solaris.c235 nv_putval(nq,val,fp->flags|NV_NOFREE);
358 if(np->nvalue && !nv_isattr(np,NV_NOFREE))

Completed in 141 milliseconds

12