/system/core/logcat/ |
H A D | 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[ 114 parse_long_options_r(char* const* nargv, const char* options, const struct option* long_options, int* idx, bool short_too, struct getopt_context* context) argument 240 getopt_long_r(int nargc, char* const* nargv, const char* options, const struct option* long_options, int* idx, struct getopt_context* context) argument [all...] |
H A D | logcat.cpp | 873 static const struct option long_options[] = { local 906 long_options, &option_index, &optctx); 912 if (long_options[option_index].name == pid_str) { 916 long_options[option_index].name, 922 if (long_options[option_index].name == wrap_str) { 930 long_options[option_index].name, 938 long_options[option_index].name, 943 if (long_options[option_index].name == print_str) { 947 if (long_options[option_index].name == debug_str) { 951 if (long_options[option_inde [all...] |
/system/core/logcat/include/log/ |
H A D | getopt.h | 60 const struct option* long_options, int* idx,
|
/system/core/storaged/ |
H A D | main.cpp | 84 static struct option long_options[] = { local 91 opt = getopt_long(argc, argv, ":pstu", long_options, &opt_idx);
|
/system/core/toolbox/ |
H A D | getprop.cpp | 97 static const struct option long_options[] = { local 102 int arg = getopt_long(argc, argv, "TZ", long_options, nullptr);
|
/system/extras/tests/suspend_stress/ |
H A D | suspend_stress.cpp | 57 const static struct option long_options[] = { local 62 int c = getopt_long(argc, argv, "ac:t:", long_options, NULL);
|
/system/libufdt/tests/src/ |
H A D | ufdt_gen_test_dts.c | 53 static struct option long_options[] = { variable in typeref:struct:option 160 int c = getopt_long(argc, argv, short_options, long_options, &option_index);
|
/system/bt/tools/bdtool/ |
H A D | bdtool.c | 53 static struct option long_options[] = { variable in typeref:struct:option 305 int c = getopt_long_only(argc, argv, "", long_options, &option_index);
|
/system/extras/taskstats/ |
H A D | taskstats.c | 261 const struct option long_options[] = { local 271 int option_char = getopt_long_only(argc, argv, "", long_options,
|
/system/sepolicy/tools/ |
H A D | 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) {
|
/system/extras/verity/ |
H A D | build_verity_tree.cpp | 136 const static struct option long_options[] = { local 145 int c = getopt_long(argc, argv, "a:A:hSs:v", long_options, NULL);
|
/system/extras/verity/fec/ |
H A D | main.cpp | 281 const static struct option long_options[] = { local 296 int c = getopt_long(argc, argv, "hedSr:ij:s:E:V:p:v", long_options, NULL);
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | grep.c | 170 struct option long_options[] = variable in typeref:struct:option 396 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) !=
|
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 110 struct option long_options[] = { member in namespace:__anon1915 215 long_options,
|
/system/core/bootstat/ |
H A D | bootstat.cpp | 1136 static const struct option long_options[] = { local 1154 while ((opt = getopt_long(argc, argv, "hlpr:", long_options, &option_index)) != -1) { 1158 const std::string option_name = long_options[option_index].name;
|