Searched refs:long_options (Results 1 - 25 of 37) sorted by relevance

12

/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/libusb/examples/getopt/
H A Dgetopt1.c68 getopt_long (argc, argv, options, long_options, opt_index)
72 const struct option *long_options;
75 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
84 getopt_long_only (argc, argv, options, long_options, opt_index)
88 const struct option *long_options;
91 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
114 static struct option long_options[] =
126 long_options, &option_index);
133 printf ("option %s", long_options[option_index].name);
112 static struct option long_options[] = local
/external/tcpdump/missing/
H A Dgetopt_long.c186 * Returns -1 if short_too is set and the option does not match long_options.
190 const struct option *long_options, int *idx, int short_too, int flags)
229 for (i = 0; long_options[i].name; i++) {
231 if (strncmp(current_argv, long_options[i].name,
235 if (strlen(long_options[i].name) == current_argv_len) {
251 long_options[i].has_arg !=
252 long_options[match].has_arg ||
253 long_options[i].flag != long_options[match].flag ||
254 long_options[
189 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too, int flags) argument
354 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) argument
593 getopt_long(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
606 getopt_long_only(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) argument
[all...]
/external/gptfdisk/
H A Dandroid_popt.cc32 struct option *long_options = (struct option *) local
35 long_options[i].name = options[i].longName;
36 long_options[i].flag = 0;
42 long_options[i].val = options[i].val;
46 long_options[i].has_arg = no_argument;
54 long_options[i].has_arg = required_argument;
66 con->long_options = long_options;
71 free(con->long_options);
97 con->long_options,
[all...]
H A Dpopt.h51 struct option *long_options; member in struct:_poptContext
/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/openssh/openbsd-compat/
H A Dgetopt_long.c173 * Returns -1 if short_too is set and the option does not match long_options.
177 const struct option *long_options, int *idx, int short_too)
195 for (i = 0; long_options[i].name; i++) {
197 if (strncmp(current_argv, long_options[i].name,
201 if (strlen(long_options[i].name) == current_argv_len) {
225 if (long_options[match].has_arg == no_argument
233 if (long_options[match].flag == NULL)
234 optopt = long_options[match].val;
239 if (long_options[match].has_arg == required_argument ||
240 long_options[matc
176 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too) argument
294 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) argument
[all...]
/external/iproute2/tipc/
H A Dtipc.c54 struct option long_options[] = { local
72 i = getopt_long(argc, argv, "h", long_options, &option_index);
/external/syslinux/libinstaller/
H A Dsyslxopt.h41 extern const struct option long_options[];
H A Dsyslxopt.c50 const struct option long_options[] = { variable in typeref:struct:option
141 long_options, NULL)) != EOF) {
/external/rootdev/
H A Dmain.c57 static const struct option long_options[] = { local
70 c = getopt_long_only(argc, argv, "", long_options, &option_index);
/external/autotest/client/site_tests/camera_V4L2/src/
H A Dmedia_v4l2_test.cc31 long_options[] = { variable in typeref:struct:option
60 int32_t c = getopt_long(argc, argv, short_options, long_options, &index);
H A Dmedia_v4l2_unittest.cc245 static const struct option long_options[] = { variable in typeref:struct:option
258 int32_t c = getopt_long(argc, argv, short_options, long_options, &index);
/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/rmi4utils/f54test/
H A Dmain.cpp106 static struct option long_options[] = { local
120 while ((opt = getopt_long(argc, argv, F54TEST_GETOPTS, long_options, &index)) != -1) {
/external/libmicrohttpd/src/examples/
H A Dmhd2spdy.c260 struct option long_options[] = { local
271 getopt_ret = getopt_long( argc, argv, "p:b:vos", long_options, &option_index);
/external/ltp/testcases/kernel/io/writetest/
H A Dwritetest.c179 static struct option long_options[] = { local
187 c = getopt_long(argc, argv, "hvb:o:s:", long_options,
/external/rmi4utils/rmi4update/
H A Dmain.cpp108 static struct option long_options[] = { local
122 while ((opt = getopt_long(argc, argv, RMI4UPDATE_GETOPTS, long_options, &index)) != -1) {
/external/ltp/testcases/kernel/syscalls/mq_notify/
H A Dmq_notify01.c304 struct option long_options[] = { local
319 TEST(c = getopt_long(ac, av, "dh", long_options, NULL));
/external/rmi4utils/rmihidtool/
H A Dmain.cpp208 static struct option long_options[] = { local
236 while ((opt = getopt_long(argc, argv, RMI4UPDATE_GETOPTS, long_options, &index)) != -1) {
/external/selinux/checkpolicy/
H A Dcheckmodule.c155 struct option long_options[] = { local
166 while ((ch = getopt_long(argc, argv, "ho:bVU:mMC", long_options, NULL)) != -1) {
/external/syslinux/gpxe/src/util/
H A Defirom.c202 static struct option long_options[] = { local
210 long_options,
H A Dhijack.c478 static struct option long_options[] = { local
495 c = getopt_long ( argc, argv, "i:hn", long_options,
/external/autotest/client/tests/signaltest/src/
H A Dsignaltest.c235 static struct option long_options[] = { local
247 long_options, &option_index);
/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))

Completed in 2433 milliseconds

12