Home
last modified time | relevance | path

Searched refs:sh_scoped (Results 1 – 25 of 53) sorted by relevance

123

/dports/shells/ksh93/ast-93u/src/cmd/ksh93/include/
H A Ddefs.h67 struct sh_scoped struct
69 struct sh_scoped *prevst; /* pointer to previous state */ argument
77 struct sh_scoped *self; /* pointer to copy of this scope*/ argument
148 struct sh_scoped st; /* scoped information */ \
238 struct sh_scoped global; \
428 extern Namval_t *sh_scoped(Shell_t*, Namval_t*);
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/include/
H A Ddefs.h67 struct sh_scoped struct
69 struct sh_scoped *prevst; /* pointer to previous state */ argument
77 struct sh_scoped *self; /* pointer to copy of this scope*/ argument
148 struct sh_scoped st; /* scoped information */ \
238 struct sh_scoped global; \
428 extern Namval_t *sh_scoped(Shell_t*, Namval_t*);
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/include/
H A Ddefs.h67 struct sh_scoped struct
69 struct sh_scoped *prevst; /* pointer to previous state */ argument
77 struct sh_scoped *self; /* pointer to copy of this scope*/ argument
149 struct sh_scoped st; /* scoped information */ \
250 struct sh_scoped global; \
444 extern Namval_t *sh_scoped(Shell_t*, Namval_t*);
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/include/
H A Ddefs.h56 struct sh_scoped { struct
57 struct sh_scoped *prevst; // pointer to previous state argument
65 struct sh_scoped *self; // pointer to copy of this scope argument
345 extern Namval_t *sh_scoped(Shell_t *, Namval_t *);
H A Dshell.h128 struct sh_scoped st; // scoped information
231 struct sh_scoped global;
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/bltins/
H A Dcd.c141 dir = FETCH_VT(sh_scoped(shp, opwdnod)->nvalue, cp); in b_cd()
156 dp = FETCH_VT(sh_scoped(shp, VAR_CDPATH)->nvalue, const_cp); in b_cd()
260 scoped_dir = FETCH_VT(sh_scoped(shp, opwdnod)->nvalue, cp); in b_cd()
H A Dhist.c260 if (!arg && !(arg = nv_getval(sh_scoped(shp, VAR_HISTEDIT))) && in b_hist()
261 !(arg = nv_getval(sh_scoped(shp, VAR_FCEDIT)))) { in b_hist()
H A Dsource.c57 struct sh_scoped savst, *prevscope = shp->st.self; in b_source()
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/sh/
H A Dexpand.c145 cp=nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
151 cp=nv_getval(sh_scoped(shp,GLOBIGNORENOD)); in path_expand()
188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
H A Dmacro.c177 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_mactrim()
212 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_macexpand()
285 mp->ifsp = nv_getval(sh_scoped(shp,IFSNOD)); in sh_machere()
2150 np = sh_scoped(mp->shp,IFSNOD); in comsubst()
2665 if(!(cp=nv_getval(sh_scoped(shp,HOME)))) in sh_tilde()
2672 cp = nv_getval(sh_scoped(shp,PWDNOD)); in sh_tilde()
2674 cp = nv_getval(sh_scoped(shp,OLDPWDNOD)); in sh_tilde()
H A Dpath.c463 if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) in path_init()
473 if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) in path_init()
493 if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH)) in path_get()
1622 if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) in path_addpath()
H A Dsubshell.c480 struct sh_scoped savst; in sh_subshell()
741 Namval_t *pwdnod = sh_scoped(shp,PWDNOD); in sh_subshell()
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/sh/
H A Dexpand.c145 cp=nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
151 cp=nv_getval(sh_scoped(shp,GLOBIGNORENOD)); in path_expand()
188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
H A Dmacro.c177 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_mactrim()
212 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_macexpand()
285 mp->ifsp = nv_getval(sh_scoped(shp,IFSNOD)); in sh_machere()
2150 np = sh_scoped(mp->shp,IFSNOD); in comsubst()
2665 if(!(cp=nv_getval(sh_scoped(shp,HOME)))) in sh_tilde()
2672 cp = nv_getval(sh_scoped(shp,PWDNOD)); in sh_tilde()
2674 cp = nv_getval(sh_scoped(shp,OLDPWDNOD)); in sh_tilde()
H A Dpath.c463 if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp) in path_init()
473 if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp) in path_init()
493 if(!pp && (!(sh_scoped(shp,PATHNOD)->nvalue.cp)) || sh_isstate(SH_DEFPATH)) in path_get()
1622 if(cp=(sh_scoped(shp,FPATHNOD))->nvalue.cp) in path_addpath()
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/sh/
H A Dexpand.c107 cp = nv_getval(sh_scoped(shp, VAR_FIGNORE)); in path_expand()
111 cp = nv_getval(sh_scoped(shp, GLOBIGNORENOD)); in path_expand()
141 gp->gl_fignore = nv_getval(sh_scoped(shp, VAR_FIGNORE)); in path_expand()
H A Dmacro.c177 mp->ifsp = nv_getval(sh_scoped(shp, VAR_IFS)); in sh_mactrim()
215 mp->ifsp = nv_getval(sh_scoped(shp, VAR_IFS)); in sh_macexpand()
283 mp->ifsp = nv_getval(sh_scoped(shp, VAR_IFS)); in sh_machere()
2009 np = sh_scoped(mp->shp, VAR_IFS); in comsubst()
2421 if ((cp = nv_getval(sh_scoped(shp, VAR_HOME)))) return cp; in sh_tilde()
2430 cp = nv_getval(sh_scoped(shp, VAR_PWD)); in sh_tilde()
2432 cp = nv_getval(sh_scoped(shp, VAR_OLDPWD)); in sh_tilde()
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/sh/
H A Dexpand.c144 cp=nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
150 cp=nv_getval(sh_scoped(shp,GLOBIGNORENOD)); in path_expand()
187 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
H A Dmacro.c176 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_mactrim()
211 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_macexpand()
285 mp->ifsp = nv_getval(sh_scoped(shp,IFSNOD)); in sh_machere()
2253 np = sh_scoped(mp->shp,IFSNOD); in comsubst()
2773 if(!(cp=nv_getval(sh_scoped(shp,HOME)))) in sh_tilde()
2780 cp = nv_getval(sh_scoped(shp,PWDNOD)); in sh_tilde()
2782 cp = nv_getval(sh_scoped(shp,OLDPWDNOD)); in sh_tilde()
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/bltins/
H A Dhist.c217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD)))) in b_hist()
H A Dcd_pwd.c101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp)) in b_cd()
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/bltins/
H A Dhist.c217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD)))) in b_hist()
H A Dcd_pwd.c147 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp)) in b_cd()
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/bltins/
H A Dhist.c217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD)))) in b_hist()
H A Dcd_pwd.c101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp)) in b_cd()

123