Lines Matching refs:redaction_ranges_
82 if (!isRedactionNeeded() || off >= redaction_ranges_.back().second || in hasOverlapWithReadRequest()
83 off + size <= redaction_ranges_.front().first) { in hasOverlapWithReadRequest()
95 redaction_ranges_.resize(redaction_ranges_num); in processRedactionRanges()
97 redaction_ranges_[i].first = static_cast<off64_t>(redaction_ranges[2 * i]); in processRedactionRanges()
98 redaction_ranges_[i].second = static_cast<off64_t>(redaction_ranges[2 * i + 1]); in processRedactionRanges()
100 std::sort(redaction_ranges_.begin(), redaction_ranges_.end()); in processRedactionRanges()
101 removeZeroSizeRedactionRanges(redaction_ranges_); in processRedactionRanges()
102 mergeOverlappingRedactionRanges(redaction_ranges_); in processRedactionRanges()
106 return redaction_ranges_.size(); in size()
124 auto first_redaction = redaction_ranges_.end(); in getOverlappingRedactionRanges()
125 auto last_redaction = redaction_ranges_.begin(); in getOverlappingRedactionRanges()
126 for (auto iter = redaction_ranges_.begin(); iter != redaction_ranges_.end(); ++iter) { in getOverlappingRedactionRanges()
137 if (first_redaction != redaction_ranges_.end()) { in getOverlappingRedactionRanges()