Home
last modified time | relevance | path

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

/external/v4l2_codec2/accel/
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.cc111 ranges_.insert(RangeMap::value_type(end, new_range)); in AddRange()
116 RangeMap::const_iterator it = ranges_.upper_bound(addr); in GetTraceNodeId()
117 if (it == ranges_.end()) return 0; in GetTraceNodeId()
134 ranges_.clear(); in Clear()
139 PrintF("[AddressToTraceMap (%zu): \n", ranges_.size()); in Print()
140 for (RangeMap::iterator it = ranges_.begin(); it != ranges_.end(); ++it) { in Print()
149 RangeMap::iterator it = ranges_.upper_bound(start); in RemoveRange()
150 if (it == ranges_.end()) return; in RemoveRange()
166 } while (it != ranges_.end()); in RemoveRange()
168 ranges_.erase(to_remove_begin, it); in RemoveRange()
[all …]
Dallocation-tracker.h79 size_t size() { return ranges_.size(); } in size()
94 RangeMap ranges_; variable
/external/v8/src/ast/
Dast-source-ranges.h265 : ranges_(zone) { in NaryOperationSourceRanges()
270 DCHECK(index < ranges_.size()); in GetRangeAtIndex()
271 return ranges_[index]; in GetRangeAtIndex()
274 void AddRange(const SourceRange& range) { ranges_.push_back(range); } in AddRange()
275 size_t RangeCount() const { return ranges_.size(); } in RangeCount()
281 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()
182 it->ranges_.emplace_back(start, end, offset); in _add_module()
302 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/regexp/
Dregexp-ast.h148 : ranges_(nullptr), standard_set_type_(standard_set_type) {} in CharacterSet()
150 : ranges_(ranges), standard_set_type_(0) {} in CharacterSet()
160 ZoneList<CharacterRange>* ranges_;
Dregexp-compiler-tonode.cc1274 if (ranges_ == nullptr) { in ranges()
1275 ranges_ = zone->New<ZoneList<CharacterRange>>(2, zone); in ranges()
1276 CharacterRange::AddClassEscape(standard_set_type_, ranges_, false, zone); in ranges()
1278 return ranges_; in ranges()
1356 if (ranges_ == nullptr) return; in Canonicalize()
1357 CharacterRange::Canonicalize(ranges_); in Canonicalize()
/external/tensorflow/tensorflow/compiler/xla/service/
Dmemory_space_assignment.cc496 auto it_and_inserted = ranges_.insert(copy); in AddCopy()
507 auto copy_it = ranges_.find( in ViolatesOrdering()
509 return copy_it != ranges_.end() && copy_it->start_time != start_time; in ViolatesOrdering()
Dmemory_space_assignment.h616 std::set<AsynchronousCopy> ranges_;
/external/v8/src/compiler/backend/
Dregister-allocator.cc2639 ranges_.insert(range); in TryAddRange()
2662 for (auto it = other->ranges_.begin(); it != other->ranges_.end(); ++it) { in TryMerge()
2666 ranges_.insert(other->ranges_.begin(), other->ranges_.end()); in TryMerge()
2667 other->ranges_.clear(); in TryMerge()
2674 for (auto range : ranges_) { in MergeSpillRanges()
Dregister-allocator.h782 : ranges_(zone), uses_(zone), id_(id) {} in LiveRangeBundle()
787 ZoneSet<LiveRange*, LiveRangeOrdering> ranges_; variable
/external/v8/src/compiler/
Dserializer-for-background-compilation.cc1192 ranges_.insert({table.GetRangeStart(i), table.GetRangeEnd(i), in HandlerRangeMatcher()
1195 ranges_iterator_ = ranges_.cbegin(); in HandlerRangeMatcher()
1215 while (ranges_iterator_ != ranges_.cend() && in HandlerOffsetForCurrentPosition()
1247 std::set<Range> ranges_; member in v8::internal::compiler::HandlerRangeMatcher