Searched refs:MultiLevelCompare (Results 1 – 3 of 3) sorted by relevance
/developtools/hiperf/test/unittest/common/native/ |
D | report_test.cpp | 521 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/ |
D | report.cpp | 217 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/ |
D | report.h | 533 virtual int MultiLevelCompare(const ReportItem &a, const ReportItem &b); 562 FRIEND_TEST(ReportTest, MultiLevelCompare);
|