Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dsh.c410 static struct sh_vars *addvar(char *s, struct sh_fcall *ff) in addvar() function
487 if (!var) return addvar(s, TT.ff->prev); in setvar()
2350 addvar(0, TT.ff); // function context (not source) so end_function deletes in run_command()
2364 if (!vv&&ff) (vv = addvar(s, ff))->flags = VAR_NOFREE|(VAR_GLOBAL*locals); in run_command()
3478 return addvar(xmprintf("%s=%s", name, val ? val : ""), TT.ff); in initvar()
3495 shv = addvar(str = xmprintf("%s=", str), TT.ff->prev); in export()
3622 addvar(readonly[ii], TT.ff)->flags = VAR_READONLY|VAR_INT; in subshell_setup()
3665 if (!(shv = findvar(s, 0))) addvar(s, TT.ff)->flags = VAR_GLOBAL|VAR_NOFREE; in subshell_setup()
4115 var = addvar(xmprintf("%s%s", *arg, *eq ? "" : "="), ff); in local_main()