Searched refs:LONG_OPTIONS (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/hitrace/cmd/src/ |
D | hitrace_cmd.cpp | 44 constexpr struct option LONG_OPTIONS[] = { variable 419 if (!strcmp(LONG_OPTIONS[optionIndex].name, "buffer_size")) { in ParseLongOpt() 428 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "trace_clock")) { in ParseLongOpt() 436 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "help")) { in ParseLongOpt() 439 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "time")) { in ParseLongOpt() 447 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "list_categories")) { in ParseLongOpt() 450 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "output")) { in ParseLongOpt() 459 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "overwrite")) { in ParseLongOpt() 461 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "trace_begin")) { in ParseLongOpt() 465 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "trace_finish")) { in ParseLongOpt() [all …]
|
/base/notification/common_event_service/tools/cem/src/ |
D | common_event_command.cpp | 30 const struct option LONG_OPTIONS[] = { variable 114 … while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetPublishCmdInfo() 207 … while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
|
/base/account/os_account/tools/acm/src/ |
D | account_command.cpp | 26 const struct option LONG_OPTIONS[] = { variable 100 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsCreateCommand() 214 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunCommand() 287 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseCommandOpt()
|
/base/notification/distributed_notification_service/tools/dump/src/ |
D | notification_shell_command.cpp | 39 const struct option LONG_OPTIONS[] = { variable 190 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS, LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
|