Home
last modified time | relevance | path

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

/external/cronet/base/allocator/partition_allocator/shim/
Dallocator_shim.h55 struct AllocatorDispatch { struct
56 using AllocFn = void*(const AllocatorDispatch* self, argument
59 using AllocUncheckedFn = void*(const AllocatorDispatch* self, argument
62 using AllocZeroInitializedFn = void*(const AllocatorDispatch* self, argument
66 using AllocAlignedFn = void*(const AllocatorDispatch* self, argument
70 using ReallocFn = void*(const AllocatorDispatch* self, argument
74 using FreeFn = void(const AllocatorDispatch* self, argument
79 using GetSizeEstimateFn = size_t(const AllocatorDispatch* self, argument
82 using ClaimedAddressFn = bool(const AllocatorDispatch* self, argument
85 using BatchMallocFn = unsigned(const AllocatorDispatch* self, argument
[all …]
Dallocator_shim_default_dispatch_to_glibc.cc36 void* GlibcMalloc(const AllocatorDispatch*, size_t size, void* context) { in GlibcMalloc()
45 void* GlibcUncheckedMalloc(const AllocatorDispatch*, in GlibcUncheckedMalloc()
54 void* GlibcCalloc(const AllocatorDispatch*, in GlibcCalloc()
65 void* GlibcRealloc(const AllocatorDispatch*, in GlibcRealloc()
75 void* GlibcMemalign(const AllocatorDispatch*, in GlibcMemalign()
85 void GlibcFree(const AllocatorDispatch*, void* address, void* context) { in GlibcFree()
90 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_winheap.cc16 void* DefaultWinHeapMallocImpl(const AllocatorDispatch*, in DefaultWinHeapMallocImpl()
53 void DefaultWinHeapFreeImpl(const AllocatorDispatch*, in DefaultWinHeapFreeImpl()
59 size_t DefaultWinHeapGetSizeEstimateImpl(const AllocatorDispatch*, in DefaultWinHeapGetSizeEstimateImpl()
65 void* DefaultWinHeapAlignedMallocImpl(const AllocatorDispatch*, in DefaultWinHeapAlignedMallocImpl()
72 void* DefaultWinHeapAlignedReallocImpl(const AllocatorDispatch*, in DefaultWinHeapAlignedReallocImpl()
80 void DefaultWinHeapAlignedFreeImpl(const AllocatorDispatch*, in DefaultWinHeapAlignedFreeImpl()
Dallocator_shim_default_dispatch_to_mac_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 bool ClaimedAddressImpl(const AllocatorDispatch*, void* ptr, void* context) { in ClaimedAddressImpl()
Dallocator_shim_default_dispatch_to_partition_alloc.cc260 void* PartitionMalloc(const AllocatorDispatch*, size_t size, void* context) { in PartitionMalloc()
266 void* PartitionMallocUnchecked(const AllocatorDispatch*, in PartitionMallocUnchecked()
275 void* PartitionCalloc(const AllocatorDispatch*, in PartitionCalloc()
287 void* PartitionMemalign(const AllocatorDispatch*, in PartitionMemalign()
340 void* PartitionRealloc(const AllocatorDispatch*, in PartitionRealloc()
366 void PartitionFree(const AllocatorDispatch*, void* object, void* context) { in PartitionFree()
405 void PartitionFreeDefiniteSize(const AllocatorDispatch*, in PartitionFreeDefiniteSize()
416 size_t PartitionGetSizeEstimate(const AllocatorDispatch*, in PartitionGetSizeEstimate()
447 bool PartitionClaimedAddress(const AllocatorDispatch*, in PartitionClaimedAddress()
455 unsigned PartitionBatchMalloc(const AllocatorDispatch*, in PartitionBatchMalloc()
[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/libchrome/base/debug/
Dthread_heap_usage_tracker_unittest.cc35 using AllocatorDispatch = base::allocator::AllocatorDispatch; typedef in base::debug::__anon0cef5c610111::ThreadHeapUsageTrackerTest