Searched refs:shellparam (Results 1 – 4 of 4) sorted by relevance
68 struct shparam shellparam; /* current positional parameters */ variable125 shellparam.p = argptr; in procargs()126 shellparam.reset = 1; in procargs()129 shellparam.nparam++; in procargs()284 freeparam(&shellparam); in setparam()285 shellparam.malloc = 1; in setparam()286 shellparam.nparam = nparam; in setparam()287 shellparam.p = newparam; in setparam()288 shellparam.optnext = NULL; in setparam()323 if (n > shellparam.nparam) in shiftcmd()[all …]
927 saveparam = shellparam; in evalcommand()928 shellparam.malloc = 0; in evalcommand()929 shellparam.reset = 1; in evalcommand()930 shellparam.nparam = argc - 1; in evalcommand()931 shellparam.p = argv + 1; in evalcommand()932 shellparam.optnext = NULL; in evalcommand()942 freeparam(&shellparam); in evalcommand()943 shellparam = saveparam; in evalcommand()961 freeparam(&shellparam); in evalcommand()962 shellparam = saveparam; in evalcommand()
683 (*var == '@' && shellparam.nparam != 1)); in evalvar()787 if (*shellparam.p == NULL) in varisset()793 for (av = shellparam.p; *av; av++) in varisset()802 if (num > shellparam.nparam) in varisset()808 ap = shellparam.p[num - 1]; in varisset()855 num = shellparam.nparam; in varvalue()870 for (ap = shellparam.p ; (p = *ap++) != NULL ; ) { in varvalue()883 for (ap = shellparam.p ; (p = *ap++) != NULL ; ) { in varvalue()896 if (num > 0 && num <= shellparam.nparam) { in varvalue()897 p = shellparam.p[num - 1]; in varvalue()
118 extern struct shparam shellparam; /* $@ */