Searched defs:long_options (Results 1 - 13 of 13) sorted by relevance

/system/core/storaged/
H A Dmain.cpp77 static struct option long_options[] = { local
83 opt = getopt_long(argc, argv, ":skdhu0", long_options, &opt_idx);
/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/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/verity/fec/
H A Dmain.cpp282 const static struct option long_options[] = { local
297 int c = getopt_long(argc, argv, "hedSr:ij:s:E:V:p:v", 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/core/logcat/
H A Dgetopt_long.cpp114 // Returns -1 if short_too is set and the option does not match long_options.
116 const struct option* long_options, int* idx,
149 for (int i = 0; long_options[i].name; i++) {
151 if (strncmp(current_argv, long_options[i].name, current_argv_len)) {
155 if (strlen(long_options[i].name) == current_argv_len) {
167 } else if (long_options[i].has_arg != long_options[match].has_arg ||
168 long_options[i].flag != long_options[match].flag ||
169 long_options[
115 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
241 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/extras/taskstats/
H A Dtaskstats.c261 const struct option long_options[] = { local
271 int option_char = getopt_long_only(argc, argv, "", long_options,
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp110 struct option long_options[] = { member in namespace:__anon1779
215 long_options,
/system/extras/verity/
H A Dbuild_verity_tree.cpp137 const static struct option long_options[] = { local
146 int c = getopt_long(argc, argv, "a:A:hSs:v", long_options, NULL);
/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/core/bootstat/
H A Dbootstat.cpp438 static const struct option long_options[] = { local
453 while ((opt = getopt_long(argc, argv, "hlpr:", long_options, &option_index)) != -1) {
457 const std::string option_name = long_options[option_index].name;
/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)) !=

Completed in 352 milliseconds