Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 25 of 44) sorted by relevance

12

/developtools/hiperf/test/unittest/common/native/
Doption_test.cpp45 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 …]
Doption_debug_test.cpp54 Option::ClearMainOptions(); in SetUp()
63 Option::ClearMainOptions(); in TearDown()
106 EXPECT_EQ(Option::GetMainOptions().size(), 8u);
108 EXPECT_EQ(Option::GetMainOptions().size(), 7u);
Dcommand_test.cpp49 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()
/developtools/global_resource_tool/src/
Dcmd_parser.cpp27 { "inputPath", required_argument, nullptr, Option::INPUTPATH },
28 { "packageName", required_argument, nullptr, Option::PACKAGENAME },
29 { "outputPath", required_argument, nullptr, Option::OUTPUTPATH },
30 { "resHeader", required_argument, nullptr, Option::RESHEADER },
31 { "forceWrite", no_argument, nullptr, Option::FORCEWRITE },
32 { "version", no_argument, nullptr, Option::VERSION},
33 { "modules", required_argument, nullptr, Option::MODULES },
34 { "json", required_argument, nullptr, Option::JSON },
35 { "startId", required_argument, nullptr, Option::STARTID },
36 { "fileList", required_argument, nullptr, Option::FILELIST },
[all …]
Dresconfig_parser.cpp57 callback(Option::FORCEWRITE, ""); in Init()
66 Option::JSON, callback)); in InitFileListCommand()
68 Option::PACKAGENAME, callback)); in InitFileListCommand()
70 Option::OUTPUTPATH, callback)); in InitFileListCommand()
72 Option::STARTID, callback)); in InitFileListCommand()
74 Option::DEPENDENTRY, callback)); in InitFileListCommand()
76 Option::IDS, callback)); in InitFileListCommand()
78 Option::DEFINED_IDS, callback)); in InitFileListCommand()
80 Option::INPUTPATH, callback)); in InitFileListCommand()
82 Option::RESHEADER, callback)); in InitFileListCommand()
[all …]
/developtools/hiperf/src/
Doption_debug.cpp100Option::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()
104Option::RegisterMainOption("--verbose", "show debug log, usage format: --verbose [command] [args]", in RegisterMainCommandDebug()
106Option::RegisterMainOption("--much", "show extremely much debug log, usage format: --much [command… in RegisterMainCommandDebug()
108Option::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()
Dsubcommand_report.cpp38 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 …]
Dsubcommand_record.cpp162 if (!Option::GetOptionValue(args, "-a", targetSystemWide_)) { in GetOptions()
170 if (!Option::GetOptionValue(args, "--exclude-hiperf", excludeHiperf_)) { in GetOptions()
173 if (!Option::GetOptionValue(args, "-z", compressData_)) { in GetOptions()
176 if (!Option::GetOptionValue(args, "--no-inherit", noInherit_)) { in GetOptions()
179 if (!Option::GetOptionValue(args, "--offcpu", offCPU_)) { in GetOptions()
182 if (!Option::GetOptionValue(args, "--delay-unwind", delayUnwind_)) { in GetOptions()
185 if (!Option::GetOptionValue(args, "--disable-unwind", disableUnwind_)) { in GetOptions()
188 if (!Option::GetOptionValue(args, "--disable-callstack-expand", disableCallstackExpend_)) { in GetOptions()
191 if (!Option::GetOptionValue(args, "--enable-debuginfo-symbolic", enableDebugInfoSymbolic_)) { in GetOptions()
194 if (!Option::GetOptionValue(args, "--verbose", verboseReport_)) { in GetOptions()
[all …]
Dsubcommand_stat.cpp64 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()
101 if (!Option::GetOptionValue(args, "--chkms", checkAppMs_)) { in ParseOption()
104 if (!Option::GetOptionValue(args, "-p", selectPids_)) { in ParseOption()
[all …]
Dsubcommand_dump.cpp64 if (!Option::GetOptionValue(args, "--head", dumpHeader_)) { in ParseOption()
68 if (!Option::GetOptionValue(args, "-f", dumpFeatures_)) { in ParseOption()
72 if (!Option::GetOptionValue(args, "-d", dumpData_)) { in ParseOption()
76 if (!Option::GetOptionValue(args, "--sympath", dumpSymbolsPaths_)) { in ParseOption()
80 if (!Option::GetOptionValue(args, "--elf", elfFileName_)) { in ParseOption()
84 if (!Option::GetOptionValue(args, "-i", dumpFileName_)) { in ParseOption()
88 if (!Option::GetOptionValue(args, "--proto", protobufDumpFileName_)) { in ParseOption()
93 if (!Option::GetOptionValue(args, "-o", outputFilename_)) { in ParseOption()
96 if (!Option::GetOptionValue(args, "--export", exportSampleIndex_)) { in ParseOption()
Dsubcommand.cpp32 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()
Dmain.cpp94 Option::ClearMainOptions(); in main()
Dcommand.cpp34 auto commandOption = Option::FindMainOption(arguments.front()); in DispatchCommands()
Dsubcommand_help.cpp39 const auto &mainOptions = Option::GetMainOptions(); in OnHelp()
/developtools/hiperf/demo/cpp/
Dhiperf_example_cmd.cpp41 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/
Dsubcommand_help.h34 Option::RegisterMainOption("--help", "show help", OnHelp); in SubCommandHelp()
35 Option::RegisterMainOption("-h", "show help", OnHelp); in SubCommandHelp()
/developtools/hdc/hdc_rust/src/daemon/
Dshell.rs42 pub cmd: Option<String>,
68 fn init_pty_process(cmd: Option<String>, _channel_id: u32) -> io::Result<PtyProcess> { in init_pty_process()
136 cmd: Option<String>, in subprocess_task()
307 option_cmd: Option<String>, in new()
345 static mut PTY_CHILD_MAP: Option<PtyChildProcessMap_> = None; in get_instance()
353 pub async fn get(session_id: u32, channel_id: u32) -> Option<Child_> { in get()
380 static mut PTY_MAP: Option<PtyMap_> = None; in get_instance()
388 pub async fn get(session_id: u32, channel_id: u32) -> Option<Arc<PtyTask>> { in get()
/developtools/hdc/hdc_rust/src/common/
Dfilemanager.rs26 path: Option<String>,
27 file: Option<File>,
Dbase.rs109 pub fn get_file_name(s: &mut String) -> Option<String> { in get_file_name()
201 pub fn tlv_to_stringmap(tlv: &str) -> Option<HashMap<&str, &str>> { in tlv_to_stringmap()
/developtools/hdc/hdc_rust/src/transfer/
Dbuffer.rs48 static mut CONNECT_TYPE_MAP: Option<ConnectTypeMap_> = None; in get_instance()
62 async fn get(session_id: u32) -> Option<ConnectType> { in get()
96 static mut TCP_MAP: Option<TcpMap_> = None; in get_instance()
164 static mut USB_MAP: Option<UsbMap_> = None; in get_instance()
245 static mut UART_MAP: Option<UartMap_> = None; in get_instance()
347 static mut TCP_RECVER: Option<ChannelMap_> = None; in get_instance()
Dbase.rs38 static mut CAN_COMPRESS: Option<BOOL_> = Option::None; in get_instance()
Duart_wrapper.rs66 static mut INSTANCE: Option<WaiterManager> = None; in get_instance()
170 static mut INSTANCE: Option<DataQueue_> = None; in get_instance()
178 async fn get_package(session_id: u32, index: usize) -> Option<OutputData> { in get_package()
232 async fn get_stop_flag(session_id: u32) -> Option<u8> { in get_stop_flag()
/developtools/ace_ets2bundle/compiler/
D如何新增或修改组件指导规范.md80 ├── Option
/developtools/hdc/hdc_rust/src/host/
Dparser.rs27 pub command: Option<HdcCommand>,
83 let mut cmd_opt: Option<HdcCommand> = None; in split_opt_and_cmd()
154 pub command: Option<HdcCommand>,
/developtools/bytrace/
DREADME_zh.md42 | Option | Description |

12