/titanic_50/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},
|
/titanic_50/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, offsetof(struct stat,st_nlink), sizeof(Sp->st_nlink)}, [all …]
|
H A D | getopts.c | 173 nv_putval(np, opt_info.arg, NV_RDONLY); in b_getopts() 178 nv_putval(np, key, NV_RDONLY); in b_getopts() 184 nv_putval(np, (char*)&d, NV_LDOUBLE|NV_RDONLY); in b_getopts() 187 nv_putval(np, opt_info.arg, NV_RDONLY); in b_getopts()
|
H A D | typeset.c | 109 flag = (NV_ASSIGN|NV_RDONLY|NV_VARNAME); in b_readonly() 180 nv_putval(PATHNOD,nv_getval(PATHNOD),NV_RDONLY); in b_alias() 311 flag |= NV_RDONLY; in b_typeset() 559 _nv_unset(np,NV_RDONLY); in b_common() 615 if((flag&NV_RDONLY) && (curflag&NV_RDONLY)) in b_common() 1007 if(is_abuiltin(np) || nv_isattr(np,NV_RDONLY)) in b_unall() 1009 if(nv_isattr(np,NV_RDONLY)) in b_unall()
|
H A D | cd_pwd.c | 193 nv_putval(opwdnod,oldpwd,NV_RDONLY); in b_cd() 200 nv_putval(pwdnod,dir,NV_RDONLY); in b_cd()
|
H A D | read.c | 289 nv_putval(mp, ifs, NV_RDONLY); in sh_readline() 487 if(nv_isattr(np, NV_RDONLY)) in sh_readline() 664 if(nv_isattr(np, NV_RDONLY)) in sh_readline() 704 if(nv_isattr(np, NV_RDONLY)) in sh_readline()
|
H A D | enum.c | 262 nv_onattr(tp, NV_RDONLY); in enum_create()
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | nvtype.c | 247 np->nvflag = mp->nvflag&~NV_RDONLY; in put_chtype() 388 dp->fun.nofree = (flags&NV_RDONLY?1:0); in clone_type() 404 if(nq->nvalue.cp || !nv_isvtree(nq) || nv_isattr(nq,NV_RDONLY)) in clone_type() 426 if(nv_isattr(nq,NV_RDONLY) && (nq->nvalue.cp || nv_isattr(nq,NV_INTEGER))) in clone_type() 459 nv_putval(nq,nv_getval(nr),NV_RDONLY); in clone_type() 470 else if(nv_isattr(nq,NV_RDONLY) && !nq->nvalue.cp && !nv_isattr(nq,NV_INTEGER)) in clone_type() 564 _nv_unset(nq,flag|NV_TYPE|nv_isattr(nq,NV_RDONLY)); in put_type() 598 nv_offattr(mp,NV_RDONLY); in clone_inttype() 638 nv_offattr(np,NV_RDONLY); in typeinfo() 648 nv_onattr(np,NV_RDONLY); in typeinfo() [all …]
|
H A D | bash.c | 176 if(val && !(flags&NV_RDONLY)) in put_funcname() 374 nv_onattr(np,NV_RDONLY); in bash_init() 417 nv_offattr(np,NV_RDONLY); in bash_init()
|
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)) in put_restricted() 296 if(val && !(flags&NV_RDONLY) && np->nvalue.cp && strcmp(val,np->nvalue.cp)==0) in put_restricted() 317 nv_putval(mp,val,NV_RDONLY); in put_restricted() 878 nv_putval(PATHNOD,stakseek(0),NV_RDONLY); in newconf() 1143 nv_putval(ENVNOD,sfstruse(shp->strbuf),NV_RDONLY); in sh_init() 1183 nv_putval(IFSNOD,(char*)e_sptbnl,NV_RDONLY); in sh_init() 1519 nv_onattr(np,NV_RDONLY|NV_MINIMAL|NV_NOFREE|NV_INTEGER); in stat_init() 1616 nv_onattr(SH_MATCHNOD,NV_RDONLY); in nv_init() 1639 nv_onattr(np,NV_RDONLY); in nv_init() 1641 nv_putval(np,".sh.global",NV_RDONLY|NV_NOFREE); in nv_init() [all …]
|
H A D | name.c | 1286 nv_putval(np, cp, NV_RDONLY); in nv_open() 1366 if(!(flags&NV_RDONLY) && nv_isattr (np, NV_RDONLY)) in nv_putval() 1394 nv_setattr(np,(flags&~NV_RDONLY)|NV_NOFREE); in nv_putval() 1869 flag = nv_isattr(np,NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER); in attstore() 1894 flag &= (NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER); in attstore() 1925 if(nv_isattr(np,NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER)) in pushnam() 1944 …nv_scan(sh.var_tree, attstore,(void*)0,0,(NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_… in sh_envgen() 1973 …nv_scan(shp->var_tree, attstore,&data,0,(NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_I… in sh_envgen() 2104 _nv_unset(np,NV_RDONLY); in sh_envnolocal() 2145 nv_putval(nq, strdup(nv_getval(nq)), NV_RDONLY); in table_unset() [all …]
|
H A D | array.c | 72 aq->hdr.nofree |= (flags&NV_RDONLY)?1:0; in array_scope() 303 int rdonly = nv_isattr(np,NV_RDONLY); in nv_arraysettype() 313 _nv_unset(nq,NV_RDONLY); in nv_arraysettype() 324 nv_offattr(nq,NV_RDONLY); in nv_arraysettype() 440 nv_putval(mp,nv_getval(np),NV_RDONLY); in array_clone() 506 _nv_unset(mp,flags&NV_RDONLY); in array_putval() 588 _nv_unset(nv_namptr(aq->xp,0),NV_RDONLY); in array_putval() 733 nv_offattr(np,NV_RDONLY); in nv_atypeindex() 1206 _nv_unset(ap->cur,NV_RDONLY); in nv_associative()
|
H A D | main.c | 176 nv_putval(PS4NOD,e_traceprompt,NV_RDONLY); in sh_main() 371 nv_putval(IFSNOD,(char*)e_sptbnl,NV_RDONLY); in sh_main() 417 nv_putval(PS1NOD,(shp->euserid?e_stdprompt:e_supprompt),NV_RDONLY); in exfile()
|
H A D | fault.c | 79 nv_putval(COLUMNS, (char*)&v, NV_INT32|NV_RDONLY); in sh_fault() 81 nv_putval(LINES, (char*)&v, NV_INT32|NV_RDONLY); in sh_fault()
|
H A D | nvdisc.c | 149 _nv_unset(np, flags&(NV_RDONLY|NV_EXPORT)); in nv_putv() 312 nv_putv(np,cp,flags|NV_RDONLY,handle); in assign() 388 _nv_unset(SH_VALNOD,NV_RDONLY); in lookup() 623 nfp->nofree |= (flags&NV_RDONLY)?1:0; in nv_clone_disc()
|
H A D | nvtree.c | 438 attr &= NV_RDONLY|NV_ARRAY; in nv_attribute() 701 _nv_unset(np,NV_RDONLY); in outval() 704 if(sh.subshell==0 && !(wp->flags&NV_RDONLY) && !nv_isattr(np,NV_MINIMAL|NV_NOFREE)) in outval()
|
H A D | subshell.c | 338 _nv_unset(mp,NV_RDONLY|NV_CLONE); in nv_restore() 429 _nv_unset(np,NV_RDONLY); in table_unset()
|
/titanic_50/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
|
/titanic_50/usr/src/lib/libshell/i386/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|
/titanic_50/usr/src/lib/libshell/sparc/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|
/titanic_50/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|
/titanic_50/usr/src/lib/libshell/amd64/include/ast/ |
H A D | nval.h | 161 #define NV_RDONLY 0x1 /* readonly bit */ macro
|