Searched defs:long_options (Results 1 - 17 of 17) sorted by relevance

/external/bison/lib/
H A Dgetopt1.c42 const struct option *long_options, int *opt_index)
44 return _getopt_internal (argc, (char **) argv, options, long_options,
50 const struct option *long_options, int *opt_index,
53 return _getopt_internal_r (argc, argv, options, long_options, opt_index,
65 const struct option *long_options, int *opt_index)
67 return _getopt_internal (argc, (char **) argv, options, long_options,
73 const struct option *long_options, int *opt_index,
76 return _getopt_internal_r (argc, argv, options, long_options, opt_index,
96 static const struct option long_options[] =
108 long_options,
40 getopt_long(int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index) argument
48 _getopt_long_r(int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d) argument
62 getopt_long_only(int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index) argument
71 _getopt_long_only_r(int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d) argument
94 static const struct option long_options[] = local
[all...]
/external/libmtp/examples/
H A Dconnect.c112 static struct option long_options[] = { local
121 int c = getopt_long (argc, argv, "d:f:g:n:t:", long_options, &option_index);
/external/checkpolicy/
H A Dcheckmodule.c169 struct option long_options[] = { local
179 while ((ch = getopt_long(argc, argv, "ho:bVU:mM", long_options, NULL)) != -1) {
H A Dcheckpolicy.c399 struct option long_options[] = { local
411 while ((ch = getopt_long(argc, argv, "o:t:dbU:MVc:h", long_options, NULL)) != -1) {
/external/lldb/tools/lldb-perf/lib/
H A DTestCase.cpp32 GetShortOptionString (struct option *long_options) argument
35 for (int i = 0; long_options[i].name != NULL; ++i)
37 if (long_options[i].flag == NULL)
39 option_string.push_back ((char) long_options[i].val);
40 switch (long_options[i].has_arg)
62 struct option* long_options = GetLongOptions(); local
64 if (long_options)
66 std::string short_option_string (GetShortOptionString(long_options));
80 long_options,
/external/chromium_org/third_party/mesa/src/src/getopt/
H A Dgetopt_long.c156 * Returns -1 if short_too is set and the option does not match long_options.
160 const struct option *long_options, int *idx, int short_too)
178 for (i = 0; long_options[i].name; i++) {
180 if (strncmp(current_argv, long_options[i].name,
184 if (strlen(long_options[i].name) == current_argv_len) {
208 if (long_options[match].has_arg == no_argument
216 if (long_options[match].flag == NULL)
217 optopt = long_options[match].val;
222 if (long_options[match].has_arg == required_argument ||
223 long_options[matc
159 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too) argument
277 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) argument
492 getopt_long(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
505 getopt_long_only(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
[all...]
/external/lldb/tools/lldb-perf/common/clang/
H A Dlldb_perf_clang.cpp308 GetShortOptionString (struct option *long_options) argument
311 for (int i = 0; long_options[i].name != NULL; ++i)
313 if (long_options[i].flag == NULL)
315 option_string.push_back ((char) long_options[i].val);
316 switch (long_options[i].has_arg)
/external/lldb/tools/lldb-perf/common/stepping/
H A Dlldb-perf-stepping.cpp198 GetShortOptionString (struct option *long_options) argument
201 for (int i = 0; long_options[i].name != NULL; ++i)
203 if (long_options[i].flag == NULL)
205 option_string.push_back ((char) long_options[i].val);
206 switch (long_options[i].has_arg)
/external/mesa3d/src/getopt/
H A Dgetopt_long.c156 * Returns -1 if short_too is set and the option does not match long_options.
160 const struct option *long_options, int *idx, int short_too)
178 for (i = 0; long_options[i].name; i++) {
180 if (strncmp(current_argv, long_options[i].name,
184 if (strlen(long_options[i].name) == current_argv_len) {
208 if (long_options[match].has_arg == no_argument
216 if (long_options[match].flag == NULL)
217 optopt = long_options[match].val;
222 if (long_options[match].has_arg == required_argument ||
223 long_options[matc
159 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too) argument
277 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) argument
492 getopt_long(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
505 getopt_long_only(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
[all...]
/external/sepolicy/tools/
H A Dsepolicy-check.c242 struct option long_options[] = { local
251 while ((ch = getopt_long(argc, argv, "s:t:c:p:P:", long_options, NULL)) != -1) {
/external/bison/src/
H A Dgetargs.c491 Should be computed from long_options. */
527 static struct option const long_options[] = variable
601 while ((c = getopt_long (argc, argv, short_options, long_options, NULL))
/external/ltrace/
H A Doptions.c535 static struct option long_options[] = { local
565 c = getopt_long(argc, argv, opts, long_options, &option_index);
/external/oprofile/opcontrol/
H A Dopcontrol.cpp149 struct option long_options[] = { variable in typeref:struct:option
570 int c = getopt_long(argc, argv, "c:e:v:r:dhVtl:", long_options, &option_index);
/external/lldb/tools/driver/
H A DDriver.cpp489 struct option *long_options = NULL; local
506 long_options = NULL;
508 long_options = &long_options_vector.front();
510 if (long_options == NULL)
518 for (int i = 0; long_options[i].name != NULL; ++i)
520 if (long_options[i].flag == NULL)
522 option_string.push_back ((char) long_options[i].val);
523 switch (long_options[i].has_arg)
558 val = ::getopt_long_only (argc, const_cast<char **>(argv), option_string.c_str(), long_options, &long_options_index);
576 long_options[
[all...]
/external/fio/
H A Doptions.c3537 struct option *long_options,
3542 add_to_lopt(&long_options[i], o, o->name, option_type);
3545 add_to_lopt(&long_options[i], o, o->alias, option_type);
3554 void fio_options_set_ioengine_opts(struct option *long_options, argument
3560 while (long_options[i].name) {
3561 if (long_options[i].val == FIO_GETOPT_IOENGINE) {
3562 memset(&long_options[i], 0, sizeof(*long_options));
3574 options_to_lopts(td->io_ops->options, long_options, i,
3578 void fio_options_dup_and_init(struct option *long_options) argument
3536 options_to_lopts(struct fio_option *opts, struct option *long_options, int i, int option_type) argument
[all...]
/external/gcc-demangle/
H A Dcp-demangle.c5211 static const struct option long_options[] = variable in typeref:struct:option
5237 opt_char = getopt_long (argc, argv, "hpv", long_options, NULL);
/external/valgrind/main/coregrind/m_demangle/
H A Dcp-demangle.c5471 static const struct option long_options[] = variable in typeref:struct:option
5497 opt_char = getopt_long (argc, argv, "hpv", long_options, NULL);

Completed in 417 milliseconds