Home | History | Annotate | Download | only in logcat

Lines Matching defs:optchar

317     int optchar;
333 optchar = parse_long_options_r(nargv, options, long_options, idx,
335 if (optchar != -1) {
337 return optchar;
342 if ((optchar = (int)*(context->place)++) == (int)':' ||
343 (optchar == (int)'-' && *context->place != '\0') ||
344 !(oli = strchr(options, optchar))) {
348 if (optchar == (int)'-' && *context->place == '\0') return -1;
352 optchar);
354 context->optopt = optchar;
359 if (long_options && optchar == 'W' && oli[1] == ';') {
366 fprintf(context->optstderr ?: stderr, recargchar, optchar);
368 context->optopt = optchar;
374 optchar = parse_long_options_r(nargv, options, long_options, idx, false,
377 return optchar;
389 fprintf(context->optstderr ?: stderr, recargchar, optchar);
391 context->optopt = optchar;
400 return optchar;