/ohos5.0/base/hiviewdfx/hitrace/cmd/src/ |
H A D | hitrace_cmd.cpp | 104 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 D | dp_command.cpp | 89 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 D | common_event_command.cpp | 30 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 D | command_parser.cpp | 90 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 D | edm_command.cpp | 30 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 D | demo_3a_main.cpp | 36 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 D | demo_main.cpp | 36 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 D | account_command.cpp | 29 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 D | demo_main.cpp | 40 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 D | label_classify.cpp | 51 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 D | notification_shell_command.cpp | 40 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 D | bundle_command.cpp | 81 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 D | bundle_test_tool.cpp | 642 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 D | ability_command.cpp | 55 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 D | driver-peripherals-camera-des.md | 880 c = getopt_long(argc, argv, shortOptions, LONG_OPTIONS, &idx);
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-peripherals-camera-des.md | 889 c = getopt_long(argc, argv, shortOptions, LONG_OPTIONS, &idx);
|