/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() 93 __func__, (uintptr_t)allocation->ptr, allocation->size); in allocation_tracker_expect_no_allocations() 114 allocation_t* allocation; in allocation_tracker_notify_alloc() local 116 allocation = map_entry->second; in allocation_tracker_notify_alloc() 117 CHECK(allocation->freed); // Must have been freed before in allocation_tracker_notify_alloc() 119 allocation = (allocation_t*)calloc(1, sizeof(allocation_t)); in allocation_tracker_notify_alloc() 120 allocations[return_ptr] = allocation; in allocation_tracker_notify_alloc() 123 allocation->allocator_id = allocator_id; in allocation_tracker_notify_alloc() [all …]
|
/system/chre/util/tests/ |
D | memory_pool_test.cc | 56 size_t *allocation; member 72 AllocationExpectedValuePair allocation = { in TEST() local 73 .allocation = memoryPool.allocate(), in TEST() 77 *allocation.allocation = j; in TEST() 78 allocations.push_back(allocation); in TEST() 92 ASSERT_EQ(*allocations[deallocateIndex].allocation, in TEST() 94 memoryPool.deallocate(allocations[deallocateIndex].allocation); in TEST()
|
/system/core/libmemunreachable/ |
D | Allocator.cpp | 400 MapAllocation* allocation = reinterpret_cast<MapAllocation*>(AllocLocked( in MapAlloc() local 404 FreeLocked(allocation); in MapAlloc() 407 allocation->ptr = ptr; in MapAlloc() 408 allocation->size = size; in MapAlloc() 409 allocation->next = map_allocation_list_; in MapAlloc() 410 map_allocation_list_ = allocation; in MapAlloc() 416 MapAllocation **allocation = &map_allocation_list_; in MapFree() local 417 while (*allocation && (*allocation)->ptr != ptr) in MapFree() 418 allocation = &(*allocation)->next; in MapFree() 420 assert(*allocation != nullptr); in MapFree() [all …]
|
D | README.md | 8 … bound) size, and the the first 32 bytes of the contents of the leaked allocation. If malloc_debu… 18 …`log_contents` is `true`, details include up to 32 bytes of the contents of each leaked allocation. 30 …`log_contents` is `true`, details include up to 32 bytes of the contents of each leaked allocation. 70 - `malloc_iterate()`: call a callback on each active allocation in a given heap region. 71 …- `malloc_backtrace()`: return the backtrace from when the allocation at the given address was all…
|
D | HeapWalker.h | 125 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation() local 126 f(range, allocation); in ForEachAllocation()
|
D | LeakFolding.cpp | 77 [&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() argument 78 if (!allocation.referenced_from_root) { in FoldLeaks()
|
/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/public/ |
D | hal_fingerprint.te | 14 # For memory allocation
|
D | bootanim.te | 26 # Allow access to ion memory allocation device
|
D | hal_drm.te | 31 # Allow access to ion memory allocation device
|
D | shell.te | 133 # Allow access to ion memory allocation device.
|
/system/nvram/hal/ |
D | fake-nvram-seccomp-arm64.policy | 43 # Memory allocation.
|
D | fake-nvram-seccomp-x86.policy | 44 # Memory allocation.
|
D | fake-nvram-seccomp-x86_64.policy | 43 # Memory allocation.
|
D | fake-nvram-seccomp-arm.policy | 43 # Memory allocation.
|
/system/sepolicy/ |
D | NOTICE | 20 of such damage. You acknowledge that this is a reasonable allocation of
|
/system/sepolicy/private/ |
D | untrusted_app.te | 27 # Allow the allocation and use of ptys
|
D | untrusted_app_25.te | 29 # Allow the allocation and use of ptys
|
D | domain_deprecated.te | 165 # Allow access to ion memory allocation device
|
D | priv_app.te | 13 # Allow the allocation and use of ptys
|
/system/core/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 42 TEST_F(HeapWalkerTest, allocation) { in TEST_F() argument
|
/system/chre/ |
D | README.md | 132 memory allocation, etc. Refer to existing literature on this topic
|
/system/bt/doc/ |
D | style_guide.md | 176 By convention, functions that contain `*_new` in their name are allocation
|
/system/tpm/trunks/generator/ |
D | raw_structures_fixed.txt | 4886 Requested allocation size is larger than allowed. 4913 insufficient space for NV allocation 6691 allocation can make this estimate invalid. 6730 allocation can make this estimate invalid. 6744 command that changes the memory allocation can make 6766 command that changes the NV memory allocation can 6796 memory allocation can make this estimate invalid. 7425 required to authorize allocation of space for a persistent object. These entities are given separat… 7429 While this “namespace” allocation of the handle ranges could have been handled by convention, TPM
|
D | raw_structures.txt | 4892 Requested allocation size is larger than allowed. 4919 insufficient space for NV allocation 6666 allocation can make this estimate invalid. 6705 allocation can make this estimate invalid. 6719 command that changes the memory allocation can make 6741 command that changes the NV memory allocation can 6771 memory allocation can make this estimate invalid. 7398 required to authorize allocation of space for a persistent object. These entities are given separat… 7402 While this “namespace” allocation of the handle ranges could have been handled by convention, TPM
|