Searched refs:NV_RDONLY (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/data/
H A Dvariables.c81 ".sh", NV_TABLE|NV_RDONLY|NV_NOFREE|NV_NOPRINT,(char*)0,
97 ".sh.lineno", NV_INTEGER|NV_RDONLY, (char*)0,
98 ".sh.stats", NV_RDONLY, (char*)0,
H A Doptions.c127 {"-rreadonly", NV_RDONLY},
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c402 { "atime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_atime), sizeof(Sp->st_atime), make_time},
403 { "ctime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_ctime), sizeof(Sp->st_ctime), make_time},
404 { "dev", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_dev),sizeof(Sp->st_dev)},
405 { "fd", NV_INTEGER|NV_RDONLY, offsetof(struct filedata,fd), sizeof(int)},
406 { "gid", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_gid), sizeof(Sp->st_gid)},
407 { "ino", NV_LONG|NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_ino), sizeof(Sp->st_ino)},
408 { "mode", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_mode), sizeof(Sp->st_mode), make_mode},
409 { "mtime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_mtime), sizeof(Sp->st_mtime), make_time},
410 { "name", NV_RDONLY, offsetof(struct filedata,name), -1 },
411 { "nlink", NV_INTEGER|NV_RDONLY, offseto
[all...]
H A Dgetopts.c173 nv_putval(np, opt_info.arg, NV_RDONLY);
178 nv_putval(np, key, NV_RDONLY);
184 nv_putval(np, (char*)&d, NV_LDOUBLE|NV_RDONLY); local
187 nv_putval(np, opt_info.arg, NV_RDONLY);
H A Dcd_pwd.c193 nv_putval(opwdnod,oldpwd,NV_RDONLY);
200 nv_putval(pwdnod,dir,NV_RDONLY);
H A Dread.c289 nv_putval(mp, ifs, NV_RDONLY);
487 if(nv_isattr(np, NV_RDONLY))
664 if(nv_isattr(np, NV_RDONLY))
704 if(nv_isattr(np, NV_RDONLY))
H A Dtypeset.c109 flag = (NV_ASSIGN|NV_RDONLY|NV_VARNAME);
180 nv_putval(PATHNOD,nv_getval(PATHNOD),NV_RDONLY);
311 flag |= NV_RDONLY;
559 _nv_unset(np,NV_RDONLY);
615 if((flag&NV_RDONLY) && (curflag&NV_RDONLY))
1007 if(is_abuiltin(np) || nv_isattr(np,NV_RDONLY))
1009 if(nv_isattr(np,NV_RDONLY))
H A Denum.c262 nv_onattr(tp, NV_RDONLY);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dbash.c176 if(val && !(flags&NV_RDONLY))
374 nv_onattr(np,NV_RDONLY);
417 nv_offattr(np,NV_RDONLY);
H A Dnvtype.c247 np->nvflag = mp->nvflag&~NV_RDONLY;
388 dp->fun.nofree = (flags&NV_RDONLY?1:0);
404 if(nq->nvalue.cp || !nv_isvtree(nq) || nv_isattr(nq,NV_RDONLY))
426 if(nv_isattr(nq,NV_RDONLY) && (nq->nvalue.cp || nv_isattr(nq,NV_INTEGER)))
459 nv_putval(nq,nv_getval(nr),NV_RDONLY);
470 else if(nv_isattr(nq,NV_RDONLY) && !nq->nvalue.cp && !nv_isattr(nq,NV_INTEGER))
564 _nv_unset(nq,flag|NV_TYPE|nv_isattr(nq,NV_RDONLY));
598 nv_offattr(mp,NV_RDONLY);
638 nv_offattr(np,NV_RDONLY);
648 nv_onattr(np,NV_RDONLY);
[all...]
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 Dinit.c288 if(!(flags&NV_RDONLY) && sh_isoption(SH_RESTRICTED))
296 if(val && !(flags&NV_RDONLY) && np->nvalue.cp && strcmp(val,np->nvalue.cp)==0)
317 nv_putval(mp,val,NV_RDONLY);
878 nv_putval(PATHNOD,stakseek(0),NV_RDONLY);
1143 nv_putval(ENVNOD,sfstruse(shp->strbuf),NV_RDONLY);
1183 nv_putval(IFSNOD,(char*)e_sptbnl,NV_RDONLY);
1519 nv_onattr(np,NV_RDONLY|NV_MINIMAL|NV_NOFREE|NV_INTEGER);
1616 nv_onattr(SH_MATCHNOD,NV_RDONLY);
1639 nv_onattr(np,NV_RDONLY);
1641 nv_putval(np,".sh.global",NV_RDONLY|NV_NOFRE
[all...]
H A Darray.c72 aq->hdr.nofree |= (flags&NV_RDONLY)?1:0;
303 int rdonly = nv_isattr(np,NV_RDONLY);
313 _nv_unset(nq,NV_RDONLY);
324 nv_offattr(nq,NV_RDONLY);
440 nv_putval(mp,nv_getval(np),NV_RDONLY);
506 _nv_unset(mp,flags&NV_RDONLY);
588 _nv_unset(nv_namptr(aq->xp,0),NV_RDONLY);
733 nv_offattr(np,NV_RDONLY);
1206 _nv_unset(ap->cur,NV_RDONLY);
H A Dmain.c176 nv_putval(PS4NOD,e_traceprompt,NV_RDONLY);
371 nv_putval(IFSNOD,(char*)e_sptbnl,NV_RDONLY);
417 nv_putval(PS1NOD,(shp->euserid?e_stdprompt:e_supprompt),NV_RDONLY);
H A Dname.c1286 nv_putval(np, cp, NV_RDONLY);
1352 * If <flags> contains NV_RDONLY, readonly attribute is ignored
1366 if(!(flags&NV_RDONLY) && nv_isattr (np, NV_RDONLY))
1394 nv_setattr(np,(flags&~NV_RDONLY)|NV_NOFREE);
1869 flag = nv_isattr(np,NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER);
1894 flag &= (NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER);
1925 if(nv_isattr(np,NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER))
1944 nv_scan(sh.var_tree, attstore,(void*)0,0,(NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER));
1973 nv_scan(shp->var_tree, attstore,&data,0,(NV_RDONLY|NV_UTO
[all...]
H A Dfault.c79 nv_putval(COLUMNS, (char*)&v, NV_INT32|NV_RDONLY); local
81 nv_putval(LINES, (char*)&v, NV_INT32|NV_RDONLY); local
H A Dnvdisc.c149 _nv_unset(np, flags&(NV_RDONLY|NV_EXPORT));
312 nv_putv(np,cp,flags|NV_RDONLY,handle);
388 _nv_unset(SH_VALNOD,NV_RDONLY);
623 nfp->nofree |= (flags&NV_RDONLY)?1:0;
H A Dsubshell.c338 _nv_unset(mp,NV_RDONLY|NV_CLONE);
429 _nv_unset(np,NV_RDONLY);
H A Dnvtree.c438 attr &= NV_RDONLY|NV_ARRAY;
701 _nv_unset(np,NV_RDONLY);
704 if(sh.subshell==0 && !(wp->flags&NV_RDONLY) && !nv_isattr(np,NV_MINIMAL|NV_NOFREE))
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dname.h110 #define NV_NOCHANGE (NV_EXPORT|NV_IMPORT|NV_RDONLY|NV_TAGGED|NV_NOFREE|NV_ARRAY)
127 #define BLT_ENV (NV_RDONLY) /* non-stoppable,
H A Dnval.h152 #define NV_RDONLY 0x1 /* readonly bit */ macro
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dnval.h161 #define NV_RDONLY 0x1 /* readonly bit */ macro
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dnval.h161 #define NV_RDONLY 0x1 /* readonly bit */ macro
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dnval.h161 #define NV_RDONLY 0x1 /* readonly bit */ macro
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dnval.h161 #define NV_RDONLY 0x1 /* readonly bit */ macro

Completed in 132 milliseconds

12