Searched refs:shellparam (Results 1 - 4 of 4) sorted by relevance

/system/core/sh/
H A Doptions.c68 struct shparam shellparam; /* current positional parameters */ variable in typeref:struct:shparam
125 shellparam.p = argptr;
126 shellparam.reset = 1;
127 /* assert(shellparam.malloc == 0 && shellparam.nparam == 0); */
129 shellparam.nparam++;
284 freeparam(&shellparam);
285 shellparam.malloc = 1;
286 shellparam.nparam = nparam;
287 shellparam
[all...]
H A Doptions.h118 extern struct shparam shellparam; /* $@ */
H A Deval.c927 saveparam = shellparam;
928 shellparam.malloc = 0;
929 shellparam.reset = 1;
930 shellparam.nparam = argc - 1;
931 shellparam.p = argv + 1;
932 shellparam.optnext = NULL;
942 freeparam(&shellparam);
943 shellparam = saveparam;
961 freeparam(&shellparam);
962 shellparam
[all...]
H A Dexpand.c683 (*var == '@' && shellparam.nparam != 1));
787 if (*shellparam.p == NULL)
793 for (av = shellparam.p; *av; av++)
802 if (num > shellparam.nparam)
808 ap = shellparam.p[num - 1];
855 num = shellparam.nparam;
870 for (ap = shellparam.p ; (p = *ap++) != NULL ; ) {
883 for (ap = shellparam.p ; (p = *ap++) != NULL ; ) {
896 if (num > 0 && num <= shellparam.nparam) {
897 p = shellparam
[all...]

Completed in 54 milliseconds