Home
last modified time | relevance | path

Searched refs:stringOut (Results 1 – 9 of 9) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
Dsubcommand_report_test.cpp41 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 …]
Dsubcommand_stat_test.cpp45 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 …]
Dsubcommand_list_test.cpp58 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
Dsubcommand_dump_test.cpp85 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);
Dperf_events_test.cpp168 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
Doption_debug_test.cpp155 std::string stringOut = stdoutRecord.Stop(); variable
156 EXPECT_NE(stringOut.find(logMessage), std::string::npos);
Dsubcommand_record_test.cpp120 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);
Dhiperf_libreport_test.cpp289 std::string stringOut = stdoutRecord.Stop(); variable
290 EXPECT_EQ(stringOut.find("report done") != std::string::npos, true);
/developtools/hdc/src/common/
Dserial_struct_define.h1301 StringWriter stringOut(out);
1302 SerialDetail::WriteMessage(value, MessageType<T>(), stringOut);