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

/freebsd-9.3-release/bin/sh/
H A Doptions.c65 struct shparam shellparam; /* current positional parameters */ variable in typeref:struct:shparam
118 shellparam.p = argptr;
119 shellparam.reset = 1;
120 /* assert(shellparam.malloc == 0 && shellparam.nparam == 0); */
122 shellparam.nparam++;
324 freeparam(&shellparam);
325 shellparam.malloc = 1;
326 shellparam.nparam = nparam;
327 shellparam
[all...]
H A Doptions.h104 extern struct shparam shellparam; /* $@ */
H A Deval.c985 saveparam = shellparam;
986 shellparam.malloc = 0;
987 shellparam.reset = 1;
988 shellparam.nparam = argc - 1;
989 shellparam.p = argv + 1;
990 shellparam.optnext = NULL;
997 freeparam(&shellparam);
998 shellparam = saveparam;
1020 freeparam(&shellparam);
1021 shellparam
[all...]
H A Dexpand.c755 (*var == '@' && shellparam.nparam != 1));
866 if (*shellparam.p == NULL)
872 for (av = shellparam.p; *av; av++)
881 if (num > shellparam.nparam)
887 ap = shellparam.p[num - 1];
925 num = shellparam.nparam;
940 for (ap = shellparam.p ; (p = *ap++) != NULL ; ) {
953 for (ap = shellparam.p ; (p = *ap++) != NULL ; ) {
968 if (num > 0 && num <= shellparam.nparam) {
969 p = shellparam
[all...]

Completed in 110 milliseconds