Lines Matching refs:NULL
97 if (*argptr == NULL && minusc == NULL) in procargs()
110 if (sflag == 0 && minusc == NULL) { in procargs()
117 if (minusc != NULL) { in procargs()
118 if (argptr == NULL || *argptr == NULL) in procargs()
160 minusc = NULL; in options()
161 while ((p = *argptr) != NULL) { in options()
171 else if (*argptr == NULL) in options()
221 if (name == NULL) { in minus_o()
283 *ap = NULL; in setparam()
288 shellparam.optnext = NULL; in setparam()
332 while ((*ap2++ = *ap1++) != NULL); in shiftcmd()
333 shellparam.optnext = NULL; in shiftcmd()
352 if (*argptr != NULL) { in setcmd()
365 shellparam.optnext = NULL;
391 shellparam.optptr = NULL; in getoptscmd()
409 if ((p = *optpptr) == NULL || *p == '\0') { in getopts()
411 if (*optnext == NULL) in getopts()
414 if (p == NULL || *p != '-' || *++p == '\0') { in getopts()
417 *optnext = NULL; in getopts()
418 p = NULL; in getopts()
446 if (*p == '\0' && (p = **optnext) == NULL) { in getopts()
463 p = NULL; in getopts()
471 *optnext = NULL; in getopts()
472 p = NULL; in getopts()
481 *optnext = NULL; in getopts()
482 *optpptr = NULL; in getopts()
507 if ((p = optptr) == NULL || *p == '\0') { in nextopt()
509 if (p == NULL || *p != '-' || *++p == '\0') in nextopt()
523 if (*p == '\0' && (p = *argptr++) == NULL) in nextopt()
526 p = NULL; in nextopt()