Searched refs:cmdName (Results 1 – 6 of 6) sorted by relevance
/developtools/hiperf/src/ |
D | subcommand.cpp | 156 bool SubCommand::RegisterSubCommand(std::string cmdName, std::unique_ptr<SubCommand> subCommand) in RegisterSubCommand() argument 158 HLOGV("%s", cmdName.c_str()); in RegisterSubCommand() 159 if (cmdName.empty()) { in RegisterSubCommand() 163 if (cmdName.front() == '-') { in RegisterSubCommand() 164 HLOGE("unable use '-' at the begin of subcommand '%s'", cmdName.c_str()); in RegisterSubCommand() 168 if (g_SubCommandsMap.count(cmdName) == 0) { in RegisterSubCommand() 170 g_SubCommandsMap.insert(std::make_pair(cmdName, std::move(subCommand))); in RegisterSubCommand() 173 HLOGE("subcommand '%s' already registered!", cmdName.c_str()); in RegisterSubCommand() 189 SubCommand *SubCommand::FindSubCommand(std::string cmdName) in FindSubCommand() argument 191 HLOGV("%s", cmdName.c_str()); in FindSubCommand() [all …]
|
D | utilities.cpp | 497 bool IsSameCommand(const std::string &cmdLine, const std::string &cmdName) in IsSameCommand() argument 501 if (strcmp(cmdpaths.back().c_str(), cmdName.c_str()) == 0) { in IsSameCommand()
|
/developtools/hiperf/test/unittest/common/native/ |
D | tracked_command_test.cpp | 51 auto cmdName = trackedCMD->GetCommandName(); variable 52 EXPECT_EQ(cmdName, cmd_[0]); 75 auto cmdName = trackedCMD->GetCommandName(); variable 76 EXPECT_EQ(cmdName, cmdNotExist_[0]);
|
/developtools/profiler/device/plugins/native_daemon/src/ |
D | utilities.cpp | 421 bool IsSameCommand(std::string cmdLine, std::string cmdName) in IsSameCommand() argument 425 if (strcmp(cmdpaths.back().c_str(), cmdName.c_str()) == 0) { in IsSameCommand()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | utilities.h | 161 bool IsSameCommand(std::string cmdLine, std::string cmdName);
|
/developtools/hiperf/include/ |
D | utilities.h | 177 bool IsSameCommand(const std::string &cmdLine, const std::string &cmdName);
|