Lines Matching refs:Compare

94     if (icmp.InternalKeyComparator::Compare(f->largest.Encode(), key) < 0) {  in FindFile()
111 ucmp->Compare(*user_key, f->largest.user_key()) > 0); in AfterFile()
118 ucmp->Compare(*user_key, f->smallest.user_key()) < 0); in BeforeFile()
274 if (s->ucmp->Compare(parsed_key.user_key, s->user_key) == 0) { in SaveValue()
298 if (ucmp->Compare(user_key, f->smallest.user_key()) >= 0 && in ForEachOverlapping()
299 ucmp->Compare(user_key, f->largest.user_key()) <= 0) { in ForEachOverlapping()
321 if (ucmp->Compare(user_key, f->smallest.user_key()) < 0) { in ForEachOverlapping()
363 if (ucmp->Compare(user_key, f->smallest.user_key()) >= 0 && in Get()
364 ucmp->Compare(user_key, f->largest.user_key()) <= 0) { in Get()
381 if (ucmp->Compare(user_key, tmp2->smallest.user_key()) < 0) { in Get()
551 if (begin != NULL && user_cmp->Compare(file_limit, user_begin) < 0) { in GetOverlappingInputs()
553 } else if (end != NULL && user_cmp->Compare(file_start, user_end) > 0) { in GetOverlappingInputs()
560 if (begin != NULL && user_cmp->Compare(file_start, user_begin) < 0) { in GetOverlappingInputs()
564 } else if (end != NULL && user_cmp->Compare(file_limit, user_end) > 0) { in GetOverlappingInputs()
610 int r = internal_comparator->Compare(f1->smallest, f2->smallest); in operator ()()
747 if (vset_->icmp_.Compare(prev_end, this_begin) >= 0) { in SaveTo()
766 assert(vset_->icmp_.Compare((*files)[files->size()-1]->largest, in MaybeAddFile()
1158 if (icmp_.Compare(files[i]->largest, ikey) <= 0) { in ApproximateOffsetOf()
1161 } else if (icmp_.Compare(files[i]->smallest, ikey) > 0) { in ApproximateOffsetOf()
1236 if (icmp_.Compare(f->smallest, *smallest) < 0) { in GetRange()
1239 if (icmp_.Compare(f->largest, *largest) > 0) { in GetRange()
1309 icmp_.Compare(f->largest.Encode(), compact_pointer_[level]) > 0) { in PickCompaction()
1491 if (user_cmp->Compare(user_key, f->largest.user_key()) <= 0) { in IsBaseLevelForKey()
1493 if (user_cmp->Compare(user_key, f->smallest.user_key()) >= 0) { in IsBaseLevelForKey()
1510 icmp->Compare(internal_key, in ShouldStopBefore()