Lines Matching refs:opts

102 handle_opt(tOptions * opts, tOptState * o_st)  in handle_opt()  argument
119 if ( ((opts->fOptSet & OPTPROC_PRESETTING) != 0) in handle_opt()
133 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; in handle_opt()
151 (opts->pOptDesc + eqv_od->optActualIndex)->pz_Name); in handle_opt()
195 return too_many_occurrences(opts, od); in handle_opt()
200 (*opt_proc)(opts, od); in handle_opt()
215 next_opt(tOptions * opts, tOptState * o_st) in next_opt() argument
218 tSuccess res = find_opt(opts, o_st); in next_opt()
229 return get_opt_arg(opts, o_st); in next_opt()
242 regular_opts(tOptions * opts) in regular_opts() argument
248 switch (next_opt(opts, &opt_st)) { in regular_opts()
264 if (! SUCCESSFUL(handle_opt(opts, &opt_st))) in regular_opts()
268 if ((opts->fOptSet & OPTPROC_ERRSTOP) != 0) in regular_opts()
269 (*opts->pUsageProc)(opts, EXIT_FAILURE); in regular_opts()
327 optionProcess(tOptions * opts, int a_ct, char ** a_v) in optionProcess() argument
329 if (! SUCCESSFUL(validate_struct(opts, a_v[0]))) in optionProcess()
336 if (! ao_initialize(opts, a_ct, a_v)) in optionProcess()
343 if (opts->curOptIdx <= 0) { in optionProcess()
344 opts->curOptIdx = 1; in optionProcess()
345 opts->pzCurOpt = NULL; in optionProcess()
348 if (! SUCCESSFUL(regular_opts(opts))) in optionProcess()
349 return (int)opts->origArgCt; in optionProcess()
358 switch (opts->specOptIdx.save_opts) { in optionProcess()
364 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; in optionProcess()
367 optionSaveFile(opts); in optionProcess()
377 if (((opts->fOptSet & OPTPROC_ERRSTOP) != 0) in optionProcess()
378 && (! is_consistent(opts))) in optionProcess()
379 (*opts->pUsageProc)(opts, EXIT_FAILURE); in optionProcess()
381 return (int)opts->curOptIdx; in optionProcess()