Searched refs:redaction_ranges_ (Results 1 – 2 of 2) sorted by relevance
84 if (!isRedactionNeeded() || off >= redaction_ranges_.back().second || in hasOverlapWithReadRequest()85 off + size <= redaction_ranges_.front().first) { in hasOverlapWithReadRequest()97 redaction_ranges_.resize(redaction_ranges_num); in processRedactionRanges()99 redaction_ranges_[i].first = static_cast<off64_t>(redaction_ranges[2 * i]); in processRedactionRanges()100 redaction_ranges_[i].second = static_cast<off64_t>(redaction_ranges[2 * i + 1]); in processRedactionRanges()102 std::sort(redaction_ranges_.begin(), redaction_ranges_.end()); in processRedactionRanges()103 removeZeroSizeRedactionRanges(redaction_ranges_); in processRedactionRanges()104 mergeOverlappingRedactionRanges(redaction_ranges_); in processRedactionRanges()108 return redaction_ranges_.size(); in size()126 auto first_redaction = redaction_ranges_.end(); in getOverlappingRedactionRanges()[all …]
102 std::vector<RedactionRange> redaction_ranges_; variable