Lines Matching full:a
5 * You may obtain a copy of the License at
99 ReportItemCallFrame a("a", 0x0, "aa", 0, 0); variable
100 ReportItemCallFrame aDuplicated("a", 0x0, "aa", 0, 0);
102 ReportItemCallFrame aDiffAddr("a", 0x1234, "aa", 0, 0);
103 ReportItemCallFrame aDiffEvent("a", 0, "aa", 1234, 0);
104 ReportItemCallFrame aDiffSelfEvent("a", 0, "aa", 0, 1234);
105 ReportItemCallFrame aDiffDso("a", 0, "aa1234", 0, 1234);
108 EXPECT_EQ(a == a, true);
109 EXPECT_EQ(a != a, false);
110 EXPECT_EQ(a == aDuplicated, true);
111 EXPECT_EQ(a == a2, false);
112 EXPECT_EQ(a == aDiffAddr, false);
113 EXPECT_EQ(a == aDiffEvent, true);
114 EXPECT_EQ(a == aDiffSelfEvent, true);
115 EXPECT_EQ(a == aDiffDso, false);
116 EXPECT_EQ(a == b, false);
126 ReportItemCallFrame a("a", 0x0, "aa", 0, 0); variable
127 ReportItemCallFrame a2("a", 0x0, "aa", 2, 0);
128 ReportItemCallFrame a200("a", 0x0, "aa", 200, 0);
130 EXPECT_EQ(ReportItemCallFrame::CompareSortingEventCount(a, a), false);
131 EXPECT_EQ(ReportItemCallFrame::CompareSortingEventCount(a, a2), false);
132 EXPECT_EQ(ReportItemCallFrame::CompareSortingEventCount(a, a200), false);
136 EXPECT_EQ(ReportItemCallFrame::CompareSortingEventCount(a200, a), true);
146 ReportItemCallFrame a100("a", 0x0, "aa", 100, 0);
147 ReportItemCallFrame a200("a", 0x0, "aa", 200, 0);
148 ReportItemCallFrame a300("a", 0x0, "aa", 300, 0);
175 ReportItem a(1, 2, "comm", "dso", "func", 0x123, 1000); variable
185 EXPECT_EQ(a == a, true);
186 EXPECT_EQ(a != a, false);
187 EXPECT_EQ(a == aDuplicated, true);
189 EXPECT_EQ(a == aDiffPid, false);
190 EXPECT_EQ(a == aDiffTid, false);
191 EXPECT_EQ(a == aDiffComm, false);
192 EXPECT_EQ(a == aDiffDso, false);
193 EXPECT_EQ(a == aDiffFunc, false);
194 EXPECT_EQ(a == aDiffVaddr, false);
195 EXPECT_EQ(a == aDiffEventCount, true);
238 ReportItem a(123, 4, "comm", "dso", "func", 0x123, 123); variable
239 GetNumberTest(a, ReportItem::GetEventCount, a.eventCount_,
240 std::to_string(a.eventCount_).length());
263 ReportItem a(123, 456, "comm", "dso", "func", 0x123, 123); variable
264 GetNumberTest(a, ReportItem::GetPid, a.pid_, std::to_string(a.pid_).length());
287 ReportItem a(123, 456, "comm", "dso", "func", 0x123, 123); variable
288 GetNumberTest(a, ReportItem::GetTid, a.tid_, std::to_string(a.tid_).length());
311 ReportItem a(123, 4, "comm", "dso", "func", 0x123, 123); variable
312 GetStringTest(a, ReportItem::GetComm, a.comm_, a.comm_.length());
335 ReportItem a(123, 4, "comm", "dso", "func", 0x123, 123); variable
336 GetStringTest(a, ReportItem::GetFunc, a.func_, a.func_.length());
358 ReportItem a(123, 4, "comm", "dso", "func", 0x123, 123); variable
359 GetStringTest(a, ReportItem::GetDso, a.dso_, a.dso_.length());
385 ReportItem a(123, 4, "comm", "dso", "func", 0x123, 123); variable
386 a.fromDso_ = "fromDso";
387 GetStringTest(a, ReportItem::GetFromDso, a.fromDso_, a.fromDso_.length());
413 ReportItem a(123, 4, "comm", "dso", "func", 0x123, 123); variable
414 a.fromFunc_ = "fromFunc";
415 GetStringTest(a, ReportItem::GetFromFunc, a.fromFunc_, a.fromFunc_.length());
462 ReportItem a(123, 4, "comm", "dso", "func", 0x123, 123); variable
464 EXPECT_STREQ(key.GetValue(a).c_str(), "123");
466 EXPECT_STREQ(key.GetValue(a).c_str(), " 123");
483 ReportItem a(123, 4, "abc", "dso", "func", 0x123, 123); variable
485 ReportItem c(1, 4, "a", "dso", "func", 0x123, 123);
488 EXPECT_EQ(pidKey.ShouldDisplay(a), false);
493 option.displayComms_ = {"a", "ab"};
494 EXPECT_EQ(commKey.ShouldDisplay(a), false);
499 option.displayComms_ = {"a", "ab", "abc"};
500 EXPECT_EQ(commKey.ShouldDisplay(a), true);
505 option.displayComms_ = {"a", "ab", "abc", "d"};
506 EXPECT_EQ(commKey.ShouldDisplay(a), true);
521 MOCK_METHOD2(MultiLevelCompare, int(const ReportItem &a, const ReportItem &b));
544 MOCK_METHOD2(MultiLevelCompare, int(const ReportItem &a, const ReportItem &b));
579 MOCK_METHOD2(MultiLevelCompare, int(const ReportItem &a, const ReportItem &b));
612 MOCK_METHOD2(MultiLevelCompare, int(const ReportItem &a, const ReportItem &b));
621 we have a stack like
697 ReportItem a(1, 2, "comm", "dso", "funca", 0x1, 4); variable
703 EXPECT_EQ(report_->MultiLevelCompare(a, b), 0);
706 EXPECT_EQ(report_->MultiLevelCompare(a, b), -1);