Searched refs:allocation (Results 1 – 25 of 82) sorted by relevance
1234
62 size_t *allocation; member78 AllocationExpectedValuePair allocation = { in TEST() local79 .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()
390 MapAllocation* allocation = reinterpret_cast<MapAllocation*>(AllocLocked(sizeof(MapAllocation))); in MapAlloc() local393 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() local406 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 …]
75 heap_walker_.ForEachAllocation([&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() argument76 if (!allocation.referenced_from_root) { in FoldLeaks()
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…
141 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation() local142 f(range, allocation); in ForEachAllocation()
28 * @return success Whether allocation succeeded.38 * @return success Whether allocation succeeded (returns false if any allocation failed).
23 # Allow access to ion memory allocation device27 # Allow access to hidl_memory allocation service
7 # For memory allocation
7 # Allow access to the ion memory allocation device.
27 # Allow access to ion memory allocation device31 # Allow access to hidl_memory allocation service
10 # For memory allocation
10 # Allow access to the ion memory allocation device.
29 # Allow access to ion memory allocation device33 # Allow access to hidl_memory allocation service
27 # Allow access to ion memory allocation device
8 # For memory allocation