Lines Matching refs:left
746 bool Comparator::operator()(const Snapshot& left,
750 if (left.birth_thread() != right.birth_thread() &&
751 left.birth_thread()->ThreadName() !=
753 return left.birth_thread()->ThreadName() <
758 if (left.death_thread() != right.death_thread() &&
759 left.DeathThreadName() !=
761 if (!left.death_thread())
765 return left.DeathThreadName() <
771 if (left.location().file_name() != right.location().file_name()) {
772 int comp = strcmp(left.location().file_name(),
780 if (left.location().function_name() != right.location().function_name()) {
781 int comp = strcmp(left.location().function_name(),
789 if (left.location().line_number() != right.location().line_number())
790 return left.location().line_number() <
795 if (left.count() != right.count())
796 return left.count() > right.count(); // Sort large at front of vector.
800 if (!left.count() || !right.count())
802 if (left.AverageMsDuration() != right.AverageMsDuration())
803 return left.AverageMsDuration() > right.AverageMsDuration();
810 return tiebreaker_->operator()(left, right);
818 bool Comparator::Equivalent(const Snapshot& left,
822 if (left.birth_thread() != right.birth_thread() &&
823 left.birth_thread()->ThreadName() !=
829 if (left.death_thread() != right.death_thread() &&
830 left.DeathThreadName() != right.DeathThreadName())
835 if (left.location().file_name() != right.location().file_name()) {
836 int comp = strcmp(left.location().file_name(),
844 if (left.location().function_name() != right.location().function_name()) {
845 int comp = strcmp(left.location().function_name(),
853 if (left.count() != right.count())
858 if (left.life_duration() != right.life_duration())
866 return tiebreaker_->Equivalent(left, right);