/external/v4l2_codec2/vda/ |
D | ranges.h | 50 std::vector<std::pair<T, T> > ranges_; variable 60 return ranges_.size(); in Add() 66 for (i = 0; i < ranges_.size() && ranges_[i].second < start; ++i) { in Add() 72 if (i == ranges_.size()) { in Add() 73 ranges_.push_back(std::make_pair(start, end)); in Add() 74 return ranges_.size(); in Add() 79 if (end < ranges_[i].first) { in Add() 80 ranges_.insert(ranges_.begin() + i, std::make_pair(start, end)); in Add() 81 return ranges_.size(); in Add() 88 if (start < ranges_[i].first) in Add() [all …]
|
/external/libchrome/base/metrics/ |
D | bucket_ranges.cc | 107 : ranges_(num_ranges, 0), in BucketRanges() 113 DCHECK_LT(i, ranges_.size()); in set_range() 115 ranges_[i] = value; in set_range() 120 uint32_t checksum = static_cast<uint32_t>(ranges_.size()); in CalculateChecksum() 122 for (size_t index = 0; index < ranges_.size(); ++index) in CalculateChecksum() 123 checksum = Crc32(checksum, ranges_[index]); in CalculateChecksum() 138 if (ranges_.size() != other->ranges_.size()) in Equals() 140 for (size_t index = 0; index < ranges_.size(); ++index) { in Equals() 141 if (ranges_[index] != other->ranges_[index]) in Equals()
|
D | statistics_recorder.cc | 84 DCHECK(ranges_); in ~StatisticsRecorder() 91 ranges_ = existing_ranges_.release(); in ~StatisticsRecorder() 173 if (ranges_ == NULL) { in RegisterOrDeleteDuplicateRanges() 179 RangesMap::iterator ranges_it = ranges_->find(ranges->checksum()); in RegisterOrDeleteDuplicateRanges() 180 if (ranges_->end() == ranges_it) { in RegisterOrDeleteDuplicateRanges() 184 (*ranges_)[ranges->checksum()] = checksum_matching_list; in RegisterOrDeleteDuplicateRanges() 287 if (ranges_ == NULL) in GetBucketRanges() 290 for (const auto& entry : *ranges_) { in GetBucketRanges() 487 existing_ranges_.reset(ranges_); in StatisticsRecorder() 491 ranges_ = new RangesMap; in StatisticsRecorder() [all …]
|
D | bucket_ranges.h | 40 size_t size() const { return ranges_.size(); } in size() 41 HistogramBase::Sample range(size_t i) const { return ranges_[i]; } in range() 50 size_t bucket_count() const { return ranges_.size() - 1; } in bucket_count() 65 Ranges ranges_;
|
D | statistics_recorder.h | 233 static RangesMap* ranges_;
|
/external/v8/src/profiler/ |
D | allocation-tracker.cc | 124 ranges_.insert(RangeMap::value_type(end, new_range)); in AddRange() 129 RangeMap::const_iterator it = ranges_.upper_bound(addr); in GetTraceNodeId() 130 if (it == ranges_.end()) return 0; in GetTraceNodeId() 147 ranges_.clear(); in Clear() 152 PrintF("[AddressToTraceMap (%" PRIuS "): \n", ranges_.size()); in Print() 153 for (RangeMap::iterator it = ranges_.begin(); it != ranges_.end(); ++it) { in Print() 162 RangeMap::iterator it = ranges_.upper_bound(start); in RemoveRange() 163 if (it == ranges_.end()) return; in RemoveRange() 179 } while (it != ranges_.end()); in RemoveRange() 181 ranges_.erase(to_remove_begin, it); in RemoveRange() [all …]
|
D | allocation-tracker.h | 78 size_t size() { return ranges_.size(); } in size() 93 RangeMap ranges_; variable
|
/external/regex-re2/re2/ |
D | regexp.cc | 719 iterator it = ranges_.find(RuneRange(lo, lo)); in AddRange() 727 iterator it = ranges_.find(RuneRange(lo-1, lo-1)); in AddRange() 733 ranges_.erase(it); in AddRange() 740 iterator it = ranges_.find(RuneRange(hi+1, hi+1)); in AddRange() 744 ranges_.erase(it); in AddRange() 753 iterator it = ranges_.find(RuneRange(lo, hi)); in AddRange() 757 ranges_.erase(it); in AddRange() 762 ranges_.insert(RuneRange(lo, hi)); in AddRange() 772 return ranges_.find(RuneRange(r, r)) != end(); in Contains() 783 cc->ranges_.insert(RuneRange(it->lo, it->hi)); in Copy() [all …]
|
D | regexp.h | 242 iterator begin() { return ranges_; } in begin() 243 iterator end() { return ranges_ + nranges_; } in end() 262 RuneRange *ranges_; variable 582 iterator begin() { return ranges_.begin(); } in begin() 583 iterator end() { return ranges_.end(); } in end() 604 RuneRangeSet ranges_; variable
|
/external/libbrillo/brillo/http/ |
D | http_request.cc | 123 ranges_.emplace_back(Request::range_value_omitted, -bytes); in AddRange() 125 ranges_.emplace_back(bytes, Request::range_value_omitted); in AddRange() 131 ranges_.emplace_back(from_byte, to_byte); in AddRange() 248 ranges.reserve(ranges_.size()); in SendRequestIfNeeded() 249 for (auto p : ranges_) { in SendRequestIfNeeded()
|
D | http_request.h | 325 std::vector<std::pair<uint64_t, uint64_t>> ranges_; variable
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common.cc | 260 while (!ranges_.empty()) { in clear() 261 AddressRange *r = ranges_.front(); in clear() 262 ranges_.pop_front(); in clear() 270 ranges_.push_back(r); in addAddressRange()
|
D | sanitizer_common.h | 648 LoadedModule() : full_name_(nullptr), base_address_(0) { ranges_.clear(); } in LoadedModule() 667 const IntrusiveList<AddressRange> &ranges() const { return ranges_; } in ranges() 672 IntrusiveList<AddressRange> ranges_; variable
|
/external/v8/src/regexp/ |
D | regexp-ast.h | 139 : ranges_(NULL), standard_set_type_(standard_set_type) {} in CharacterSet() 141 : ranges_(ranges), standard_set_type_(0) {} in CharacterSet() 151 ZoneList<CharacterRange>* ranges_;
|
D | jsregexp.cc | 5966 if (ranges_ == NULL) { in ranges() 5967 ranges_ = new(zone) ZoneList<CharacterRange>(2, zone); in ranges() 5968 CharacterRange::AddClassEscape(standard_set_type_, ranges_, zone); in ranges() 5970 return ranges_; in ranges() 6054 if (ranges_ == NULL) return; in Canonicalize() 6055 CharacterRange::Canonicalize(ranges_); in Canonicalize()
|
/external/v8/src/compiler/ |
D | register-allocator.h | 474 explicit LiveRangeGroup(Zone* zone) : ranges_(zone) {} in LiveRangeGroup() 475 ZoneVector<LiveRange*>& ranges() { return ranges_; } in ranges() 476 const ZoneVector<LiveRange*>& ranges() const { return ranges_; } in ranges() 482 ZoneVector<LiveRange*> ranges_;
|