Lines Matching refs:pOpts

287 optionVendorOption(tOptions * pOpts, tOptDesc * pOD)  in optionVendorOption()  argument
292 if (pOpts <= OPTPROC_EMIT_LIMIT) in optionVendorOption()
301 if ( ((pOpts->fOptSet & OPTPROC_VENDOR_OPT) == 0) in optionVendorOption()
302 || ! SUCCESSFUL(opt_find_long(pOpts, vopt_str, &opt_st)) in optionVendorOption()
303 || ! SUCCESSFUL(get_opt_arg(pOpts, &opt_st)) ) in optionVendorOption()
305 fprintf(stderr, zIllVendOptStr, pOpts->pzProgName, vopt_str); in optionVendorOption()
306 (*pOpts->pUsageProc)(pOpts, EXIT_FAILURE); in optionVendorOption()
314 if (pOpts->fOptSet & OPTPROC_IMMEDIATE) { in optionVendorOption()
319 (void)handle_opt(pOpts, &opt_st); in optionVendorOption()
327 (void)handle_opt(pOpts, &opt_st); in optionVendorOption()
382 opt_find_short(tOptions * pOpts, uint_t optValue, tOptState * pOptState) in opt_find_short() argument
384 tOptDesc * pRes = pOpts->pOptDesc; in opt_find_short()
385 int ct = pOpts->optCt; in opt_find_short()
397 if ((pOpts->fOptSet & OPTPROC_ERRSTOP) == 0) in opt_find_short()
400 fprintf(stderr, zDisabledErr, pOpts->pzProgPath, pRes->pz_Name); in opt_find_short()
404 (*pOpts->pUsageProc)(pOpts, EXIT_FAILURE); in opt_find_short()
424 && (pOpts->specOptIdx.number_option != NO_EQUIVALENT) ) { in opt_find_short()
426 pRes = pOpts->pOptDesc + pOpts->specOptIdx.number_option; in opt_find_short()
427 (pOpts->pzCurOpt)--; in opt_find_short()
438 if ((pOpts->fOptSet & OPTPROC_ERRSTOP) != 0) { in opt_find_short()
439 fprintf(stderr, zIllOptChr, pOpts->pzProgPath, optValue); in opt_find_short()
440 (*pOpts->pUsageProc)(pOpts, EXIT_FAILURE); in opt_find_short()
517 get_opt_arg_may(tOptions * pOpts, tOptState * o_st) in get_opt_arg_may() argument
524 if (*++pOpts->pzCurOpt != NUL) in get_opt_arg_may()
525 o_st->pzOptArg = pOpts->pzCurOpt; in get_opt_arg_may()
527 char * pzLA = pOpts->origArgVect[ pOpts->curOptIdx ]; in get_opt_arg_may()
537 pOpts->curOptIdx++; /* argument found */ in get_opt_arg_may()
549 && (! NAMED_OPTS(pOpts))) { in get_opt_arg_may()
550 char * pzLA = pOpts->origArgVect[ pOpts->curOptIdx ]; in get_opt_arg_may()
560 pOpts->curOptIdx++; /* argument found */ in get_opt_arg_may()
577 pOpts->pzCurOpt = NULL; in get_opt_arg_may()
589 get_opt_arg_none(tOptions * pOpts, tOptState * o_st) in get_opt_arg_none() argument
596 (pOpts->pzCurOpt)++; in get_opt_arg_none()
602 fprintf(stderr, zNoArg, pOpts->pzProgPath, o_st->pOD->pz_Name); in get_opt_arg_none()
610 pOpts->pzCurOpt = NULL; in get_opt_arg_none()