Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 25 of 83) sorted by relevance

1234

/system/bt/osi/src/
Dallocation_tracker.cc87 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/
Dmemory_pool_test.cc62 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/
DAllocator.cpp390 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 …]
DLeakFolding.cpp75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() argument
76 if (!allocation.referenced_from_root) { in FoldLeaks()
DREADME.md8 … 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…
DHeapWalker.h141 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation() local
142 f(range, allocation); in ForEachAllocation()
/system/libhidl/transport/allocator/1.0/
DIAllocator.hal28 * @return success Whether allocation succeeded.
38 * @return success Whether allocation succeeded (returns false if any allocation failed).
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_drm.te23 # Allow access to ion memory allocation device
27 # Allow access to hidl_memory allocation service
Dhal_fingerprint.te7 # For memory allocation
Dhal_face.te7 # Allow access to the ion memory allocation device.
/system/sepolicy/public/
Dhal_drm.te27 # Allow access to ion memory allocation device
31 # Allow access to hidl_memory allocation service
Dhal_fingerprint.te10 # For memory allocation
Dhal_face.te10 # Allow access to the ion memory allocation device.
/system/sepolicy/prebuilts/api/31.0/public/
Dhal_drm.te27 # Allow access to ion memory allocation device
31 # Allow access to hidl_memory allocation service
Dhal_fingerprint.te10 # For memory allocation
Dhal_face.te10 # Allow access to the ion memory allocation device.
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_fingerprint.te7 # For memory allocation
Dhal_face.te7 # Allow access to the ion memory allocation device.
Dbootanim.te27 # Allow access to ion memory allocation device
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_fingerprint.te8 # For memory allocation
Dbootanim.te27 # Allow access to ion memory allocation device
/system/sepolicy/prebuilts/api/26.0/public/
Dhal_fingerprint.te14 # For memory allocation
Dbootanim.te26 # Allow access to ion memory allocation device
/system/sepolicy/prebuilts/api/27.0/public/
Dhal_fingerprint.te14 # For memory allocation
Dbootanim.te27 # Allow access to ion memory allocation device

1234