/illumos-gate/usr/src/lib/libshell/common/data/ |
H A D | variables.c | 81 ".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 D | options.c | 127 {"-rreadonly", NV_RDONLY},
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | shiocmd_solaris.c | 402 { "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 D | getopts.c | 173 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 D | cd_pwd.c | 193 nv_putval(opwdnod,oldpwd,NV_RDONLY); 200 nv_putval(pwdnod,dir,NV_RDONLY);
|
H A D | read.c | 289 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 D | typeset.c | 109 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 D | enum.c | 262 nv_onattr(tp, NV_RDONLY);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | bash.c | 176 if(val && !(flags&NV_RDONLY)) 374 nv_onattr(np,NV_RDONLY); 417 nv_offattr(np,NV_RDONLY);
|
H A D | nvtype.c | 247 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 D | arith.c | 42 NV_NOFREE|NV_LDOUBLE,NV_RDONLY 49 NV_NOFREE|NV_LDOUBLE,NV_RDONLY 56 NV_NOFREE|NV_LDOUBLE,NV_RDONLY
|
H A D | init.c | 288 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 D | array.c | 72 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 D | main.c | 176 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 D | name.c | 1286 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 D | fault.c | 79 nv_putval(COLUMNS, (char*)&v, NV_INT32|NV_RDONLY); local 81 nv_putval(LINES, (char*)&v, NV_INT32|NV_RDONLY); local
|
H A D | nvdisc.c | 149 _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 D | subshell.c | 338 _nv_unset(mp,NV_RDONLY|NV_CLONE); 429 _nv_unset(np,NV_RDONLY);
|
H A D | nvtree.c | 438 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 D | name.h | 110 #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 D | nval.h | 152 #define NV_RDONLY 0x1 /* readonly bit */ macro
|
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|
/illumos-gate/usr/src/lib/libshell/i386/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|