Searched refs:long_options (Results 1 - 15 of 15) sorted by relevance

/system/core/logcat/
H A Dgetopt_long.cpp113 // 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 Dlogcat.cpp873 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 Dgetopt.h60 const struct option* long_options, int* idx,
/system/core/storaged/
H A Dmain.cpp84 static struct option long_options[] = { local
91 opt = getopt_long(argc, argv, ":pstu", long_options, &opt_idx);
/system/core/toolbox/
H A Dgetprop.cpp97 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 Dsuspend_stress.cpp57 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 Dufdt_gen_test_dts.c53 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 Dbdtool.c53 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 Dtaskstats.c261 const struct option long_options[] = { local
271 int option_char = getopt_long_only(argc, argv, "", long_options,
/system/sepolicy/tools/
H A Dsepolicy-check.c242 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 Dbuild_verity_tree.cpp136 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 Dmain.cpp281 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 Dgrep.c170 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 Dsdcard_perf_test.cpp110 struct option long_options[] = { member in namespace:__anon1915
215 long_options,
/system/core/bootstat/
H A Dbootstat.cpp1136 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;

Completed in 611 milliseconds