Lines Matching refs:redaction_ranges_
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()
127 auto last_redaction = redaction_ranges_.begin(); in getOverlappingRedactionRanges()
128 for (auto iter = redaction_ranges_.begin(); iter != redaction_ranges_.end(); ++iter) { in getOverlappingRedactionRanges()
139 if (first_redaction != redaction_ranges_.end()) { in getOverlappingRedactionRanges()