Home
last modified time | relevance | path

Searched refs:cmd_name (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Dcommand.cpp50 void RegisterCommand(const std::string& cmd_name, in RegisterCommand() argument
52 CommandMap().insert(std::make_pair(cmd_name, callback)); in RegisterCommand()
55 void UnRegisterCommand(const std::string& cmd_name) { in UnRegisterCommand() argument
56 CommandMap().erase(cmd_name); in UnRegisterCommand()
59 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) { in CreateCommandInstance() argument
60 auto it = CommandMap().find(cmd_name); in CreateCommandInstance()
Dcmd_help.cpp66 for (auto& cmd_name : GetAllCommandNames()) { in PrintShortHelp() local
67 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); in PrintShortHelp()
68 printf(" %-20s%s\n", cmd_name.c_str(), cmd->ShortHelpString().c_str()); in PrintShortHelp()
Dcommand.h63 void RegisterCommand(const std::string& cmd_name,
65 void UnRegisterCommand(const std::string& cmd_name);
66 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
/system/extras/tests/memtest/
Dmemtest.cpp75 const char *cmd_name; member
99 if (strcmp(argv[1], function_table[i].cmd_name) == 0) { in main()