Searched defs:optchr (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dmbo_getopt.c14 static int mbo_opt_error(int argc, char * const *argv, int oint, int optchr, int err, int show_err) argument
18 fprintf(stderr, "Error in argument %d, char %d: ", oint, optchr + 1);
28 fprintf(stderr, "option not found %c\n", argv[oint][optchr]);
32 fprintf(stderr, "no argument for option %c\n", argv[oint][optchr]);
46 static int optchr = 0; local
95 optchr = 0;
103 optchr = 1;
107 if (argv[*optind][optchr] == ':')
111 return (mbo_opt_error(argc, argv, *optind - 1, optchr, OPTERRCOLON, show_err));
123 int errchr = optchr;
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.c254 static int optchr = 1; local
257 if (optchr == 1) {
275 optopt = argv[optind][optchr];
278 if (argv[optind][++optchr] == '\0') {
279 optchr = 1;
287 optchr = 1;
288 if (argv[optind][optchr + 1]) {
290 optarg = &argv[optind++][optchr + 1];
300 if (argv[optind][++optchr] == '\0') {
301 optchr
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dcommon.c254 static int optchr = 1; local
257 if (optchr == 1) {
275 optopt = argv[optind][optchr];
278 if (argv[optind][++optchr] == '\0') {
279 optchr = 1;
287 optchr = 1;
288 if (argv[optind][optchr + 1]) {
290 optarg = &argv[optind++][optchr + 1];
300 if (argv[optind][++optchr] == '\0') {
301 optchr
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.c254 static int optchr = 1; local
257 if (optchr == 1) {
275 optopt = argv[optind][optchr];
278 if (argv[optind][++optchr] == '\0') {
279 optchr = 1;
287 optchr = 1;
288 if (argv[optind][optchr + 1]) {
290 optarg = &argv[optind++][optchr + 1];
300 if (argv[optind][++optchr] == '\0') {
301 optchr
[all...]

Completed in 139 milliseconds