/system/core/logcat/ |
D | getopt_long.cpp | 115 const struct option* long_options, int* idx, in parse_long_options_r() argument 148 for (int i = 0; long_options[i].name; i++) { in parse_long_options_r() 150 if (strncmp(current_argv, long_options[i].name, current_argv_len)) { in parse_long_options_r() 154 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options_r() 166 } else if (long_options[i].has_arg != long_options[match].has_arg || in parse_long_options_r() 167 long_options[i].flag != long_options[match].flag || in parse_long_options_r() 168 long_options[i].val != long_options[match].val) { in parse_long_options_r() 183 if (long_options[match].has_arg == no_argument && has_equal) { in parse_long_options_r() 191 long_options[match].flag ? 0 : long_options[match].val; in parse_long_options_r() 194 if (long_options[match].has_arg == required_argument || in parse_long_options_r() [all …]
|
D | logcat.cpp | 873 static const struct option long_options[] = { in __logcat() local 906 long_options, &option_index, &optctx); in __logcat() 912 if (long_options[option_index].name == pid_str) { in __logcat() 916 long_options[option_index].name, in __logcat() 922 if (long_options[option_index].name == wrap_str) { in __logcat() 930 long_options[option_index].name, in __logcat() 938 long_options[option_index].name, in __logcat() 943 if (long_options[option_index].name == print_str) { in __logcat() 947 if (long_options[option_index].name == debug_str) { in __logcat() 951 if (long_options[option_index].name == id_str) { in __logcat()
|
/system/core/storaged/ |
D | main.cpp | 84 static struct option long_options[] = { in main() local 91 opt = getopt_long(argc, argv, ":pstu", long_options, &opt_idx); in main()
|
/system/core/toolbox/ |
D | getprop.cpp | 97 static const struct option long_options[] = { in getprop_main() local 102 int arg = getopt_long(argc, argv, "TZ", long_options, nullptr); in getprop_main()
|
/system/core/logcat/include/log/ |
D | getopt.h | 60 const struct option* long_options, int* idx,
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 57 const static struct option long_options[] = { in main() local 62 int c = getopt_long(argc, argv, "ac:t:", long_options, NULL); in main()
|
/system/libufdt/tests/src/ |
D | ufdt_gen_test_dts.c | 53 static struct option long_options[] = { variable 160 int c = getopt_long(argc, argv, short_options, long_options, &option_index); in main()
|
/system/extras/taskstats/ |
D | taskstats.c | 261 const struct option long_options[] = { in main() local 271 int option_char = getopt_long_only(argc, argv, "", long_options, in main()
|
/system/sepolicy/tools/ |
D | sepolicy-check.c | 242 struct option long_options[] = { in main() local 251 while ((ch = getopt_long(argc, argv, "s:t:c:p:P:", long_options, NULL)) != -1) { in main()
|
/system/bt/tools/bdtool/ |
D | bdtool.c | 53 static struct option long_options[] = { variable 305 int c = getopt_long_only(argc, argv, "", long_options, &option_index); in parse_args()
|
/system/extras/verity/fec/ |
D | main.cpp | 281 const static struct option long_options[] = { in main() local 296 int c = getopt_long(argc, argv, "hedSr:ij:s:E:V:p:v", long_options, NULL); in main()
|
/system/extras/verity/ |
D | build_verity_tree.cpp | 136 const static struct option long_options[] = { in main() local 145 int c = getopt_long(argc, argv, "a:A:hSs:v", long_options, NULL); in main()
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | grep.c | 170 struct option long_options[] = variable 396 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) != in main()
|
/system/extras/tests/sdcard/ |
D | sdcard_perf_test.cpp | 110 struct option long_options[] = { variable 215 long_options, in parseCmdLine()
|
/system/core/bootstat/ |
D | bootstat.cpp | 1136 static const struct option long_options[] = { in main() local 1154 while ((opt = getopt_long(argc, argv, "hlpr:", long_options, &option_index)) != -1) { in main() 1158 const std::string option_name = long_options[option_index].name; in main()
|