Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dsh.c519 static struct sh_vars *setvarval(char *name, char *val) in setvarval() function
2433 if (s) setvarval("_", s); in run_command()
3396 } else setvarval(blk->fvar, (match<1 || match>blk->farg.c) in run_lines()
3402 } else setvarval(blk->fvar, blk->farg.v[blk->loop++]); in run_lines()
3691 setvarval("_", s)->flags |= VAR_GLOBAL; in subshell_setup()
3698 setvarval("SHLVL", buf)->flags |= VAR_GLOBAL; in subshell_setup()
3751 if (!getvar("PS1")) setvarval("PS1", getpid() ? "\\$ " : "# "); in sh_main()
3785 if (!from) setvarval("PWD", "(nowhere)"); in cd_main()
3825 setvarval("OLDPWD", pwd); in cd_main()
3831 setvarval("PWD", dd); in cd_main()