Lines Matching refs:long_options_index
657 int long_options_index = -1;
662 &long_options_index);
679 if (long_options_index == -1)
687 long_options_index = i;
693 if (long_options_index >= 0)
695 error = options.SetOptionValue(long_options_index,
696 long_options[long_options_index].has_arg == no_argument ? NULL : optarg);
1226 Args::FindArgumentIndexForOption (struct option *long_options, int long_options_index)
1230 ::snprintf (short_buffer, sizeof (short_buffer), "-%c", long_options[long_options_index].val);
1231 ::snprintf (long_buffer, sizeof (long_buffer), "--%s", long_options[long_options_index].name);
1316 int long_options_index = -1;
1321 &long_options_index);
1339 if (long_options_index == -1)
1347 long_options_index = j;
1354 if (long_options_index >= 0)
1359 switch (long_options[long_options_index].has_arg)
1408 if (long_options_index >= 0)
1413 size_t idx = FindArgumentIndexForOption (long_options, long_options_index);
1424 if ((long_options[long_options_index].has_arg != no_argument)
1510 int long_options_index = -1;
1516 &long_options_index);
1571 if (long_options_index == -1)
1579 long_options_index = j;
1586 if (long_options_index >= 0)
1600 switch (long_options[long_options_index].has_arg)