Lines Matching refs:ap
91 char **ap; in readcmd() local
117 if (*(ap = argptr) == NULL) in readcmd()
178 if (ap[1] == NULL) { in readcmd()
186 setvar(*ap, stackblock(), 0); in readcmd()
187 ap++; in readcmd()
203 setvar(*ap, stackblock(), 0); in readcmd()
206 while (*++ap != NULL) in readcmd()
207 setvar(*ap, nullstr, 0); in readcmd()
216 char *ap; in umaskcmd() local
230 if ((ap = *argptr) == NULL) { in umaskcmd()
266 if (isdigit((unsigned char)*ap)) { in umaskcmd()
269 if (*ap >= '8' || *ap < '0') in umaskcmd()
271 mask = (mask << 3) + (*ap - '0'); in umaskcmd()
272 } while (*++ap != '\0'); in umaskcmd()
275 error("Illegal mode: %s", ap); in umaskcmd()