/external/libusb/examples/getopt/ |
getopt1.c | 68 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
|
/toolchain/binutils/binutils-2.27/libiberty/ |
getopt1.c | 71 const struct option *long_options, int *opt_index) 73 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); 83 const struct option *long_options, int *opt_index) 85 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); 106 static struct option long_options[] = 118 long_options, &option_index); 125 printf ("option %s", long_options[option_index].name); 104 static struct option long_options[] = local
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
getopt_long.c | 189 * Returns -1 if short_too is set and the option does not match long_options. 193 const struct option *long_options, int *idx, int short_too, int flags) 232 for (i = 0; long_options[i].name; i++) { 234 if (strncmp(current_argv, long_options[i].name, 238 if (strlen(long_options[i].name) == current_argv_len) { 254 long_options[i].has_arg != 255 long_options[match].has_arg || 256 long_options[i].flag != long_options[match].flag || 257 long_options[i].val != long_options[match].val [all...] |
/external/tcpdump/missing/ |
getopt_long.c | 186 * 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[i].val != long_options[match].val [all...] |
/external/gptfdisk/ |
android_popt.cc | 32 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, &i) [all...] |
popt.h | 51 struct option *long_options; member in struct:_poptContext
|
/system/core/logcat/ |
getopt_long.cpp | 113 // Returns -1 if short_too is set and the option does not match long_options. 115 const struct option* long_options, int* idx, 148 for (int i = 0; long_options[i].name; i++) { 150 if (strncmp(current_argv, long_options[i].name, current_argv_len)) { 154 if (strlen(long_options[i].name) == current_argv_len) { 166 } else if (long_options[i].has_arg != long_options[match].has_arg || 167 long_options[i].flag != long_options[match].flag || 168 long_options[i].val != long_options[match].val) [all...] |
/external/mesa3d/src/getopt/ |
getopt_long.c | 156 * 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[match].has_arg == optional_argument) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
getopt.h | 78 const struct option *long_options, int *idx); 80 const struct option *long_options, int *idx);
|
/external/iproute2/tipc/ |
tipc.c | 54 struct option long_options[] = { local 72 i = getopt_long(argc, argv, "h", long_options, &option_index);
|
/external/perfetto/src/traced/probes/ |
probes.cc | 33 static struct option long_options[] = { local 38 while ((c = getopt_long(argc, argv, "", long_options, &option_index)) != -1) {
|
/external/syslinux/libinstaller/ |
syslxopt.h | 41 extern const struct option long_options[];
|
/system/core/logcat/include/log/ |
getopt.h | 60 const struct option* long_options, int* idx,
|
/external/adhd/cras/src/server/ |
cras.c | 16 static struct option long_options[] = { variable in typeref:struct:option 46 c = getopt_long(argc, argv, "", long_options, &option_index);
|
/external/rootdev/ |
main.c | 57 static const struct option long_options[] = { local 70 c = getopt_long_only(argc, argv, "", long_options, &option_index);
|
/test/vts-testcase/security/poc/target/ |
poc_test.cpp | 33 static struct option long_options[] = { variable in typeref:struct:option 84 while ((opt = getopt_long_only(argc, argv, "", long_options, &index)) != -1) {
|
/external/iproute2/rdma/ |
rdma.c | 83 static const struct option long_options[] = { local 102 long_options, NULL)) >= 0) {
|
/external/libmtp/examples/ |
connect.c | 98 static struct option long_options[] = { local 107 int c = getopt_long (argc, argv, "d:f:g:n:t:", long_options, &option_index);
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
glcpp.c | 126 long_options[] = { variable in typeref:struct:option 145 while ((c = getopt_long(argc, argv, "d", long_options, NULL)) != -1) {
|
/external/rmi4utils/f54test/ |
main.cpp | 106 static struct option long_options[] = { local 120 while ((opt = getopt_long(argc, argv, F54TEST_GETOPTS, long_options, &index)) != -1) {
|
/system/core/storaged/ |
main.cpp | 84 static struct option long_options[] = { local 91 opt = getopt_long(argc, argv, ":pstu", long_options, &opt_idx);
|
/system/core/toolbox/ |
getprop.cpp | 97 static const struct option long_options[] = { local 102 int arg = getopt_long(argc, argv, "TZ", long_options, nullptr);
|
/toolchain/binutils/binutils-2.27/binutils/ |
cxxfilt.c | 35 static const struct option long_options[] = variable in typeref:struct:option 183 while ((c = getopt_long (argc, argv, "_hinps:tv", long_options, (int *) 0)) != EOF)
|
/external/libmicrohttpd/src/examples/ |
mhd2spdy.c | 260 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/ |
writetest.c | 179 static struct option long_options[] = { local 187 c = getopt_long(argc, argv, "hvb:o:s:", long_options,
|