Home
last modified time | relevance | path

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

12

/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()
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/
Dmemory_pool_test.cc56 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/
DAllocator.cpp400 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 …]
DREADME.md8 … 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…
DHeapWalker.h125 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation() local
126 f(range, allocation); in ForEachAllocation()
DLeakFolding.cpp77 [&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() argument
78 if (!allocation.referenced_from_root) { in FoldLeaks()
/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/public/
Dhal_fingerprint.te14 # For memory allocation
Dbootanim.te26 # Allow access to ion memory allocation device
Dhal_drm.te31 # Allow access to ion memory allocation device
Dshell.te133 # Allow access to ion memory allocation device.
/system/nvram/hal/
Dfake-nvram-seccomp-arm64.policy43 # Memory allocation.
Dfake-nvram-seccomp-x86.policy44 # Memory allocation.
Dfake-nvram-seccomp-x86_64.policy43 # Memory allocation.
Dfake-nvram-seccomp-arm.policy43 # Memory allocation.
/system/sepolicy/
DNOTICE20 of such damage. You acknowledge that this is a reasonable allocation of
/system/sepolicy/private/
Duntrusted_app.te27 # Allow the allocation and use of ptys
Duntrusted_app_25.te29 # Allow the allocation and use of ptys
Ddomain_deprecated.te165 # Allow access to ion memory allocation device
Dpriv_app.te13 # Allow the allocation and use of ptys
/system/core/libmemunreachable/tests/
DHeapWalker_test.cpp42 TEST_F(HeapWalkerTest, allocation) { in TEST_F() argument
/system/chre/
DREADME.md132 memory allocation, etc. Refer to existing literature on this topic
/system/bt/doc/
Dstyle_guide.md176 By convention, functions that contain `*_new` in their name are allocation
/system/tpm/trunks/generator/
Draw_structures_fixed.txt4886 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
Draw_structures.txt4892 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

12