Home
last modified time | relevance | path

Searched refs:subCommand (Results 1 - 2 of 2) sorted by relevance

/developtools/hiperf/src/
H A Dcommand.cpp49 auto subCommand = SubCommand::FindSubCommand(arguments.front()); in DispatchCommands() local
50 if (subCommand != nullptr) { in DispatchCommands()
57 HLOGD("OnSubCommandOptions -> %s", subCommand->Name().c_str()); in DispatchCommands()
58 if (subCommand->OnSubCommandOptions(arguments)) { in DispatchCommands()
60 if (subCommand->OnPreSubCommand()) { in DispatchCommands()
64 HLOGD("OnSubCommand -> %s", subCommand->Name().c_str()); in DispatchCommands()
65 if (!subCommand->OnSubCommand(arguments)) { in DispatchCommands()
66 printf("subcommand '%s' failed\n", subCommand->Name().c_str()); in DispatchCommands()
H A Dsubcommand.cpp149 bool SubCommand::RegisterSubCommand(std::string cmdName, std::unique_ptr<SubCommand> subCommand) in RegisterSubCommand() argument
163 g_SubCommandsMap.insert(std::make_pair(cmdName, std::move(subCommand))); in RegisterSubCommand()

Completed in 1 milliseconds