Searched refs:CreateCommandInstance (Results 1 – 13 of 13) sorted by relevance
31 TEST(command, CreateCommandInstance) { in TEST() argument32 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()34 ASSERT_TRUE(CreateCommandInstance("mock1") != nullptr); in TEST()36 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()
47 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); in Run()75 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); in PrintShortHelp()
23 return CreateCommandInstance("dump"); in DumpCmd()
24 list_cmd = CreateCommandInstance("list"); in SetUp()
26 return CreateCommandInstance("report-sample"); in ReportSampleCmd()
66 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
61 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); in main()
59 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) { in CreateCommandInstance() function
32 return CreateCommandInstance("kmem"); in KmemCmd()
31 return CreateCommandInstance("stat"); in StatCmd()
33 return CreateCommandInstance("report"); in ReportCmd()471 return CreateCommandInstance("record"); in RecordCmd()
38 return CreateCommandInstance("record"); in RecordCmd()
468 std::unique_ptr<Command> record_cmd = CreateCommandInstance("record"); in RecordKmemInfo()