/system/bt/osi/src/ |
D | allocation_tracker.cc | 87 allocation_t* allocation = entry.second; in allocation_tracker_expect_no_allocations() local 88 if (!allocation->freed) { in allocation_tracker_expect_no_allocations() 90 allocation->size; // Report back the unfreed byte count in allocation_tracker_expect_no_allocations() 92 __func__, (uintptr_t)allocation->ptr, allocation->size); in allocation_tracker_expect_no_allocations() 113 allocation_t* allocation; in allocation_tracker_notify_alloc() local 115 allocation = map_entry->second; in allocation_tracker_notify_alloc() 116 CHECK(allocation->freed); // Must have been freed before in allocation_tracker_notify_alloc() 118 allocation = (allocation_t*)calloc(1, sizeof(allocation_t)); in allocation_tracker_notify_alloc() 119 allocations[return_ptr] = allocation; in allocation_tracker_notify_alloc() 122 allocation->allocator_id = allocator_id; in allocation_tracker_notify_alloc() [all …]
|
/system/chre/util/tests/ |
D | memory_pool_test.cc | 62 size_t *allocation; member 78 AllocationExpectedValuePair allocation = { in TEST() local 79 .allocation = memoryPool.allocate(), in TEST() 83 *allocation.allocation = j; in TEST() 84 allocations.push_back(allocation); in TEST() 98 EXPECT_EQ(*allocations[deallocateIndex].allocation, in TEST() 100 memoryPool.deallocate(allocations[deallocateIndex].allocation); in TEST()
|
/system/memory/libmemunreachable/ |
D | Allocator.cpp | 390 MapAllocation* allocation = reinterpret_cast<MapAllocation*>(AllocLocked(sizeof(MapAllocation))); in MapAlloc() local 393 FreeLocked(allocation); in MapAlloc() 396 allocation->ptr = ptr; in MapAlloc() 397 allocation->size = size; in MapAlloc() 398 allocation->next = map_allocation_list_; in MapAlloc() 399 map_allocation_list_ = allocation; in MapAlloc() 405 MapAllocation** allocation = &map_allocation_list_; in MapFree() local 406 while (*allocation && (*allocation)->ptr != ptr) allocation = &(*allocation)->next; in MapFree() 408 assert(*allocation != nullptr); in MapFree() 410 munmap((*allocation)->ptr, (*allocation)->size); in MapFree() [all …]
|
D | LeakFolding.cpp | 75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() argument 76 if (!allocation.referenced_from_root) { in FoldLeaks()
|
D | README.md | 8 … bound) size, and the the first 32 bytes of the contents of the leaked allocation. If malloc_debu… 39 …`log_contents` is `true`, details include up to 32 bytes of the contents of each leaked allocation. 51 …`log_contents` is `true`, details include up to 32 bytes of the contents of each leaked allocation. 91 - `malloc_iterate()`: call a callback on each active allocation in a given heap region. 92 …- `malloc_backtrace()`: return the backtrace from when the allocation at the given address was all…
|
D | HeapWalker.h | 141 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation() local 142 f(range, allocation); in ForEachAllocation()
|
/system/libhidl/transport/allocator/1.0/ |
D | IAllocator.hal | 28 * @return success Whether allocation succeeded. 38 * @return success Whether allocation succeeded (returns false if any allocation failed).
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | hal_drm.te | 23 # Allow access to ion memory allocation device 27 # Allow access to hidl_memory allocation service
|
D | hal_fingerprint.te | 7 # For memory allocation
|
D | hal_face.te | 7 # Allow access to the ion memory allocation device.
|
/system/sepolicy/public/ |
D | hal_drm.te | 27 # Allow access to ion memory allocation device 31 # Allow access to hidl_memory allocation service
|
D | hal_fingerprint.te | 10 # For memory allocation
|
D | hal_face.te | 10 # Allow access to the ion memory allocation device.
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | hal_drm.te | 27 # Allow access to ion memory allocation device 31 # Allow access to hidl_memory allocation service
|
D | hal_fingerprint.te | 10 # For memory allocation
|
D | hal_face.te | 10 # Allow access to the ion memory allocation device.
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | hal_fingerprint.te | 7 # For memory allocation
|
D | hal_face.te | 7 # Allow access to the ion memory allocation device.
|
D | bootanim.te | 27 # Allow access to ion memory allocation device
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | hal_fingerprint.te | 8 # For memory allocation
|
D | bootanim.te | 27 # Allow access to ion memory allocation device
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | hal_fingerprint.te | 14 # For memory allocation
|
D | bootanim.te | 26 # Allow access to ion memory allocation device
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | hal_fingerprint.te | 14 # For memory allocation
|
D | bootanim.te | 27 # Allow access to ion memory allocation device
|