Searched defs:long_options (Results 1 - 21 of 21) 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/grub/lib/
H A Dgetopt1.c70 getopt_long (argc, argv, options, long_options, opt_index)
74 const struct option *long_options;
77 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
86 getopt_long_only (argc, argv, options, long_options, opt_index)
90 const struct option *long_options;
93 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
116 static struct option long_options[] =
128 long_options, &option_index);
135 printf ("option %s", long_options[option_index].name);
114 static struct option long_options[] = local
/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/marisa-trie/tools/
H A Dmarisa-lookup.cc76 ::cmdopt_option long_options[] = { local
83 ::cmdopt_init(&cmdopt, argc, argv, "mrh", long_options);
H A Dmarisa-build.cc118 ::cmdopt_option long_options[] = { local
132 ::cmdopt_init(&cmdopt, argc, argv, "n:PpTbtwlo:h", long_options);
H A Dmarisa-predict.cc105 ::cmdopt_option long_options[] = { local
115 ::cmdopt_init(&cmdopt, argc, argv, "n:dbmrh", long_options);
H A Dmarisa-find.cc145 ::cmdopt_option long_options[] = { local
156 ::cmdopt_init(&cmdopt, argc, argv, "n:aflmrh", long_options);
H A Dmarisa-benchmark.cc326 ::cmdopt_option long_options[] = { local
344 ::cmdopt_init(&cmdopt, argc, argv, "N:n:PpTbtwlIiSsh", long_options);
/external/marisa-trie/v0_1_5/tools/
H A Dmarisa_alpha-lookup.cc76 ::cmdopt_option long_options[] = { local
83 ::cmdopt_init(&cmdopt, argc, argv, "mrh", long_options);
H A Dmarisa_alpha-build.cc118 ::cmdopt_option long_options[] = { local
132 ::cmdopt_init(&cmdopt, argc, argv, "n:PpTbtwlo:h", long_options);
H A Dmarisa_alpha-predict.cc105 ::cmdopt_option long_options[] = { local
115 ::cmdopt_init(&cmdopt, argc, argv, "n:dbmrh", long_options);
H A Dmarisa_alpha-find.cc145 ::cmdopt_option long_options[] = { local
156 ::cmdopt_init(&cmdopt, argc, argv, "n:aflmrh", long_options);
H A Dmarisa_alpha-benchmark.cc326 ::cmdopt_option long_options[] = { local
344 ::cmdopt_init(&cmdopt, argc, argv, "N:n:PpTbtwlIiSsh", long_options);
/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/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/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/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/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/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 4958 milliseconds