/external/bison/lib/ |
getopt1.c | 42 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, &option_index) 94 static const struct option long_options[] = local [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
getopt1.c | 42 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, &option_index) 94 static const struct option long_options[] = local [all...] |
/ndk/sources/host-tools/make-3.81/ |
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/chromium_org/third_party/mesa/src/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...] |
/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);
|
/development/tools/yuv420sp2rgb/ |
cmdline.c | 12 static struct option long_options[] = { variable in typeref:struct:option 24 /* This array must parallel long_options[] */ 44 struct option *opt = long_options; 81 long_options, 109 if (long_options[option_index].flag != 0) 111 INFO ("option %s", long_options[option_index].name);
|
/external/lldb/tools/lldb-perf/lib/ |
TestCase.cpp | 32 GetShortOptionString (struct option *long_options) 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/lldb/source/Interpreter/ |
Args.cpp | 624 struct option *long_options = options.GetLongOptions(); 625 if (long_options == NULL) 631 for (int i=0; long_options[i].name != NULL; ++i) 633 if (long_options[i].flag == NULL) 635 if (isprint8(long_options[i].val)) 637 sstr << (char)long_options[i].val; 638 switch (long_options[i].has_arg) 661 long_options, 682 long_options[i].name || long_options[i].has_arg || long_options[i].flag || long_options[i].val [all...] |
/hardware/libhardware/tests/camera2/ |
TestSettings.cpp | 72 static struct option long_options[] = { local 81 c = getopt_long(argc, argv, "+h", long_options, &option_index);
|
/external/lldb/tools/lldb-perf/common/clang/ |
lldb_perf_clang.cpp | 308 GetShortOptionString (struct option *long_options) 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/ |
lldb-perf-stepping.cpp | 198 GetShortOptionString (struct option *long_options) 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/libmtp/examples/ |
connect.c | 112 static struct option long_options[] = { local 121 int c = getopt_long (argc, argv, "d:f:g:n:t:", long_options, &option_index);
|
/system/extras/tests/suspend_stress/ |
suspend_stress.cpp | 55 const static struct option long_options[] = { local 60 int c = getopt_long(argc, argv, "ac:t:", long_options, NULL);
|
/external/lldb/tools/driver/ |
Driver.cpp | 489 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[i].name || long_options[i].has_arg || long_options[i].flag || long_options[i].val [all...] |
/frameworks/native/cmds/atrace/ |
atrace.cpp | 824 static struct option long_options[] = { local 833 long_options, &option_index); 879 if (!strcmp(long_options[option_index].name, "async_start")) { 884 } else if (!strcmp(long_options[option_index].name, "async_stop")) { 887 } else if (!strcmp(long_options[option_index].name, "async_dump")) { 891 } else if (!strcmp(long_options[option_index].name, "list_categories")) {
|
/external/checkpolicy/ |
checkmodule.c | 169 struct option long_options[] = { local 179 while ((ch = getopt_long(argc, argv, "ho:bVU:mM", long_options, NULL)) != -1) {
|
/external/sepolicy/tools/ |
sepolicy-check.c | 242 struct option long_options[] = { local 251 while ((ch = getopt_long(argc, argv, "s:t:c:p:P:", long_options, NULL)) != -1) {
|
/ndk/sources/host-tools/ndk-stack/binutils/ |
addr2line.c | 54 static struct option long_options[] = variable in typeref:struct:option 429 while ((c = getopt_long (argc, argv, "ab:Ce:sfHhij:pVv", long_options, (int *) 0))
|
/frameworks/native/cmds/flatland/ |
Main.cpp | 745 static struct option long_options[] = { local 751 long_options, &option_index); 767 if (strcmp(long_options[option_index].name, "help")) {
|
/external/lldb/include/lldb/Interpreter/ |
Args.h | 322 FindArgumentIndexForOption (struct option *long_options, int long_options_index);
|
/external/bison/src/ |
getargs.c | 491 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))
|
/system/extras/taskstats/ |
taskstats.c | 311 const struct option long_options[] = { local 321 int option_char = getopt_long_only(argc, argv, "", long_options,
|
/system/extras/verity/ |
build_verity_tree.cpp | 131 const static struct option long_options[] = { local 138 int c = getopt_long(argc, argv, "a:A:hSs:", long_options, NULL);
|