/external/tcpdump/missing/ |
D | getopt_long.c | 190 const struct option *long_options, int *idx, int short_too, int flags) in parse_long_options() argument 229 for (i = 0; long_options[i].name; i++) { in parse_long_options() 231 if (strncmp(current_argv, long_options[i].name, in parse_long_options() 235 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options() 251 long_options[i].has_arg != in parse_long_options() 252 long_options[match].has_arg || in parse_long_options() 253 long_options[i].flag != long_options[match].flag || in parse_long_options() 254 long_options[i].val != long_options[match].val) in parse_long_options() 270 if (long_options[match].has_arg == no_argument in parse_long_options() 282 if (long_options[match].flag == NULL) in parse_long_options() [all …]
|
/external/mesa3d/src/getopt/ |
D | getopt_long.c | 160 const struct option *long_options, int *idx, int short_too) in parse_long_options() argument 178 for (i = 0; long_options[i].name; i++) { in parse_long_options() 180 if (strncmp(current_argv, long_options[i].name, in parse_long_options() 184 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options() 208 if (long_options[match].has_arg == no_argument in parse_long_options() 216 if (long_options[match].flag == NULL) in parse_long_options() 217 optopt = long_options[match].val; in parse_long_options() 222 if (long_options[match].has_arg == required_argument || in parse_long_options() 223 long_options[match].has_arg == optional_argument) { in parse_long_options() 226 else if (long_options[match].has_arg == in parse_long_options() [all …]
|
/external/bison/lib/ |
D | getopt1.c | 41 const struct option *long_options, int *opt_index) in getopt_long() argument 43 return _getopt_internal (argc, (char **) argv, options, long_options, in getopt_long() 49 const struct option *long_options, int *opt_index, in _getopt_long_r() argument 52 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 64 const struct option *long_options, int *opt_index) in getopt_long_only() argument 66 return _getopt_internal (argc, (char **) argv, options, long_options, in getopt_long_only() 72 const struct option *long_options, int *opt_index, in _getopt_long_only_r() argument 75 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r() 94 static const struct option long_options[] = in main() local 106 long_options, &option_index); in main() [all …]
|
/external/gptfdisk/ |
D | android_popt.cc | 32 struct option *long_options = (struct option *) in poptGetContext() local 35 long_options[i].name = options[i].longName; in poptGetContext() 36 long_options[i].flag = 0; in poptGetContext() 42 long_options[i].val = options[i].val; in poptGetContext() 46 long_options[i].has_arg = no_argument; in poptGetContext() 54 long_options[i].has_arg = required_argument; in poptGetContext() 66 con->long_options = long_options; in poptGetContext() 71 free(con->long_options); in poptFreeContext() 97 con->long_options, &i); in poptGetNextOpt()
|
D | popt.h | 51 struct option *long_options; member
|
/external/iproute2/tipc/ |
D | tipc.c | 54 struct option long_options[] = { in main() local 72 i = getopt_long(argc, argv, "h", long_options, &option_index); in main()
|
/external/tlsdate/src/ |
D | tlsdate.c | 135 static struct option long_options[] = in main() local 154 long_options, &option_index); in main()
|
/external/rootdev/ |
D | main.c | 57 static const struct option long_options[] = { in parse_args() local 70 c = getopt_long_only(argc, argv, "", long_options, &option_index); in parse_args()
|
/external/rmi4utils/f54test/ |
D | main.cpp | 106 static struct option long_options[] = { in main() local 120 while ((opt = getopt_long(argc, argv, F54TEST_GETOPTS, long_options, &index)) != -1) { in main()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
D | glacier | 131 long_options = ['access_key=', 'secret_key=', 'region='] 133 opts, args = getopt(argv, options, long_options)
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_test.cc | 31 long_options[] = { variable 60 int32_t c = getopt_long(argc, argv, short_options, long_options, &index); in main()
|
D | media_v4l2_unittest.cc | 245 static const struct option long_options[] = { variable 258 int32_t c = getopt_long(argc, argv, short_options, long_options, &index); in main()
|
/external/libmtp/examples/ |
D | connect.c | 112 static struct option long_options[] = { in main() local 121 int c = getopt_long (argc, argv, "d:f:g:n:t:", long_options, &option_index); in main()
|
/external/avahi/avahi-utils/ |
D | avahi-set-host-name.c | 83 static const struct option long_options[] = { in parse_command_line() local 95 while ((o = getopt_long(argc, argv, "hVv", long_options, NULL)) >= 0) { in parse_command_line()
|
D | avahi-resolve.c | 173 static const struct option long_options[] = { in parse_command_line() local 188 while ((o = getopt_long(argc, argv, "hVnav46", long_options, NULL)) >= 0) { in parse_command_line()
|
D | avahi-publish.c | 239 static const struct option long_options[] = { in parse_command_line() local 261 while ((o = getopt_long(argc, argv, "hVsavRd:H:f", long_options, NULL)) >= 0) { in parse_command_line()
|
/external/rmi4utils/rmi4update/ |
D | main.cpp | 108 static struct option long_options[] = { in main() local 122 while ((opt = getopt_long(argc, argv, RMI4UPDATE_GETOPTS, long_options, &index)) != -1) { in main()
|
/external/libmicrohttpd/src/examples/ |
D | mhd2spdy.c | 260 struct option long_options[] = { in main() local 271 getopt_ret = getopt_long( argc, argv, "p:b:vos", long_options, &option_index); in main()
|
/external/avahi/avahi-ui/ |
D | bssh.c | 67 static const struct option long_options[] = { in parse_command_line() local 76 while ((o = getopt_long(argc, argv, "hVd:svS", long_options, NULL)) >= 0) { in parse_command_line()
|
/external/selinux/checkpolicy/ |
D | checkmodule.c | 154 struct option long_options[] = { in main() local 165 while ((ch = getopt_long(argc, argv, "ho:bVU:mMC", long_options, NULL)) != -1) { in main()
|
/external/rmi4utils/rmihidtool/ |
D | main.cpp | 208 static struct option long_options[] = { in main() local 236 while ((opt = getopt_long(argc, argv, RMI4UPDATE_GETOPTS, long_options, &index)) != -1) { in main()
|
/external/bison/src/ |
D | getargs.c | 527 static struct option const long_options[] = variable 601 while ((c = getopt_long (argc, argv, short_options, long_options, NULL)) in getargs()
|
/external/autotest/client/tests/signaltest/src/ |
D | signaltest.c | 235 static struct option long_options[] = { in process_options() local 247 long_options, &option_index); in process_options()
|
/external/fio/ |
D | options.c | 3643 struct option *long_options, in options_to_lopts() argument 3648 add_to_lopt(&long_options[i], o, o->name, option_type); in options_to_lopts() 3651 add_to_lopt(&long_options[i], o, o->alias, option_type); in options_to_lopts() 3660 void fio_options_set_ioengine_opts(struct option *long_options, in fio_options_set_ioengine_opts() argument 3666 while (long_options[i].name) { in fio_options_set_ioengine_opts() 3667 if (long_options[i].val == FIO_GETOPT_IOENGINE) { in fio_options_set_ioengine_opts() 3668 memset(&long_options[i], 0, sizeof(*long_options)); in fio_options_set_ioengine_opts() 3680 options_to_lopts(td->io_ops->options, long_options, i, in fio_options_set_ioengine_opts() 3684 void fio_options_dup_and_init(struct option *long_options) in fio_options_dup_and_init() argument 3691 while (long_options[i].name) in fio_options_dup_and_init() [all …]
|
/external/ltrace/ |
D | options.c | 535 static struct option long_options[] = { in process_options() local 565 c = getopt_long(argc, argv, opts, long_options, &option_index); in process_options()
|