Searched refs:cmdName (Results 1 – 6 of 6) sorted by relevance
| /developtools/hiperf/src/ |
| D | subcommand.cpp | 149 bool SubCommand::RegisterSubCommand(std::string cmdName, std::unique_ptr<SubCommand> subCommand) in RegisterSubCommand() argument 151 HLOGV("%s", cmdName.c_str()); in RegisterSubCommand() 152 if (cmdName.empty()) { in RegisterSubCommand() 156 if (cmdName.front() == '-') { in RegisterSubCommand() 157 HLOGE("unable use '-' at the begin of subcommand '%s'", cmdName.c_str()); in RegisterSubCommand() 161 if (g_SubCommandsMap.count(cmdName) == 0) { in RegisterSubCommand() 163 g_SubCommandsMap.insert(std::make_pair(cmdName, std::move(subCommand))); in RegisterSubCommand() 166 HLOGE("subcommand '%s' already registered!", cmdName.c_str()); in RegisterSubCommand() 182 SubCommand *SubCommand::FindSubCommand(std::string cmdName) in FindSubCommand() argument 184 HLOGV("%s", cmdName.c_str()); in FindSubCommand() [all …]
|
| D | utilities.cpp | 482 bool IsSameCommand(const std::string &cmdLine, const std::string &cmdName) in IsSameCommand() argument 486 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 | 176 bool IsSameCommand(std::string cmdLine, std::string cmdName);
|
| /developtools/hiperf/include/ |
| D | utilities.h | 178 bool IsSameCommand(const std::string &cmdLine, const std::string &cmdName);
|