| /developtools/hiperf/test/unittest/common/native/ |
| D | option_test.cpp | 45 Option::RegisterMainOption(TEST_OPTION_CMD_1, TEST_OPTION_HELP, OptionAlwaysFalse); in SetUp() 46 Option::RegisterMainOption(TEST_OPTION_CMD_2, TEST_OPTION_HELP, OptionAlwaysFalse); in SetUp() 47 Option::RegisterMainOption(TEST_OPTION_CMD_3, TEST_OPTION_HELP, OptionAlwaysFalse); in SetUp() 52 Option::ClearMainOptions(); in TearDown() 63 Option::RegisterMainOption(TEST_OPTION_CMD_NO_PREFIX, TEST_OPTION_HELP, OptionAlwaysFalse), 66 Option::RegisterMainOption(TEST_OPTION_CMD_ERR_PREFIX, TEST_OPTION_HELP, OptionAlwaysFalse), 69 Option::RegisterMainOption(TEST_OPTION_CMD_EMPTY, TEST_OPTION_HELP, OptionAlwaysFalse), 72 EXPECT_EQ(Option::RegisterMainOption("-tf", TEST_OPTION_HELP, OptionAlwaysFalse), true); 73 EXPECT_EQ(Option::RegisterMainOption("-tf", TEST_OPTION_HELP, OptionAlwaysFalse), false); 74 EXPECT_EQ(Option::RegisterMainOption("-tt", TEST_OPTION_HELP, OptionAlwaysTrue), true); [all …]
|
| D | option_debug_test.cpp | 54 Option::ClearMainOptions(); in SetUp() 63 Option::ClearMainOptions(); in TearDown() 106 EXPECT_EQ(Option::GetMainOptions().size(), 8u); 108 EXPECT_EQ(Option::GetMainOptions().size(), 7u);
|
| D | command_test.cpp | 49 ASSERT_EQ(Option::RegisterMainOption(TEST_OPTION_TRUE, TEST_OPTION_HELP, OptionAlwaysTrue), in SetUp() 51 ASSERT_EQ(Option::RegisterMainOption(TEST_OPTION_FALSE, TEST_OPTION_HELP, OptionAlwaysFalse), in SetUp() 66 Option::ClearMainOptions(); in TearDown()
|
| D | subcommand_report_test.cpp | 1085 Option::GetOptionValue(args, "--limit-percent", mSubCommandReport.reportOption_.heatLimit_), 1087 ASSERT_EQ(Option::GetOptionValue(args, "-i", recordFile), true); 1106 ASSERT_EQ(Option::GetOptionValue(args, "--pids", mSubCommandReport.reportOption_.displayPids_), 1108 ASSERT_EQ(Option::GetOptionValue(args, "-i", recordFile), true);
|
| /developtools/global_resource_tool/src/ |
| D | cmd_parser.cpp | 26 { "inputPath", required_argument, nullptr, Option::INPUTPATH }, 27 { "packageName", required_argument, nullptr, Option::PACKAGENAME }, 28 { "outputPath", required_argument, nullptr, Option::OUTPUTPATH }, 29 { "resHeader", required_argument, nullptr, Option::RESHEADER }, 30 { "forceWrite", no_argument, nullptr, Option::FORCEWRITE }, 31 { "version", no_argument, nullptr, Option::VERSION}, 32 { "modules", required_argument, nullptr, Option::MODULES }, 33 { "json", required_argument, nullptr, Option::JSON }, 34 { "startId", required_argument, nullptr, Option::STARTID }, 35 { "fileList", required_argument, nullptr, Option::FILELIST }, [all …]
|
| D | cmd_list.cpp | 42 callback(Option::FORCEWRITE, ""); in Init() 50 …fileListHandles_.push_back(bind(&CmdList::GetString, this, root["configPath"], Option::JSON, callb… in InitFileListCommand() 51 …fileListHandles_.push_back(bind(&CmdList::GetString, this, root["packageName"], Option::PACKAGENAM… in InitFileListCommand() 52 …fileListHandles_.push_back(bind(&CmdList::GetString, this, root["output"], Option::OUTPUTPATH, cal… in InitFileListCommand() 53 …fileListHandles_.push_back(bind(&CmdList::GetString, this, root["startId"], Option::STARTID, callb… in InitFileListCommand() 55 Option::DEPENDENTRY, callback)); in InitFileListCommand() 56 fileListHandles_.push_back(bind(&CmdList::GetString, this, root["ids"], Option::IDS, callback)); in InitFileListCommand() 57 …fileListHandles_.push_back(bind(&CmdList::GetString, this, root["definedIds"], Option::DEFINED_IDS… in InitFileListCommand() 59 Option::INPUTPATH, callback)); in InitFileListCommand() 60 …fileListHandles_.push_back(bind(&CmdList::GetArray, this, root["ResourceTable"], Option::RESHEADER… in InitFileListCommand() [all …]
|
| /developtools/hiperf/src/ |
| D | option_debug.cpp | 100 …Option::RegisterMainOption("--nodebug", "disable debug log, usage format: --nodebug [command] [arg… in RegisterMainCommandDebug() 102 Option::RegisterMainOption("--debug", "show debug log, usage format: --debug [command] [args]", in RegisterMainCommandDebug() 104 …Option::RegisterMainOption("--verbose", "show debug log, usage format: --verbose [command] [args]", in RegisterMainCommandDebug() 106 …Option::RegisterMainOption("--much", "show extremely much debug log, usage format: --much [command… in RegisterMainCommandDebug() 108 …Option::RegisterMainOption("--mixlog", "mix the log in output, usage format: --much [command] [arg… in RegisterMainCommandDebug() 110 Option::RegisterMainOption("--logpath", in RegisterMainCommandDebug() 117 Option::RegisterMainOption("--logtag", tagUsage.c_str(), OnLogTag); in RegisterMainCommandDebug() 119 Option::RegisterMainOption("--hilog", "use hilog not file to record log", OnHiLog); in RegisterMainCommandDebug()
|
| D | subcommand_report.cpp | 38 if (!Option::GetOptionValue(args, "-i", recordFile_[FIRST])) { in ParseOption() 41 if (!Option::GetOptionValue(args, "-o", reportFile_)) { in ParseOption() 44 if (!Option::GetOptionValue(args, "--diff", recordFile_[SECOND])) { in ParseOption() 51 if (!Option::GetOptionValue(args, "--sort", reportOption_.sortKeys_)) { in ParseOption() 55 if (!Option::GetOptionValue(args, "--symbol-dir", symbolsPaths_)) { in ParseOption() 58 if (!Option::GetOptionValue(args, "--limit-percent", reportOption_.heatLimit_)) { in ParseOption() 62 if (!Option::GetOptionValue(args, "-s", showCallStack_)) { in ParseOption() 65 if (!Option::GetOptionValue(args, "--call-stack", showCallStack_)) { in ParseOption() 69 if (!Option::GetOptionValue(args, "--call-stack-limit-percent", in ParseOption() 74 if (!Option::GetOptionValue(args, "--comms", reportOption_.displayComms_)) { in ParseOption() [all …]
|
| D | subcommand_record.cpp | 148 if (!Option::GetOptionValue(args, "-a", targetSystemWide_)) { in GetOptions() 156 if (!Option::GetOptionValue(args, "--exclude-hiperf", excludeHiperf_)) { in GetOptions() 159 if (!Option::GetOptionValue(args, "-z", compressData_)) { in GetOptions() 162 if (!Option::GetOptionValue(args, "--no-inherit", noInherit_)) { in GetOptions() 165 if (!Option::GetOptionValue(args, "--offcpu", offCPU_)) { in GetOptions() 168 if (!Option::GetOptionValue(args, "--delay-unwind", delayUnwind_)) { in GetOptions() 171 if (!Option::GetOptionValue(args, "--disable-unwind", disableUnwind_)) { in GetOptions() 174 if (!Option::GetOptionValue(args, "--disable-callstack-expand", disableCallstackExpend_)) { in GetOptions() 177 if (!Option::GetOptionValue(args, "--verbose", verboseReport_)) { in GetOptions() 180 if (!Option::GetOptionValue(args, "-d", timeStopSec_)) { in GetOptions() [all …]
|
| D | subcommand_stat.cpp | 64 if (!Option::GetOptionValue(args, "-a", targetSystemWide_)) { in ParseOption() 73 if (!Option::GetOptionValue(args, "-c", selectCpus_)) { in ParseOption() 77 if (!Option::GetOptionValue(args, "-d", timeStopSec_)) { in ParseOption() 81 if (!Option::GetOptionValue(args, "-i", timeReportMs_)) { in ParseOption() 85 if (!Option::GetOptionValue(args, "-e", selectEvents_)) { in ParseOption() 89 if (!Option::GetOptionValue(args, "-g", selectGroups_)) { in ParseOption() 93 if (!Option::GetOptionValue(args, "--no-inherit", noCreateNew_)) { in ParseOption() 97 if (!Option::GetOptionValue(args, "--app", appPackage_)) { in ParseOption() 104 if (!Option::GetOptionValue(args, "--chkms", checkAppMs_)) { in ParseOption() 107 if (!Option::GetOptionValue(args, "-p", selectPids_)) { in ParseOption() [all …]
|
| D | subcommand_dump.cpp | 63 if (!Option::GetOptionValue(args, "--head", dumpHeader_)) { in ParseOption() 67 if (!Option::GetOptionValue(args, "-f", dumpFeatures_)) { in ParseOption() 71 if (!Option::GetOptionValue(args, "-d", dumpData_)) { in ParseOption() 75 if (!Option::GetOptionValue(args, "--sympath", dumpSymbolsPaths_)) { in ParseOption() 79 if (!Option::GetOptionValue(args, "--elf", elfFileName_)) { in ParseOption() 83 if (!Option::GetOptionValue(args, "-i", dumpFileName_)) { in ParseOption() 87 if (!Option::GetOptionValue(args, "--proto", protobufDumpFileName_)) { in ParseOption() 92 if (!Option::GetOptionValue(args, "-o", outputFilename_)) { in ParseOption() 95 if (!Option::GetOptionValue(args, "--export", exportSampleIndex_)) { in ParseOption()
|
| D | subcommand.cpp | 32 if (!Option::GetOptionValue(args, "--dumpoptions", dumpOptions_)) { in OnSubCommandOptions() 35 if (!Option::GetOptionValue(args, "--help", showHelp_) in OnSubCommandOptions() 36 || !Option::GetOptionValue(args, "-h", showHelp_)) { in OnSubCommandOptions()
|
| D | main.cpp | 89 Option::ClearMainOptions(); in main()
|
| D | subcommand_help.cpp | 39 const auto &mainOptions = Option::GetMainOptions(); in OnHelp()
|
| D | command.cpp | 34 auto commandOption = Option::FindMainOption(arguments.front()); in DispatchCommands()
|
| D | option.cpp | 21 namespace Option { namespace
|
| /developtools/hiperf/demo/cpp/ |
| D | hiperf_example_cmd.cpp | 41 struct Option { struct 142 USED_FUNCTION void LoopFunction(milliseconds timeOutMS, const Option &option) in LoopFunction() 188 inline void Loop(milliseconds timeOutMS, const Option &option) in Loop() 195 USED_FUNCTION void CallStack10(int currentStack, const Option &option) in CallStack10() 202 USED_FUNCTION void CallStack9(int currentStack, const Option &option) in CallStack9() 214 USED_FUNCTION void CallStack8(int currentStack, const Option &option) in CallStack8() 226 USED_FUNCTION void CallStack7(int currentStack, const Option &option) in CallStack7() 238 USED_FUNCTION void CallStack6(int currentStack, const Option &option) in CallStack6() 250 USED_FUNCTION void CallStack5(int currentStack, const Option &option) in CallStack5() 262 USED_FUNCTION void CallStack4(int currentStack, const Option &option) in CallStack4() [all …]
|
| /developtools/hiperf/include/ |
| D | subcommand_help.h | 34 Option::RegisterMainOption("--help", "show help", OnHelp); in SubCommandHelp() 35 Option::RegisterMainOption("-h", "show help", OnHelp); in SubCommandHelp()
|
| D | option.h | 30 namespace Option {
|
| /developtools/ace_ets2bundle/compiler/ |
| D | 如何新增或修改组件指导规范.md | 78 ├── Option
|
| /developtools/bytrace/ |
| D | README_zh.md | 42 | Option | Description |
|
| D | README.md | 40 | Option | Description |
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | option.h | 31 namespace Option {
|
| /developtools/global_resource_tool/include/ |
| D | resource_data.h | 112 enum Option { enum
|
| /developtools/hdc/ |
| D | README_zh.md | 102 …1.1"><p id="p14423184344212"><a name="p14423184344212"></a><a name="p14423184344212"></a>Option</p>
|