Lines Matching refs:Compare

182         if (icmp_->Compare(f->smallest, *smallest) < 0) {  in GetRange()
185 if (icmp_->Compare(f->largest, *largest) > 0) { in GetRange()
210 icmp_->Compare(smallest1, smallest2) < 0 ? smallest1 : smallest2; in GetRange()
211 *largest = icmp_->Compare(largest1, largest2) < 0 ? largest2 : largest1; in GetRange()
231 if (icmp_->Compare(current_smallest, *smallest) < 0) { in GetRange()
234 if (icmp_->Compare(current_largest, *largest) > 0) { in GetRange()
290 ucmp->Compare(smallest_user_key, c->GetLargestUserKey()) <= 0 && in RangeOverlapWithCompaction()
291 ucmp->Compare(largest_user_key, c->GetSmallestUserKey()) >= 0) { in RangeOverlapWithCompaction()
811 if (c->Compare(a.smallestkey, b.smallestkey) >= 0) { in HaveOverlappingKeyRanges()
812 if (c->Compare(a.smallestkey, b.largestkey) <= 0) { in HaveOverlappingKeyRanges()
816 } else if (c->Compare(a.largestkey, b.smallestkey) >= 0) { in HaveOverlappingKeyRanges()
820 if (c->Compare(a.largestkey, b.largestkey) <= 0) { in HaveOverlappingKeyRanges()
821 if (c->Compare(a.largestkey, b.smallestkey) >= 0) { in HaveOverlappingKeyRanges()
825 } else if (c->Compare(a.smallestkey, b.largestkey) <= 0) { in HaveOverlappingKeyRanges()
884 if (comparator->Compare(current_files[first_included - 1].largestkey, in SanitizeCompactionInputFilesForAllLevels()
893 if (comparator->Compare(current_files[last_included + 1].smallestkey, in SanitizeCompactionInputFilesForAllLevels()
916 if (comparator->Compare(smallestkey, current_files[f].smallestkey) > in SanitizeCompactionInputFilesForAllLevels()
920 if (comparator->Compare(largestkey, current_files[f].largestkey) < 0) { in SanitizeCompactionInputFilesForAllLevels()
925 if (comparator->Compare(smallestkey, in SanitizeCompactionInputFilesForAllLevels()
929 if (comparator->Compare(largestkey, in SanitizeCompactionInputFilesForAllLevels()