Searched refs:opt_st (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.2-release/contrib/ntp/sntp/libopts/
H A Dinit.c158 tOptState opt_st = OPTSTATE_INITIALIZER(PRESET); local
160 res = next_opt(opts, &opt_st);
170 if (! DO_IMMEDIATELY(opt_st.flags))
173 if (! SUCCESSFUL(handle_opt(opts, &opt_st)))
H A Dautoopts.c252 tOptState opt_st = OPTSTATE_INITIALIZER(DEFINED); local
254 switch (next_opt(opts, &opt_st)) {
264 if (! DO_NORMALLY(opt_st.flags)) {
265 if (! DO_SECOND_TIME(opt_st.flags))
267 opt_st.pOD->optOccCt--; /* don't count this repetition */
270 if (! SUCCESSFUL(handle_opt(opts, &opt_st)))
H A Dfind.c319 tOptState opt_st = OPTSTATE_INITIALIZER(PRESET); local
329 opt_st.flags = OPTST_DEFINED;
332 || ! SUCCESSFUL(opt_find_long(pOpts, vopt_str, &opt_st))
333 || ! SUCCESSFUL(get_opt_arg(pOpts, &opt_st)) )
348 if (DO_IMMEDIATELY(opt_st.flags))
349 (void)handle_opt(pOpts, &opt_st);
356 if (DO_NORMALLY(opt_st.flags) || DO_SECOND_TIME(opt_st.flags))
357 (void)handle_opt(pOpts, &opt_st);

Completed in 401 milliseconds