Home
last modified time | relevance | path

Searched refs:Range (Results 1 – 23 of 23) sorted by relevance

/system/memory/libmemunreachable/
DHeapWalker.h31 struct Range { struct
36 bool operator==(const Range& other) const { argument
39 bool operator!=(const Range& other) const { return !(*this == other); }
44 bool operator()(const Range& a, const Range& b) const { return a.end <= b.begin; } in operator()
84 bool Leaked(allocator::vector<Range>&, size_t limit, size_t* num_leaks, size_t* leak_bytes);
89 void ForEachPtrInRange(const Range& range, F&& f);
99 void RecurseRoot(const Range& root);
100 bool WordContainsAllocationPtr(uintptr_t ptr, Range* range, AllocationInfo** info);
105 using AllocationMap = allocator::map<Range, AllocationInfo, compare_range>;
108 Range valid_allocations_range_;
[all …]
DHeapWalker.cpp51 Range range{begin, end}; in Allocation()
59 auto inserted = allocations_.insert(std::pair<Range, AllocationInfo>(range, AllocationInfo{})); in Allocation()
66 Range overlap = inserted.first->first; in Allocation()
86 bool HeapWalker::WordContainsAllocationPtr(uintptr_t word_ptr, Range* range, AllocationInfo** info)… in WordContainsAllocationPtr()
95 AllocationMap::iterator it = allocations_.find(Range{value, value + 1}); in WordContainsAllocationPtr()
105 void HeapWalker::RecurseRoot(const Range& root) { in RecurseRoot()
106 allocator::vector<Range> to_do(1, root, allocator_); in RecurseRoot()
108 Range range = to_do.back(); in RecurseRoot()
112 ForEachPtrInRange(range, [&](Range& ref_range, AllocationInfo* ref_info) { in RecurseRoot()
118 walking_range_ = Range{0, 0}; in RecurseRoot()
[all …]
DLeakFolding.h36 const Range range;
79 const Range range;
83 LeakInfo(const Range& range, Allocator<LeakInfo> allocator) in LeakInfo()
93 allocator::map<Range, LeakInfo, compare_range> leak_map_;
DLeakFolding.cpp75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks()
88 [&](Range& ptr_range, HeapWalker::AllocationInfo* ptr_info) { in FoldLeaks()
DMemUnreachable.cpp146 allocator::vector<Range> leaked1{allocator_}; in GetUnreachableMemory()
/system/update_engine/common/
Dmulti_range_http_fetcher.h62 ranges_.push_back(Range(offset, size)); in AddRange()
65 void AddRange(off_t offset) { ranges_.push_back(Range(offset)); } in AddRange()
129 class Range {
131 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range() function
132 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range() function
146 typedef std::vector<Range> RangesVect;
Dmulti_range_http_fetcher.cc73 Range range = ranges_[current_index_]; in StartTransfer()
96 Range range = ranges_[current_index_]; in ReceivedBytes()
140 Range range = ranges_[current_index_]; in TransferEnded()
187 std::string MultiRangeHttpFetcher::Range::ToString() const { in ToString()
198 for (const Range& range : ranges_) { in SetOffset()
Dutils.h535 struct Range { struct
536 Range(T t1, T t2) : t1_(t1), t2_(t2) {} in Range() function
/system/memory/libmemunreachable/tests/
DHeapWalker_test.cpp116 allocator::vector<Range> leaked(heap_); in TEST_F()
144 allocator::vector<Range> leaked(heap_); in TEST_F()
172 allocator::vector<Range> leaked(heap_); in TEST_F()
197 allocator::vector<Range> leaked(heap_); in TEST_F()
221 allocator::vector<Range> leaked(heap_); in TEST_F()
/system/media/audio/include/system/audio_effects/
Daidl_effects_utils.h54 template <typename Range::Tag rangeTag, typename T>
74 template <typename Range::Tag rangeTag, typename T>
/system/libhwbinder/vts/performance/
DBenchmark.cpp126 BENCHMARK(BM_sendVec_binderize)->RangeMultiplier(2)->Range(4, 65536); in main()
128 BENCHMARK(BM_sendVec_passthrough)->RangeMultiplier(2)->Range(4, 65536); in main()
DBenchmark_binder.cpp93 BENCHMARK(BM_sendVec_binder)->RangeMultiplier(2)->Range(4, 65536);
/system/update_engine/payload_generator/
Dextent_ranges.h107 Range<ExtentSet::const_iterator> GetCandidateRange(
Dextent_utils.cc188 for (const auto& ext : Range{++begin, extents.end()}) { in PrintExtents()
Dextent_ranges.cc291 Range<ExtentRanges::ExtentSet::const_iterator> ExtentRanges::GetCandidateRange( in GetCandidateRange()
/system/media/audio_utils/tests/
Dchannelmix_tests.cpp337 ::testing::Range(0, (int)std::size(kOutputChannelMasks)),
338 ::testing::Range(0, (int)std::size(kInputChannelMasks)),
/system/update_engine/lz4diff/
Dlz4diff_main.cc35 for (const auto& ext : Range{++begin, vec.end()}) { in operator <<()
/system/logging/logd/
DREADME.replay.md27 4. Range (the range of time that the logs cover in seconds)
DREADME.property65 - number - support multipliers (K or M) for convenience. Range is limited
/system/media/camera/docs/
Dhtml.mako210 <th class="th_range">Range</th>
234 <th class="th_range">Range</th>
/system/teeui/libteeui/include/teeui/
Dutils.h973 template <typename Iterator> class Range {
978 Range(Iterator begin, Iterator end) : begin_(begin), end_(end) {}
983 template <typename Iterator> Range<Iterator> makeRange(Iterator begin, Iterator end) {
/system/keymint/ta/src/
Doperation.rs36 HmacVerify(Box<dyn AccumulatingOperation>, core::ops::Range<usize>),
/system/libvintf/test/
DLibVintfTest.cpp48 using ::testing::Range;
6304 Combine(Range(FcmCombineKernelTest::kMinLevel, FcmCombineKernelTest::kMaxLevel + 1),
6305 Range(FcmCombineKernelTest::kMinLevel, FcmCombineKernelTest::kMaxLevel + 1)),