• Home
  • Raw
  • Download

Lines Matching full:a

5  * You may obtain a copy of the License at
62 static int CompareSortingEventCount(const ReportItemCallFrame &a, const ReportItemCallFrame &b) in CompareSortingEventCount() argument
64 return a.eventCount_ > b.eventCount_; in CompareSortingEventCount()
83 // just a log
174 static int CompareEventCount(const ReportItem &a, const ReportItem &b) in CompareEventCount() argument
176 if (a.eventCount_ != b.eventCount_) { in CompareEventCount()
177 return (a.eventCount_ > b.eventCount_) ? 1 : -1; in CompareEventCount()
183 static int CompareSortingEventCount(const ReportItem &a, const ReportItem &b) in CompareSortingEventCount() argument
185 return a.eventCount_ > b.eventCount_; in CompareSortingEventCount()
188 static const std::string GetEventCount(const ReportItem &a, size_t len, in GetEventCount() argument
191 return StringPrintf(format.c_str(), len, a.eventCount_); in GetEventCount()
195 static int ComparePid(const ReportItem &a, const ReportItem &b) in ComparePid() argument
197 if (a.pid_ != b.pid_) { in ComparePid()
198 return (a.pid_ > b.pid_) ? 1 : -1; in ComparePid()
203 static const std::string GetPid(const ReportItem &a, size_t len, const std::string &format) in GetPid() argument
205 return StringPrintf(format.c_str(), len, a.pid_); in GetPid()
209 static int CompareTid(const ReportItem &a, const ReportItem &b) in CompareTid() argument
211 if (a.tid_ != b.tid_) { in CompareTid()
212 return (a.tid_ > b.tid_) ? 1 : -1; in CompareTid()
217 static const std::string GetTid(const ReportItem &a, size_t len, const std::string &format) in GetTid() argument
219 return StringPrintf(format.c_str(), len, a.tid_); in GetTid()
223 static int CompareComm(const ReportItem &a, const ReportItem &b) in CompareComm() argument
225 int result = a.comm_.compare(b.comm_); in CompareComm()
228 static const std::string GetComm(const ReportItem &a, size_t len, const std::string &format) in GetComm() argument
230 return StringPrintf(format.c_str(), len, a.comm_.data()); in GetComm()
234 static int CompareFunc(const ReportItem &a, const ReportItem &b) in CompareFunc() argument
236 return a.func_.compare(b.func_); in CompareFunc()
238 static const std::string GetFunc(const ReportItem &a, size_t len, const std::string &format) in GetFunc() argument
240 return StringPrintf(format.c_str(), len, a.func_.data()); in GetFunc()
244 static int CompareDso(const ReportItem &a, const ReportItem &b) in CompareDso() argument
246 return a.dso_.compare(b.dso_); in CompareDso()
248 static const std::string GetDso(const ReportItem &a, size_t len, const std::string &format) in GetDso() argument
250 return StringPrintf(format.c_str(), len, a.dso_.data()); in GetDso()
254 static int CompareFromDso(const ReportItem &a, const ReportItem &b) in CompareFromDso() argument
256 return a.fromDso_.compare(b.fromDso_); in CompareFromDso()
258 static const std::string GetFromDso(const ReportItem &a, size_t len, const std::string &format) in GetFromDso() argument
260 return StringPrintf(format.c_str(), len, a.fromDso_.data()); in GetFromDso()
264 static int CompareFromFunc(const ReportItem &a, const ReportItem &b) in CompareFromFunc() argument
266 return a.fromFunc_.compare(b.fromFunc_); in CompareFromFunc()
268 static const std::string GetFromFunc(const ReportItem &a, size_t len, const std::string &format) in GetFromFunc() argument
270 return StringPrintf(format.c_str(), len, a.fromFunc_.data()); in GetFromFunc()
377 bool MultiLevelSame(const ReportItem &a, const ReportItem &b);
530 bool MultiLevelSorting(const ReportItem &a, const ReportItem &b);
533 virtual int MultiLevelCompare(const ReportItem &a, const ReportItem &b);