Home
last modified time | relevance | path

Searched refs:ranges_ (Results 1 – 21 of 21) sorted by relevance

/external/v4l2_codec2/vda/
Dranges.h51 std::vector<std::pair<T, T> > ranges_; variable
61 return ranges_.size(); in Add()
67 for (i = 0; i < ranges_.size() && ranges_[i].second < start; ++i) { in Add()
73 if (i == ranges_.size()) { in Add()
74 ranges_.push_back(std::make_pair(start, end)); in Add()
75 return ranges_.size(); in Add()
80 if (end < ranges_[i].first) { in Add()
81 ranges_.insert(ranges_.begin() + i, std::make_pair(start, end)); in Add()
82 return ranges_.size(); in Add()
89 if (start < ranges_[i].first) in Add()
[all …]
/external/libchrome/base/metrics/
Dbucket_ranges.cc90 : ranges_(num_ranges, 0), in BucketRanges()
97 uint32_t checksum = static_cast<uint32_t>(ranges_.size()); in CalculateChecksum()
99 for (size_t index = 0; index < ranges_.size(); ++index) in CalculateChecksum()
100 checksum = Crc32(checksum, ranges_[index]); in CalculateChecksum()
115 if (ranges_.size() != other->ranges_.size()) in Equals()
117 for (size_t index = 0; index < ranges_.size(); ++index) { in Equals()
118 if (ranges_[index] != other->ranges_[index]) in Equals()
Dbucket_ranges.h41 size_t size() const { return ranges_.size(); } in size()
42 HistogramBase::Sample range(size_t i) const { return ranges_[i]; } in range()
44 DCHECK_LT(i, ranges_.size()); in set_range()
46 ranges_[i] = value; in set_range()
55 size_t bucket_count() const { return ranges_.size() - 1; } in bucket_count()
81 Ranges ranges_;
Dstatistics_recorder.cc127 const BucketRanges* const registered = *top_->ranges_.insert(ranges).first; in RegisterOrDeleteDuplicateRanges()
182 out.reserve(top_->ranges_.size()); in GetBucketRanges()
183 out.assign(top_->ranges_.begin(), top_->ranges_.end()); in GetBucketRanges()
Dstatistics_recorder.h279 RangesMap ranges_; variable
/external/pdfium/testing/
Drange_set.cpp34 ranges_.insert(fixed_range); in Union()
38 auto start = ranges_.upper_bound(fixed_range); in Union()
39 if (start != ranges_.begin()) in Union()
45 auto end = ranges_.upper_bound(Range(fixed_range.second, fixed_range.second)); in Union()
48 ranges_.insert(fixed_range); in Union()
57 ranges_.erase(start, ++end); in Union()
58 ranges_.insert(Range(new_start, new_end)); in Union()
Drange_set.h28 void Clear() { ranges_.clear(); } in Clear()
37 const RangesContainer& ranges() const { return ranges_; } in ranges()
44 RangesContainer ranges_; variable
/external/v8/src/profiler/
Dallocation-tracker.cc117 ranges_.insert(RangeMap::value_type(end, new_range)); in AddRange()
122 RangeMap::const_iterator it = ranges_.upper_bound(addr); in GetTraceNodeId()
123 if (it == ranges_.end()) return 0; in GetTraceNodeId()
140 ranges_.clear(); in Clear()
145 PrintF("[AddressToTraceMap (%" PRIuS "): \n", ranges_.size()); in Print()
146 for (RangeMap::iterator it = ranges_.begin(); it != ranges_.end(); ++it) { in Print()
155 RangeMap::iterator it = ranges_.upper_bound(start); in RemoveRange()
156 if (it == ranges_.end()) return; in RemoveRange()
172 } while (it != ranges_.end()); in RemoveRange()
174 ranges_.erase(to_remove_begin, it); in RemoveRange()
[all …]
Dallocation-tracker.h80 size_t size() { return ranges_.size(); } in size()
95 RangeMap ranges_; variable
/external/v8/src/ast/
Dast-source-ranges.h189 : ranges_(zone) { in NaryOperationSourceRanges()
194 DCHECK(index < ranges_.size()); in GetRangeAtIndex()
195 return ranges_[index]; in GetRangeAtIndex()
198 void AddRange(const SourceRange& range) { ranges_.push_back(range); } in AddRange()
199 size_t RangeCount() const { return ranges_.size(); } in RangeCount()
204 ZoneVector<SourceRange> ranges_;
/external/libbrillo/brillo/http/
Dhttp_request.cc123 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()
Dhttp_request.h325 std::vector<std::pair<uint64_t, uint64_t>> ranges_; variable
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc260 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()
Dsanitizer_common.h648 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/bcc/src/cc/
Dsyms.h105 std::vector<Range> ranges_; member
121 uint64_t start() const { return ranges_.begin()->start; } in start()
Dbcc_syms.cc120 module->ranges_.emplace_back(v_addr, v_addr + mem_sz, file_offset); in _add_load_sections()
135 if (!module.ranges_.empty()) in load_exe()
181 it->ranges_.emplace_back(start, end, offset); in _add_module()
301 for (const auto &range : ranges_) { in contains()
/external/bcc/src/cc/includes/
Dsyms.h105 std::vector<Range> ranges_; member
121 uint64_t start() const { return ranges_.begin()->start; } in start()
/external/v8/src/wasm/
Dwasm-code-manager.h57 explicit DisjointAllocationPool(AddressRange range) : ranges_({range}) {} in DisjointAllocationPool()
71 bool IsEmpty() const { return ranges_.empty(); } in IsEmpty()
72 const std::list<AddressRange>& ranges() const { return ranges_; } in ranges()
75 std::list<AddressRange> ranges_;
Dwasm-code-manager.cc48 auto dest_it = ranges_.begin(); in Merge()
49 auto dest_end = ranges_.end(); in Merge()
56 ranges_.push_back(range); in Merge()
68 ranges_.insert(dest_it, range); in Merge()
80 ranges_.erase(next_dest); in Merge()
85 for (auto it = ranges_.begin(), end = ranges_.end(); it != end; ++it) { in Allocate()
90 ranges_.erase(it); in Allocate()
/external/v8/src/regexp/
Dregexp-ast.h144 : ranges_(nullptr), standard_set_type_(standard_set_type) {} in CharacterSet()
146 : ranges_(ranges), standard_set_type_(0) {} in CharacterSet()
156 ZoneList<CharacterRange>* ranges_;
Djsregexp.cc5986 if (ranges_ == nullptr) { in ranges()
5987 ranges_ = new(zone) ZoneList<CharacterRange>(2, zone); in ranges()
5988 CharacterRange::AddClassEscape(standard_set_type_, ranges_, false, zone); in ranges()
5990 return ranges_; in ranges()
6074 if (ranges_ == nullptr) return; in Canonicalize()
6075 CharacterRange::Canonicalize(ranges_); in Canonicalize()