/developtools/hiperf/test/unittest/common/native/ |
D | subcommand_report_test.cpp | 41 bool FindExpectStr(const std::string &stringOut, const std::string &counterNames) const; 42 bool FindExpectStrList(const std::string &stringOut, 44 bool FileCompare(const std::string &stringOut, const std::string &targetFile) const; 68 bool SubCommandReportTest::FindExpectStr(const std::string &stringOut, in FindExpectStr() argument 71 auto lines = StringSplit(stringOut, "\n"); in FindExpectStr() 80 bool SubCommandReportTest::FindExpectStrList(const std::string &stringOut, in FindExpectStrList() argument 84 if (stringOut.find(name) != std::string::npos) { in FindExpectStrList() 91 bool SubCommandReportTest::FileCompare(const std::string &stringOut, in FileCompare() argument 94 std::vector<std::string> actualLines = StringSplit(stringOut, "\n"); in FileCompare() 177 std::string stringOut = stdoutRecord.Stop(); variable [all …]
|
D | subcommand_stat_test.cpp | 45 bool FindExpectStr(const std::string &stringOut, const std::string &counterNames) const; 46 uint EffectiveCounter(const std::string &stringOut, 49 uint EffectiveCounter(const std::string &stringOut, const std::string &counterNames, 51 int CounterValue(const std::string &stringOut, const std::string &configName) const; 52 void CheckGroupCoverage(const std::string &stringOut, 115 uint SubCommandStatTest::EffectiveCounter(const std::string &stringOut, in EffectiveCounter() argument 122 return EffectiveCounter(stringOut, StringSplit(filterCounterNames, ","), effectiveHeadCounter); in EffectiveCounter() 125 bool SubCommandStatTest::FindExpectStr(const std::string &stringOut, in FindExpectStr() argument 128 auto lines = StringSplit(stringOut, "\n"); in FindExpectStr() 138 uint SubCommandStatTest::EffectiveCounter(const std::string &stringOut, in EffectiveCounter() argument [all …]
|
D | subcommand_list_test.cpp | 58 std::string stringOut = stdoutRecord.Stop(); variable 74 std::string stringOut = stdoutRecord.Stop(); variable 90 std::string stringOut = stdoutRecord.Stop(); variable 106 std::string stringOut = stdoutRecord.Stop(); variable 122 std::string stringOut = stdoutRecord.Stop(); variable 138 std::string stringOut = stdoutRecord.Stop(); variable 154 std::string stringOut = stdoutRecord.Stop(); variable
|
D | subcommand_dump_test.cpp | 85 std::string stringOut = stdoutRecord.Stop(); in TestDumpCommand() local 91 EXPECT_EQ(SubStringCount(stringOut, "HILOG/E"), 0u); in TestDumpCommand() 107 std::string stringOut = stdoutRecord.Stop(); variable 113 EXPECT_EQ(stringOut.find("magic: PERFILE2") != std::string::npos, true); 114 EXPECT_EQ(SubStringCount(stringOut, "fileid:"), symbolsCount); 115 EXPECT_EQ(SubStringCount(stringOut, "buildId:"), buildIdCount); 116 EXPECT_EQ(SubStringCount(stringOut, "record sample:"), sampleCount); 117 EXPECT_EQ(SubStringCount(stringOut, "feature:"), featureCount);
|
D | perf_events_test.cpp | 168 std::string stringOut = stdoutRecord.Stop(); variable 186 std::string stringOut = stdoutRecord.Stop(); variable 240 std::string stringOut = stdoutRecord.Stop(); variable 276 std::string stringOut = stdoutRecord.Stop(); variable 321 std::string stringOut = stdoutRecord.Stop(); variable
|
D | option_debug_test.cpp | 155 std::string stringOut = stdoutRecord.Stop(); variable 156 EXPECT_NE(stringOut.find(logMessage), std::string::npos);
|
D | subcommand_record_test.cpp | 120 std::string stringOut = stdoutRecord.Stop(); in TestRecordCommand() local 841 std::string stringOut = stdoutRecord.Stop(); variable 842 EXPECT_TRUE(stringOut.find("cpuPercent: 25") != std::string::npos); 843 EXPECT_TRUE(stringOut.find("mmapPages_: 1024") != std::string::npos);
|
D | hiperf_libreport_test.cpp | 289 std::string stringOut = stdoutRecord.Stop(); variable 290 EXPECT_EQ(stringOut.find("report done") != std::string::npos, true);
|
/developtools/hdc/src/common/ |
D | serial_struct_define.h | 1301 StringWriter stringOut(out); 1302 SerialDetail::WriteMessage(value, MessageType<T>(), stringOut);
|