| /base/hiviewdfx/hidumper/test/scripts/testModule/ |
| D | test_sa.py | 94 hidumperTmpCmd = "OPT:ls SUB_OPT:" 105 hidumperTmpCmd = "OPT:s SUB_OPT:" 114 hidumperTmpCmd = "OPT:s SUB_OPT:a" 125 hidumperTmpCmd = "OPT:s SUB_OPT:a" 136 hidumperTmpCmd = "OPT:s SUB_OPT:a" 144 hidumperTmpCmd = "OPT:s SUB_OPT:" 151 hidumperTmpCmd = "OPT:s SUB_OPT:a" 162 hidumperTmpCmd = "OPT:s SUB_OPT:a" 173 hidumperTmpCmd = "OPT:s SUB_OPT:a" 184 hidumperTmpCmd = "OPT:s SUB_OPT:a" [all …]
|
| D | test_cpu.py | 37 hidumperTmpCmd = "OPT:cpuusage SUB_OPT:" 48 hidumperTmpCmd = "OPT:cpuusage SUB_OPT:" 59 hidumperTmpCmd = "OPT:cpuusage SUB_OPT:" 68 hidumperTmpCmd = "OPT:cpufreq SUB_OPT:"
|
| D | test_storage.py | 61 hidumperTmpCmd = "OPT:storage SUB_OPT:" 68 hidumperTmpCmd = "OPT:storage SUB_OPT:" 79 hidumperTmpCmd = "OPT:storage SUB_OPT:"
|
| D | test_base_command.py | 106 hidumperTmpCmd = "OPT:lc SUB_OPT:" 115 hidumperTmpCmd = "OPT:c SUB_OPT:" 125 hidumperTmpCmd = "OPT:c SUB_OPT:base" 133 hidumperTmpCmd = "OPT:c SUB_OPT:system" 141 hidumperTmpCmd = "OPT:e SUB_OPT:"
|
| D | test_process.py | 69 hidumperTmpCmd = "OPT:p SUB_OPT:" 85 hidumperTmpCmd = "OPT:p SUB_OPT:" 98 hidumperTmpCmd = "OPT:p SUB_OPT:"
|
| D | test_ipc.py | 37 hidumperTmpCmd = "OPT:ipc SUB_OPT:stat" 47 hidumperTmpCmd = "OPT:ipc SUB_OPT:stat"
|
| D | test_mem_smaps.py | 93 hidumperTmpCmd = "OPT:mem-smaps SUB_OPT:" 111 hidumperTmpCmd = "OPT:mem-smaps SUB_OPT:v" 123 hidumperTmpCmd = "OPT:mem-smaps SUB_OPT:"
|
| D | test_net.py | 84 hidumperTmpCmd = "OPT:net SUB_OPT:" 91 hidumperTmpCmd = "OPT:net SUB_OPT:" 102 hidumperTmpCmd = "OPT:net SUB_OPT:"
|
| /base/hiviewdfx/hitrace/test/unittest/hitrace_event/ |
| D | hitrace_event_listener.cpp | 31 if (traceEventParams.opt == traceSysEventParams.opt && in IsTraceSysEventParamsEqual() 48 sysEvent->GetParamValue("OPT", traceEventParams.opt); in OnEvent()
|
| D | hitrace_event_test.cpp | 83 traceEventParams.opt = "DumpTextTrace"; 108 traceEventParams.opt = "DumpTextTrace"; 129 traceEventParams.opt = "DumpTextTrace"; 150 traceEventParams.opt = "ShowListCategory"; 171 traceEventParams.opt = "ShowHelp";
|
| /base/msdp/device_status/tools/vdev/src/ |
| 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 != 't') || (optarg == nullptr)) { in Act() [all …]
|
| /base/update/updater/services/diffpatch/ |
| 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/hiviewdfx/hievent_lite/frameworks/ |
| 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 = GETOPTION(g_hiviewConfig.outputOption); in InitStatEventOutput() local 162 if (opt == OUTPUT_OPTION_DEBUG || opt == OUTPUT_OPTION_FLOW) { in InitStatEventOutput() 250 int8 opt = GETOPTION(g_hiviewConfig.outputOption); in OutputEvent() local 251 if (c->usedSize >= HIVIEW_HIEVENT_FILE_BUF_SIZE || opt == OUTPUT_OPTION_DEBUG) { in OutputEvent() [all …]
|
| /base/hiviewdfx/hilog_lite/frameworks/mini/ |
| 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 == OUTPUT_OPTION_DEBUG || isDisableCache || isLogLimited) { in OutputLog() 187 switch (opt) { in OutputLog() [all …]
|
| /base/startup/init/test/fuzztest/splitstring_fuzzer/ |
| D | splitstring_fuzzer.cpp | 24 char *opt[20] = {nullptr}; in FuzzSplitString() local 26 int ret = SplitString(srcPtr, " ", opt, 20); in FuzzSplitString()
|
| /base/hiviewdfx/hidumper/frameworks/native/include/manager/ |
| D | dump_implement.h | 92 bool CheckDumpPermission(DumperOpts &opt); 93 bool SetIpcStatParam(DumperOpts &opt, const std::string& param); 94 DumpStatus ParseCmdOptionForA(DumperOpts &opt, char *argv[]); 96 DumpStatus SetMemJsheapParam(DumperOpts &opt);
|
| /base/hiviewdfx/hidumper/frameworks/native/src/manager/ |
| D | dump_implement.cpp | 378 dumperSysEventParams_->opt = "cpufreq"; in ParseSubLongCmdOption() 381 dumperSysEventParams_->opt = "cpuusage"; in ParseSubLongCmdOption() 384 dumperSysEventParams_->opt = "mem"; in ParseSubLongCmdOption() 387 dumperSysEventParams_->opt = "net"; in ParseSubLongCmdOption() 390 dumperSysEventParams_->opt = "storage"; in ParseSubLongCmdOption() 408 dumperSysEventParams_->opt = "mem-smaps"; in ParseLongCmdOption() 426 dumperSysEventParams_->opt = "ipc"; in ParseLongCmdOption() 446 DumpStatus DumpImplement::SetMemJsheapParam(DumperOpts &opt) in SetMemJsheapParam() argument 448 opt.isDumpJsHeapMem_ = true; in SetMemJsheapParam() 449 dumperSysEventParams_->opt = "mem-jsheap"; in SetMemJsheapParam() [all …]
|
| /base/startup/init/services/modules/init_context/ |
| D | init_context.c | 161 int opt = 1; in CreateSocketPair() local 164 ret = setsockopt(socket[0], SOL_SOCKET, SO_PASSCRED, &opt, sizeof(opt)); in CreateSocketPair() 165 PLUGIN_CHECK(ret == 0, break, "Failed to set opt for %d errno %d", socket[0], errno); in CreateSocketPair() 167 PLUGIN_CHECK(ret == 0, break, "Failed to set opt for %d errno %d", socket[1], errno); in CreateSocketPair() 169 PLUGIN_CHECK(ret == 0, break, "Failed to set opt for %d errno %d", socket[0], errno); in CreateSocketPair()
|
| /base/startup/init/services/param/linux/ |
| 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/ |
| D | chain_rule.cpp | 34 std::string opt; in ChainRule() local 35 iss >> opt; in ChainRule()
|
| /base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
| D | app_spawn_command_lexer_test.cpp | 151 const char *opt = "-p"; variable 153 std::string command = Join(SPACE_STR, fileName, opt, dirName, nullptr); 160 ASSERT_EQ(args_[1], opt);
|
| /base/hiviewdfx/hiview/plugins/usage_event_report/service/ |
| D | usage_event_report_service.cpp | 134 int opt = 0; in ProcessArgsRequest() local 135 while ((opt = getopt(argc, argv, ARG_SELECTION)) != -1) { in ProcessArgsRequest() 136 switch (opt) { in ProcessArgsRequest()
|
| /base/telephony/telephony_data/pdp_profile/src/ |
| D | pdp_result_set_bridge.cpp | 55 …onalString(ResultSetBridge::Writer &writer, uint32_t columnIndex, const std::optional<string> &opt) in WriteOptionalString() argument 57 return opt.has_value() ? WriteString(writer, columnIndex, opt.value()) : ERR_OK; in WriteOptionalString()
|
| /base/msdp/device_status/intention/services/intention_service/src/ |
| 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()
|
| D | boomerang_dumper.cpp | 69 int32_t opt = -1; in Dump() local 71 while ((opt = getopt_long(argv.size(), argv.data(), "+hslcodm", dumpOptions, nullptr)) >= 0) { in Dump() 72 DumpOnce(fd, opt); in Dump()
|