Home
last modified time | relevance | path

Searched refs:LONG_OPTIONS (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/hiviewdfx/hitrace/cmd/src/
H A Dhitrace_cmd.cpp104 constexpr struct option LONG_OPTIONS[] = { variable
310 if (!strcmp(LONG_OPTIONS[optionIndex].name, "buffer_size")) { in ParseLongOpt()
333 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "help")) { in ParseLongOpt()
335 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "time")) { in ParseLongOpt()
345 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "output")) { in ParseLongOpt()
347 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "overwrite")) { in ParseLongOpt()
355 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "trace_dump")) { in ParseLongOpt()
357 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "record")) { in ParseLongOpt()
373 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "text")) { in ParseLongOpt()
375 } else if (!strcmp(LONG_OPTIONS[optionIndex].name, "raw")) { in ParseLongOpt()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp89 const struct option LONG_OPTIONS[] = { variable
169 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in QueryCommand()
201 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in PutCommand()
235 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in DeleteCommand()
261 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in SyncCommand()
296 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in SubscribeCommand()
/ohos5.0/base/notification/common_event_service/tools/cem/src/
H A Dcommon_event_command.cpp30 const struct option LONG_OPTIONS[] = { variable
102 … while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetPublishCmdInfo()
201 … while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/tools/src/
H A Dcommand_parser.cpp90 const struct option LONG_OPTIONS[] = { variable
178 …while ((option = getopt_long_only(argc, argv, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1… in RunAsInstallCommand()
220 …while ((option = getopt_long_only(argc, argv, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1… in RunAsUninstallCommand()
251 int32_t option = getopt_long_only(argc, argv, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsDumpCommand()
/ohos5.0/base/customization/enterprise_device_management/tools/edm/src/
H A Dedm_command.cpp30 const struct option LONG_OPTIONS[] = { variable
128 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseEnableAdminCommandOption()
/ohos5.0/drivers/peripheral/camera/test/demo_3A/
H A Ddemo_3a_main.cpp36 const static struct option LONG_OPTIONS[] = { variable
153 c = getopt_long(argc, argv, shortOptions, LONG_OPTIONS, &idx); in ManuList()
/ohos5.0/drivers/peripheral/camera/test/demo/
H A Ddemo_main.cpp36 const static struct option LONG_OPTIONS[] = { variable
191 c = getopt_long(argc, argv, shortOptions, LONG_OPTIONS, &idx); in ManuList()
/ohos5.0/base/account/os_account/tools/acm/src/
H A Daccount_command.cpp29 const struct option LONG_OPTIONS[] = { variable
141 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseCreateCommandOpt()
273 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunCommand()
346 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseCommandOpt()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Ddemo_main.cpp40 const static struct option LONG_OPTIONS[] = { variable
211 c = getopt_long(argc, argv, shortOptions, LONG_OPTIONS, &idx); in ManuList()
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/
H A Dlabel_classify.cpp51 static struct option LONG_OPTIONS[] = { variable
273 …while ((optionIndex = getopt_long(argc, argv, "a:b:c:h:i:l:m:n:p:s:v:w:z:", LONG_OPTIONS, nullptr)… in InitSettings()
/ohos5.0/base/notification/distributed_notification_service/tools/dump/src/
H A Dnotification_shell_command.cpp40 const struct option LONG_OPTIONS[] = { variable
205 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS, LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_command.cpp81 const struct option LONG_OPTIONS[] = { variable
530 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsInstallCommand()
1136 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsCleanCommand()
1313 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsEnableCommand()
1462 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsDisableCommand()
H A Dbundle_test_tool.cpp642 const struct option LONG_OPTIONS[] = { variable
1060 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsCheckCommand()
1248 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsSetRemovableCommand()
1292 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsGetRemovableCommand()
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp55 constexpr struct option LONG_OPTIONS[] = { variable
1296 option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in MakeWantFromCmd()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-camera-des.md880 c = getopt_long(argc, argv, shortOptions, LONG_OPTIONS, &idx);
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-camera-des.md889 c = getopt_long(argc, argv, shortOptions, LONG_OPTIONS, &idx);