/base/update/updater/services/diffpatch/ |
H A D | diff_main.cpp | 32 int opt; in main() local 34 while ((opt = getopt(argc, argv, optstring)) != -1) { in main() 35 switch (opt) { in main()
|
/base/msdp/device_status/tools/vdev/src/ |
H A D | vdevadm.cpp | 108 int32_t opt = getopt(argc, argv, "t:"); in Mount() local 109 if ((opt != 't') || (optarg == nullptr)) { in Mount() 132 int32_t opt = getopt(argc, argv, "t:"); in Unmount() local 133 if ((opt != 't') || (optarg == nullptr)) { in Unmount() 155 int32_t opt = getopt(argc, argv, "t:"); in Clone() local 156 if ((opt != 't') || (optarg == nullptr)) { in Clone() 179 int32_t opt = getopt(argc, argv, "t:"); in Monitor() local 180 if ((opt != 't') || (optarg == nullptr)) { in Monitor() 200 int32_t opt = getopt(argc, argv, "t:"); in Act() local 201 if ((opt ! in Act() 225 int32_t opt = getopt_long(argc, argv, "+h", options, nullptr); main() local [all...] |
H A D | virtual_touchscreen_builder.cpp | 236 int32_t opt = getopt(argc, argv, "d:u:m:M:f:r:w:D:"); in Act() local 237 if (opt < 0) { in Act() 248 auto action = ruleTscrnActions_.find(opt); in Act() 255 auto action = readTscrnActions_.find(opt); in Act() 262 auto action = moveTscrnActions_.find(opt); in Act() 268 if (opt == 'w') { in Act() 273 } while ((opt = getopt(argc, argv, "d:u:m:M:f:r:w:D:")) >= 0); in Act()
|
/base/startup/init/test/fuzztest/splitstring_fuzzer/ |
H A D | splitstring_fuzzer.cpp | 26 char *opt[MAX_STR_NUMS] = {NULL}; in FuzzSplitString() local 28 int ret = SplitString(srcPtr, " ", opt, MAX_STR_NUMS); in FuzzSplitString()
|
/base/hiviewdfx/hievent_lite/frameworks/ |
H A D | hiview_output_event.c | 118 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in ClearEventOutput() local 119 if (opt == OUTPUT_OPTION_BIN_FILE || opt == OUTPUT_OPTION_TEXT_FILE) { in ClearEventOutput() 128 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in InitFaultEventOutput() local 132 if (opt == OUTPUT_OPTION_DEBUG || opt == OUTPUT_OPTION_FLOW) { in InitFaultEventOutput() 146 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in InitUeEventOutput() local 147 if (opt == OUTPUT_OPTION_DEBUG || opt == OUTPUT_OPTION_FLOW) { in InitUeEventOutput() 161 int8 opt in InitStatEventOutput() local 250 int8 opt = GETOPTION(g_hiviewConfig.outputOption); OutputEvent() local [all...] |
/base/hiviewdfx/hilog_lite/frameworks/mini/ |
H A D | hiview_output_log.c | 101 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in InitLogOutput() local 102 if (opt == OUTPUT_OPTION_DEBUG || opt == OUTPUT_OPTION_FLOW) { in InitLogOutput() 106 if (opt == OUTPUT_OPTION_BIN_FILE) { in InitLogOutput() 118 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in ClearLogOutput() local 120 if (opt == OUTPUT_OPTION_TEXT_FILE) { in ClearLogOutput() 122 } else if (opt == OUTPUT_OPTION_BIN_FILE) { in ClearLogOutput() 160 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in OutputLog() local 162 if (opt == OUTPUT_OPTION_DEBUG || isPrint || isDisableCache) { in OutputLog() 169 if (opt in OutputLog() 635 int8 opt = GETOPTION(g_hiviewConfig.outputOption); FlushLog() local [all...] |
/base/hiviewdfx/hiview/plugins/usage_event_report/service/ |
H A D | usage_event_report_service.cpp | 135 int opt = 0;
in ProcessArgsRequest() local 136 while ((opt = getopt(argc, argv, ARG_SELECTION)) != -1) {
in ProcessArgsRequest() 137 switch (opt) {
in ProcessArgsRequest()
|
/base/startup/init/ueventd/ |
H A D | ueventd_main.c | 179 int opt; in main() local 182 while ((opt = getopt(argc, argv, "drblv:h")) != -1) { in main() 183 switch (opt) { in main()
|
/base/startup/init/services/param/linux/ |
H A D | param_message.c | 27 int opt = 1;
in ConnectServer() local 28 int ret = setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &opt, sizeof(opt));
in ConnectServer()
|
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/ |
H A D | chain_rule.cpp | 34 std::string opt; in ChainRule() local 35 iss >> opt; in ChainRule() local
|
/base/hiviewdfx/hidumper/frameworks/native/include/manager/ |
H A D | dump_implement.h | 91 bool CheckDumpPermission(DumperOpts &opt); 92 bool SetIpcStatParam(DumperOpts &opt, const std::string& param); 93 DumpStatus ParseCmdOptionForA(DumperOpts &opt, char *argv[]);
|
/base/hiviewdfx/hilog_lite/command/ |
H A D | hilog_command.c | 191 int opt = 0; in HilogCmdProc() local 202 while ((opt = getopt_long(argc, argv, shortOptions, longOptions, &optionIndex)) != -1) { in HilogCmdProc() 203 switch (opt) { in HilogCmdProc()
|
/base/msdp/device_status/intention/services/intention_service/src/ |
H A D | intention_dumper.cpp | 65 int32_t opt = -1; in Dump() local 67 while ((opt = getopt_long(argv.size(), argv.data(), "+hslcodm", dumpOptions, nullptr)) >= 0) { in Dump() 68 DumpOnce(fd, opt); in Dump()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_command_lexer_test.cpp | 151 const char *opt = "-p"; in HWTEST_F() local 153 std::string command = Join(SPACE_STR, fileName, opt, dirName, nullptr); in HWTEST_F() 160 ASSERT_EQ(args_[1], opt); in HWTEST_F()
|
/base/hiviewdfx/hisysevent/frameworks/native/ |
H A D | hisysevent_tool.cpp | 204 int opt; in HandleInput() local 205 while ((opt = getopt(argc, argv, selection)) != INVALID_ARG_OPT) { in HandleInput() 206 if (opt == 'h') { in HandleInput() 212 if (optHandlers.find(opt) != optHandlers.end()) { in HandleInput() 213 optHandlers.at(opt)(clientCmdArg, optarg); in HandleInput()
|
/base/msdp/device_status/services/native/src/ |
H A D | devicestatus_dumper.cpp | 94 int32_t opt = getopt_long(argv.size(), argv.data(), "+hslcodm", dumpOptions, nullptr); in ParseCommand() local 95 if (opt < 0) { in ParseCommand() 98 ExecutDump(fd, datas, opt); in ParseCommand() 102 void DeviceStatusDumper::ExecutDump(int32_t fd, const std::vector<Data> &datas, int32_t opt) in ExecutDump() argument 104 switch (opt) { in ExecutDump()
|
/base/web/webview/ohos_adapter/pasteboard_adapter/src/ |
H A D | pasteboard_client_adapter_impl.cpp | 200 Media::InitializationOptions opt; in SetImgData() local 201 opt.size.width = imageData->GetWidth(); in SetImgData() 202 opt.size.height = imageData->GetHeight(); in SetImgData() 203 opt.pixelFormat = ClipboardToImageColorType(imageData->GetColorType()); in SetImgData() 204 opt.alphaType = ClipboardToImageAlphaType(imageData->GetAlphaType()); in SetImgData() 205 opt.editable = true; in SetImgData() 206 std::unique_ptr<Media::PixelMap> pixelMap = Media::PixelMap::Create(opt); in SetImgData()
|
/base/hiviewdfx/hiview_lite/ |
H A D | hiview_util.h | 48 #define GETOPTION(opt) ((opt) & OPTION_MASK)
|
/base/hiviewdfx/hiview/plugins/usage_event_report/include/ |
H A D | usage_event_report.h | 53 static void StartServiceByOption(const std::string& opt);
|
/base/sensors/medical_sensor/frameworks/native/medical_sensor/include/ |
H A D | i_medical_sensor_service.h | 42 virtual ErrCode SetOption(uint32_t sensorId, uint32_t opt) = 0;
|
H A D | medical_sensor_service_proxy.h | 33 ErrCode SetOption(uint32_t sensorId, uint32_t opt) override;
|
/base/hiviewdfx/hiview/plugins/usage_event_report/ |
H A D | usage_event_report.cpp | 287 void UsageEventReport::StartServiceByOption(const std::string& opt)
in StartServiceByOption() argument 289 HIVIEW_LOGI("start service, opt=%{public}s", opt.c_str());
in StartServiceByOption() 311 opt.c_str(), nullptr) < 0) {
in StartServiceByOption()
|
/base/startup/appspawn/service/hnp/pack/src/ |
H A D | hnp_pack.c | 206 int opt;
in HnpCmdPack() local 209 while ((opt = getopt_long(argc, argv, "hi:o:n:v:", NULL, NULL)) != -1) {
in HnpCmdPack() 210 switch (opt) {
in HnpCmdPack()
|
/base/startup/init/test/benchmark/ |
H A D | benchmark_fwk.cpp | 111 int opt; in ParseOptions() local 115 while ((opt = getopt_long(argc, argv, "c:i:a:h", g_benchmarkLongOptions, nullptr)) != -1) { in ParseOptions() 116 switch (opt) { in ParseOptions()
|
/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/ |
H A D | security_manager_proxy_test.cpp | 295 Media::InitializationOptions opt; in HWTEST_F() local 296 opt.size.width = 100; in HWTEST_F() 297 opt.size.height = 100; in HWTEST_F() 298 auto pixelMap = Media::PixelMap::Create(opt); in HWTEST_F()
|