/titanic_50/usr/src/lib/libshell/common/data/ |
H A D | variables.c | 64 "_", NV_EXPORT, (char*)0, 99 "SHLVL", NV_INTEGER|NV_NOFREE|NV_EXPORT, (char*)0,
|
H A D | options.c | 126 {"-xexport", NV_EXPORT},
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | name.c | 313 flags |= NV_EXPORT; in nv_setlist() 316 flags &= ~(NV_IDENT|NV_EXPORT); in nv_setlist() 483 _nv_unset(np,NV_EXPORT); in nv_setlist() 489 _nv_unset(np,NV_EXPORT); in nv_setlist() 723 flags &= ~NV_EXPORT; in nv_create() 1306 c = msg==e_aliname? 0: (append | (flags&NV_EXPORT)); in nv_open() 1381 if(sp && ((flags&NV_EXPORT) || nv_isattr(np,NV_EXPORT))) in nv_putval() 1410 if(nv_isattr(np,NV_EXPORT)) in nv_putval() 1732 if(!was_local && ((flags&NV_EXPORT) || nv_isattr(np,NV_EXPORT))) in nv_putval() 1867 if(!(nv_isattr(np,NV_EXPORT))) in attstore() [all …]
|
H A D | subshell.c | 263 if(np->nvenv && !nv_isattr(np,NV_MINIMAL|NV_EXPORT) && shp->last_root) in sh_assignok() 345 if(!nv_isattr(np,NV_MINIMAL) || nv_isattr(np,NV_EXPORT)) in nv_restore() 358 if(nv_isattr(mp,NV_EXPORT)) in nv_restore() 365 else if(nv_isattr(np,NV_EXPORT)) in nv_restore()
|
H A D | nvtree.c | 596 nv_onattr(mp,NV_EXPORT); in nv_outnode() 996 walk.indent = (flags&NV_EXPORT)?-1:0; in walk_tree() 1032 if(flags = nv_isattr(np,NV_EXPORT)) in nv_getvtree() 1033 nv_offattr(np,NV_EXPORT); in nv_getvtree() 1034 if(dsize && (flags&NV_EXPORT)) in nv_getvtree()
|
H A D | init.c | 696 nv_offattr(np,NV_EXPORT); in put_lastarg() 1356 if(is_abuiltin(np) && nv_isattr(np,NV_EXPORT)) in sh_reinit() 1376 nv_scan(shp->var_tree,sh_envnolocal,(void*)0,NV_EXPORT,0); in sh_reinit() 1407 nv_onattr(SHLVL,NV_INTEGER|NV_EXPORT|NV_NOFREE); in sh_reinit() 1735 else if(np=nv_open(cp,shp->var_tree,(NV_EXPORT|NV_IDENT|NV_ASSIGN|NV_NOFAIL))) in env_init() 1752 if(np!=SHLVL && nv_isattr(np,NV_IMPORT|NV_EXPORT)) in env_init() 1781 nv_newattr(np,flag|NV_IMPORT|NV_EXPORT,size); in env_init()
|
H A D | nvdisc.c | 149 _nv_unset(np, flags&(NV_RDONLY|NV_EXPORT)); in nv_putv() 900 if(nv_isattr(mp,NV_EXPORT|NV_MINIMAL) == (NV_EXPORT|NV_MINIMAL)) in nv_clone() 918 if(nv_isattr(np,NV_EXPORT)) in nv_clone() 939 if(!nv_isattr(np,NV_MINIMAL) || nv_isattr(mp,NV_EXPORT)) in nv_clone()
|
H A D | nvtype.c | 981 nv_putval(nq,(val?val:0),nv_isattr(np,~(NV_IMPORT|NV_EXPORT|NV_ARRAY))); in nv_mktype() 1028 nv_offattr(np,NV_EXPORT); in nv_mktype() 1045 nq->nvflag = (np->nvflag&~(NV_IMPORT|NV_EXPORT))|NV_NOFREE|NV_MINIMAL; in nv_mktype() 1214 nv_onattr(mp,NV_NOFREE|NV_RDONLY|NV_INTEGER|NV_EXPORT); in nv_mkinttype()
|
H A D | xec.c | 821 flgs |= NV_EXPORT; in sh_exec() 822 if(flgs&(NV_EXPORT|NV_NOREF)) in sh_exec() 2593 nv_scan(prevscope->save_tree, local_exports,(void*)0, NV_EXPORT, NV_EXPORT|NV_NOSCOPE); in sh_funscope() 3248 nv_setlist(t->com.comset,NV_EXPORT|NV_IDENT|NV_ASSIGN,0); in sh_ntfork()
|
H A D | path.c | 278 nv_onattr(PWDNOD,NV_NOFREE|NV_EXPORT); in path_pwd() 971 nv_setlist(local,NV_EXPORT|NV_IDENT|NV_ASSIGN,0); in path_exec()
|
H A D | array.c | 39 #define NV_CHILD NV_EXPORT
|
H A D | macro.c | 2440 nv_onattr(np,NV_EXPORT); in tilde_expand2()
|
/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | typeset.c | 125 flag = (NV_ASSIGN|NV_EXPORT|NV_IDENT); in b_readonly() 161 flag |= NV_EXPORT; in b_alias() 332 flag |= (NV_EXPORT|NV_IDENT); in b_typeset() 363 if(troot==tdata.sh->fun_tree && ((isfloat || flag&~(NV_FUNCT|NV_TAGGED|NV_EXPORT|NV_LTOU)))) in b_typeset() 425 nv_onattr(np,NV_EXPORT); in print_value() 587 if((flag&NV_EXPORT) && (strchr(name,'.') || nv_isvtree(np))) in b_common() 590 if(flag&NV_EXPORT) in b_common() 632 if((newflag^curflag)&NV_EXPORT) in b_common() 644 if(tp->help && !nv_isattr(np,NV_MINIMAL|NV_EXPORT)) in b_common() 647 nv_onattr(np,NV_EXPORT); in b_common() [all …]
|
H A D | misc.c | 95 nv_offattr(np,NV_EXPORT); in noexport() 127 nv_scan(shp->var_tree,noexport,0,NV_EXPORT,NV_EXPORT); in B_login() 135 nv_onattr(np,NV_EXPORT); in B_login()
|
H A D | read.c | 435 if(!nv_isattr(np,NV_IMPORT|NV_EXPORT) && (mp=(Namval_t*)np->nvenv)) in sh_readline() 687 if(sh_isoption(SH_ALLEXPORT)&&!strchr(nv_name(np),'.') && !nv_isattr(np,NV_EXPORT)) in sh_readline() 689 nv_onattr(np,NV_EXPORT); in sh_readline()
|
H A D | whence.c | 173 if(nv_isattr(np,NV_EXPORT)) in whence()
|
H A D | cd_pwd.c | 201 nv_onattr(pwdnod,NV_NOFREE|NV_EXPORT); in b_cd()
|
H A D | print.c | 553 nv_onattr(np,NV_EXPORT); in fmtbase64()
|
/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) 126 #define NV_BLTIN (NV_NOPRINT|NV_EXPORT)
|
H A D | nval.h | 153 #define NV_EXPORT 0x2000 /* export bit */ macro
|
/titanic_50/usr/src/lib/libshell/i386/include/ast/ |
H A D | nval.h | 162 #define NV_EXPORT 0x2000 /* export bit */ macro
|
/titanic_50/usr/src/lib/libshell/sparc/include/ast/ |
H A D | nval.h | 162 #define NV_EXPORT 0x2000 /* export bit */ macro
|
/titanic_50/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | nval.h | 162 #define NV_EXPORT 0x2000 /* export bit */ macro
|
/titanic_50/usr/src/lib/libshell/amd64/include/ast/ |
H A D | nval.h | 162 #define NV_EXPORT 0x2000 /* export bit */ macro
|
/titanic_50/usr/src/lib/libshell/misc/ |
H A D | ERRATA.txt | 967 if(flags = nv_isattr(np,NV_EXPORT)) 968 nv_offattr(np,NV_EXPORT); 969 + if(dsize && (flags&NV_EXPORT))
|