Home
last modified time | relevance | path

Searched refs:VAR_GLOBAL (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Dsh.c376 #define VAR_GLOBAL (1<<2) macro
2290 if ((vv[uu]->flags&(VAR_WHITEOUT|VAR_GLOBAL))==VAR_GLOBAL) { in sh_exec()
2364 if (!vv&&ff) (vv = addvar(s, ff))->flags = VAR_NOFREE|(VAR_GLOBAL*locals); in run_command()
3497 } else if (shv->flags&VAR_WHITEOUT) shv->flags |= VAR_GLOBAL; in export()
3498 if (!shv || (shv->flags&VAR_GLOBAL)) return; in export()
3506 shv->flags |= VAR_GLOBAL; in export()
3513 if (shv) shv->flags &=~VAR_GLOBAL; in unexport()
3665 if (!(shv = findvar(s, 0))) addvar(s, TT.ff)->flags = VAR_GLOBAL|VAR_NOFREE; in subshell_setup()
3672 shv->flags |= VAR_GLOBAL; in subshell_setup()
3691 setvarval("_", s)->flags |= VAR_GLOBAL; in subshell_setup()
[all …]