Home
last modified time | relevance | path

Searched refs:MultiLevelCompare (Results 1 – 3 of 3) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
Dreport_test.cpp521 MOCK_METHOD2(MultiLevelCompare, int(const ReportItem &a, const ReportItem &b));
525 EXPECT_CALL(report, MultiLevelCompare(_, _)).WillOnce(Return(0));
528 EXPECT_CALL(report, MultiLevelCompare(_, _)).WillOnce(Return(1));
531 EXPECT_CALL(report, MultiLevelCompare(_, _)).WillOnce(Return(-1));
544 MOCK_METHOD2(MultiLevelCompare, int(const ReportItem &a, const ReportItem &b));
548 EXPECT_CALL(report, MultiLevelCompare(_, _))
552 EXPECT_EQ(report.MultiLevelCompare(dummy, dummy), 0); // 1st
555 EXPECT_CALL(report, MultiLevelCompare(_, _))
559 EXPECT_EQ(report.MultiLevelCompare(dummy, dummy), 1);
562 EXPECT_CALL(report, MultiLevelCompare(_, _))
[all …]
/developtools/hiperf/src/
Dreport.cpp217 int Report::MultiLevelCompare(const ReportItem &a, const ReportItem &b) in MultiLevelCompare() function in OHOS::Developtools::HiPerf::Report
242 return MultiLevelCompare(a, b) == 0; in MultiLevelSame()
286 if (MultiLevelCompare(l, r) == 0) { in MultiLevelSameAndUpdateCount()
307 bool result = MultiLevelCompare(a, b) > 0; in MultiLevelSorting()
310 bool result2 = MultiLevelCompare(b, a) > 0; in MultiLevelSorting()
/developtools/hiperf/include/
Dreport.h533 virtual int MultiLevelCompare(const ReportItem &a, const ReportItem &b);
562 FRIEND_TEST(ReportTest, MultiLevelCompare);