Home
last modified time | relevance | path

Searched refs:RegisterMainOption (Results 1 – 7 of 7) sorted by relevance

/developtools/hiperf/src/
Doption_debug.cpp100 …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()
Doption.cpp159 bool RegisterMainOption(const std::string &optionName, const std::string &help, in RegisterMainOption() function
/developtools/hiperf/include/
Dsubcommand_help.h34 Option::RegisterMainOption("--help", "show help", OnHelp); in SubCommandHelp()
35 Option::RegisterMainOption("-h", "show help", OnHelp); in SubCommandHelp()
Doption.h37 bool RegisterMainOption(const std::string &, const std::string &,
/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()
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);
75 EXPECT_EQ(Option::RegisterMainOption("-tt", TEST_OPTION_HELP, OptionAlwaysTrue), false);
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()
/developtools/profiler/device/plugins/native_daemon/include/
Doption.h38 bool RegisterMainOption(const std::string &, const std::string &,