Home
last modified time | relevance | path

Searched defs:AllocatorDispatch (Results 1 – 11 of 11) sorted by relevance

/external/cronet/base/allocator/partition_allocator/src/partition_alloc/shim/
Dallocator_shim.h57 struct AllocatorDispatch { struct
58 using AllocFn = void*(const AllocatorDispatch* self, argument
61 using AllocUncheckedFn = void*(const AllocatorDispatch* self, argument
64 using AllocZeroInitializedFn = void*(const AllocatorDispatch* self, argument
68 using AllocAlignedFn = void*(const AllocatorDispatch* self, argument
72 using ReallocFn = void*(const AllocatorDispatch* self, argument
76 using FreeFn = void(const AllocatorDispatch* self, argument
81 using GetSizeEstimateFn = size_t(const AllocatorDispatch* self, argument
84 using GoodSizeFn = size_t(const AllocatorDispatch* self, argument
87 using ClaimedAddressFn = bool(const AllocatorDispatch* self, argument
[all …]
Dallocator_shim_default_dispatch_to_glibc.cc36 void* GlibcMalloc(const AllocatorDispatch*, size_t size, void* context) { in GlibcMalloc()
46 void* GlibcUncheckedMalloc(const AllocatorDispatch*, in GlibcUncheckedMalloc()
56 void* GlibcCalloc(const AllocatorDispatch*, in GlibcCalloc()
68 void* GlibcRealloc(const AllocatorDispatch*, in GlibcRealloc()
79 void* GlibcMemalign(const AllocatorDispatch*, in GlibcMemalign()
90 void GlibcFree(const AllocatorDispatch*, void* address, void* context) { in GlibcFree()
95 size_t GlibcGetSizeEstimate(const AllocatorDispatch*, in GlibcGetSizeEstimate()
Dallocator_shim_default_dispatch_to_linker_wrapped_symbols.cc32 void* RealMalloc(const AllocatorDispatch*, size_t size, void* context) { in RealMalloc()
36 void* RealCalloc(const AllocatorDispatch*, in RealCalloc()
43 void* RealRealloc(const AllocatorDispatch*, in RealRealloc()
50 void* RealMemalign(const AllocatorDispatch*, in RealMemalign()
57 void RealFree(const AllocatorDispatch*, void* address, void* context) { in RealFree()
61 size_t RealSizeEstimate(const AllocatorDispatch*, in RealSizeEstimate()
Dallocator_shim_default_dispatch_to_apple_zoned_malloc.cc14 void* MallocImpl(const AllocatorDispatch*, size_t size, void* context) { in MallocImpl()
20 void* CallocImpl(const AllocatorDispatch*, in CallocImpl()
29 void* MemalignImpl(const AllocatorDispatch*, in MemalignImpl()
38 void* ReallocImpl(const AllocatorDispatch*, in ReallocImpl()
47 void FreeImpl(const AllocatorDispatch*, void* ptr, void* context) { in FreeImpl()
52 size_t GetSizeEstimateImpl(const AllocatorDispatch*, void* ptr, void* context) { in GetSizeEstimateImpl()
57 size_t GoodSizeImpl(const AllocatorDispatch*, size_t size, void* context) { in GoodSizeImpl()
66 bool ClaimedAddressImpl(const AllocatorDispatch*, void* ptr, void* context) { in ClaimedAddressImpl()
Dallocator_shim_default_dispatch_to_winheap.cc16 void* DefaultWinHeapMallocImpl(const AllocatorDispatch*, in DefaultWinHeapMallocImpl()
54 void DefaultWinHeapFreeImpl(const AllocatorDispatch*, in DefaultWinHeapFreeImpl()
60 size_t DefaultWinHeapGetSizeEstimateImpl(const AllocatorDispatch*, in DefaultWinHeapGetSizeEstimateImpl()
66 void* DefaultWinHeapAlignedMallocImpl(const AllocatorDispatch*, in DefaultWinHeapAlignedMallocImpl()
73 void* DefaultWinHeapAlignedReallocImpl(const AllocatorDispatch*, in DefaultWinHeapAlignedReallocImpl()
81 void DefaultWinHeapAlignedFreeImpl(const AllocatorDispatch*, in DefaultWinHeapAlignedFreeImpl()
Dallocator_shim_default_dispatch_to_partition_alloc.cc237 void* PartitionMalloc(const AllocatorDispatch*, size_t size, void* context) { in PartitionMalloc()
242 void* PartitionMallocUnchecked(const AllocatorDispatch*, in PartitionMallocUnchecked()
251 void* PartitionCalloc(const AllocatorDispatch*, in PartitionCalloc()
263 void* PartitionMemalign(const AllocatorDispatch*, in PartitionMemalign()
318 void* PartitionRealloc(const AllocatorDispatch*, in PartitionRealloc()
344 void PartitionFree(const AllocatorDispatch*, void* object, void* context) { in PartitionFree()
384 void PartitionFreeDefiniteSize(const AllocatorDispatch*, in PartitionFreeDefiniteSize()
396 size_t PartitionGetSizeEstimate(const AllocatorDispatch*, in PartitionGetSizeEstimate()
429 size_t PartitionGoodSize(const AllocatorDispatch*, size_t size, void* context) { in PartitionGoodSize()
433 bool PartitionClaimedAddress(const AllocatorDispatch*, in PartitionClaimedAddress()
[all …]
/external/libchrome/base/allocator/
Dallocator_shim.h48 struct AllocatorDispatch { struct
49 using AllocFn = void*(const AllocatorDispatch* self, argument
52 using AllocZeroInitializedFn = void*(const AllocatorDispatch* self, argument
56 using AllocAlignedFn = void*(const AllocatorDispatch* self, argument
60 using ReallocFn = void*(const AllocatorDispatch* self, argument
64 using FreeFn = void(const AllocatorDispatch* self, argument
71 using GetSizeEstimateFn = size_t(const AllocatorDispatch* self, argument
74 using BatchMallocFn = unsigned(const AllocatorDispatch* self, argument
79 using BatchFreeFn = void(const AllocatorDispatch* self, argument
83 using FreeDefiniteSizeFn = void(const AllocatorDispatch* self, argument
[all …]
Dallocator_shim_default_dispatch_to_glibc.cc25 void* GlibcMalloc(const AllocatorDispatch*, size_t size, void* context) { in GlibcMalloc()
29 void* GlibcCalloc(const AllocatorDispatch*, in GlibcCalloc()
36 void* GlibcRealloc(const AllocatorDispatch*, in GlibcRealloc()
43 void* GlibcMemalign(const AllocatorDispatch*, in GlibcMemalign()
50 void GlibcFree(const AllocatorDispatch*, void* address, void* context) { in GlibcFree()
54 size_t GlibcGetSizeEstimate(const AllocatorDispatch*, in GlibcGetSizeEstimate()
Dallocator_shim_default_dispatch_to_linker_wrapped_symbols.cc38 void* RealMalloc(const AllocatorDispatch*, size_t size, void* context) { in RealMalloc()
42 void* RealCalloc(const AllocatorDispatch*, in RealCalloc()
49 void* RealRealloc(const AllocatorDispatch*, in RealRealloc()
56 void* RealMemalign(const AllocatorDispatch*, in RealMemalign()
63 void RealFree(const AllocatorDispatch*, void* address, void* context) { in RealFree()
71 size_t RealSizeEstimate(const AllocatorDispatch*, in RealSizeEstimate()
/external/cronet/base/debug/
Dstack_trace_unittest.cc174 void* BadMalloc(const allocator_shim::AllocatorDispatch*, size_t, void*) { in BadMalloc()
178 void* BadCalloc(const allocator_shim::AllocatorDispatch*, in BadCalloc()
185 void* BadAlignedAlloc(const allocator_shim::AllocatorDispatch*, in BadAlignedAlloc()
192 void* BadAlignedRealloc(const allocator_shim::AllocatorDispatch*, in BadAlignedRealloc()
200 void* BadRealloc(const allocator_shim::AllocatorDispatch*, in BadRealloc()
207 void BadFree(const allocator_shim::AllocatorDispatch*, void*, void*) { in BadFree()
/external/libchrome/base/debug/
Dthread_heap_usage_tracker_unittest.cc35 using AllocatorDispatch = base::allocator::AllocatorDispatch; typedef in base::debug::__anonb57280100111::ThreadHeapUsageTrackerTest