/system/memory/libmemunreachable/ |
D | HeapWalker.h | 31 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 …]
|
D | HeapWalker.cpp | 51 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 …]
|
D | LeakFolding.h | 36 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_;
|
D | LeakFolding.cpp | 75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() 88 [&](Range& ptr_range, HeapWalker::AllocationInfo* ptr_info) { in FoldLeaks()
|
D | MemUnreachable.cpp | 146 allocator::vector<Range> leaked1{allocator_}; in GetUnreachableMemory()
|
/system/update_engine/common/ |
D | multi_range_http_fetcher.h | 62 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;
|
D | multi_range_http_fetcher.cc | 73 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()
|
D | utils.h | 535 struct Range { struct 536 Range(T t1, T t2) : t1_(t1), t2_(t2) {} in Range() function
|
/system/memory/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 116 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/ |
D | aidl_effects_utils.h | 54 template <typename Range::Tag rangeTag, typename T> 74 template <typename Range::Tag rangeTag, typename T>
|
/system/libhwbinder/vts/performance/ |
D | Benchmark.cpp | 126 BENCHMARK(BM_sendVec_binderize)->RangeMultiplier(2)->Range(4, 65536); in main() 128 BENCHMARK(BM_sendVec_passthrough)->RangeMultiplier(2)->Range(4, 65536); in main()
|
D | Benchmark_binder.cpp | 93 BENCHMARK(BM_sendVec_binder)->RangeMultiplier(2)->Range(4, 65536);
|
/system/update_engine/payload_generator/ |
D | extent_ranges.h | 107 Range<ExtentSet::const_iterator> GetCandidateRange(
|
D | extent_utils.cc | 188 for (const auto& ext : Range{++begin, extents.end()}) { in PrintExtents()
|
D | extent_ranges.cc | 291 Range<ExtentRanges::ExtentSet::const_iterator> ExtentRanges::GetCandidateRange( in GetCandidateRange()
|
/system/media/audio_utils/tests/ |
D | channelmix_tests.cpp | 337 ::testing::Range(0, (int)std::size(kOutputChannelMasks)), 338 ::testing::Range(0, (int)std::size(kInputChannelMasks)),
|
/system/update_engine/lz4diff/ |
D | lz4diff_main.cc | 35 for (const auto& ext : Range{++begin, vec.end()}) { in operator <<()
|
/system/logging/logd/ |
D | README.replay.md | 27 4. Range (the range of time that the logs cover in seconds)
|
D | README.property | 65 - number - support multipliers (K or M) for convenience. Range is limited
|
/system/media/camera/docs/ |
D | html.mako | 210 <th class="th_range">Range</th> 234 <th class="th_range">Range</th>
|
/system/teeui/libteeui/include/teeui/ |
D | utils.h | 973 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/ |
D | operation.rs | 36 HmacVerify(Box<dyn AccumulatingOperation>, core::ops::Range<usize>),
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 48 using ::testing::Range; 6304 Combine(Range(FcmCombineKernelTest::kMinLevel, FcmCombineKernelTest::kMaxLevel + 1), 6305 Range(FcmCombineKernelTest::kMinLevel, FcmCombineKernelTest::kMaxLevel + 1)),
|