Searched refs:findvar (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | sh.c | 390 static struct sh_vars *findvar(char *name, struct sh_fcall **pff) in findvar() function 485 if (!(var = findvar(s, &ff))) ff = TT.ff->prev; in setvar() 496 struct sh_vars *var = findvar(name, &ff); in unsetvar() 527 struct sh_vars *var = findvar(s, 0); in getvar() 2360 if (!(vv = findvar(s = arg->v[jj], &ff))) ff = locals?TT.ff:TT.ff->prev; in run_command() 3494 else if (!(shv = findvar(str, 0))) { in export() 3511 struct sh_vars *shv = findvar(str, 0); in unexport() 3665 if (!(shv = findvar(s, 0))) addvar(s, TT.ff)->flags = VAR_GLOBAL|VAR_NOFREE; in subshell_setup() 4105 if ((var = findvar(*arg, &ff2)) && ff == ff2 && !*eq) continue; in local_main()
|