Home
last modified time | relevance | path

Searched refs:AllocatorDispatch (Results 1 – 6 of 6) sorted by relevance

/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.cc40 &allocator::AllocatorDispatch::default_dispatch);
67 inline const allocator::AllocatorDispatch* GetChainHead() { in GetChainHead()
71 return reinterpret_cast<const allocator::AllocatorDispatch*>( in GetChainHead()
90 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in UncheckedAlloc()
94 void InsertAllocatorDispatch(AllocatorDispatch* dispatch) { in InsertAllocatorDispatch()
98 const AllocatorDispatch* chain_head = GetChainHead(); in InsertAllocatorDispatch()
123 void RemoveAllocatorDispatchForTesting(AllocatorDispatch* dispatch) { in RemoveAllocatorDispatchForTesting()
152 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in ShimCppNew()
169 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in ShimCppDelete()
174 const allocator::AllocatorDispatch* const chain_head = GetChainHead(); in ShimMalloc()
[all …]
Dallocator_shim_default_dispatch_to_glibc.cc23 using base::allocator::AllocatorDispatch;
25 void* GlibcMalloc(const AllocatorDispatch*, size_t size, void* context) { in GlibcMalloc() argument
29 void* GlibcCalloc(const AllocatorDispatch*, in GlibcCalloc() argument
36 void* GlibcRealloc(const AllocatorDispatch*, in GlibcRealloc() argument
43 void* GlibcMemalign(const AllocatorDispatch*, in GlibcMemalign() argument
50 void GlibcFree(const AllocatorDispatch*, void* address, void* context) { in GlibcFree() argument
54 size_t GlibcGetSizeEstimate(const AllocatorDispatch*, in GlibcGetSizeEstimate() argument
64 const AllocatorDispatch AllocatorDispatch::default_dispatch = {
Dallocator_shim_default_dispatch_to_linker_wrapped_symbols.cc36 using base::allocator::AllocatorDispatch;
38 void* RealMalloc(const AllocatorDispatch*, size_t size, void* context) { in RealMalloc() argument
42 void* RealCalloc(const AllocatorDispatch*, in RealCalloc() argument
49 void* RealRealloc(const AllocatorDispatch*, in RealRealloc() argument
56 void* RealMemalign(const AllocatorDispatch*, in RealMemalign() argument
63 void RealFree(const AllocatorDispatch*, void* address, void* context) { in RealFree() argument
71 size_t RealSizeEstimate(const AllocatorDispatch*, in RealSizeEstimate() argument
102 const AllocatorDispatch AllocatorDispatch::default_dispatch = {
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler.cc31 using base::allocator::AllocatorDispatch;
58 void* AllocFn(const AllocatorDispatch* self, size_t size, void* context) { in AllocFn()
64 void* AllocZeroInitializedFn(const AllocatorDispatch* self, in AllocZeroInitializedFn()
75 void* AllocAlignedFn(const AllocatorDispatch* self, in AllocAlignedFn()
85 void* ReallocFn(const AllocatorDispatch* self, in ReallocFn()
96 void FreeFn(const AllocatorDispatch* self, void* address, void* context) { in FreeFn()
101 size_t GetSizeEstimateFn(const AllocatorDispatch* self, in GetSizeEstimateFn()
107 unsigned BatchMallocFn(const AllocatorDispatch* self, in BatchMallocFn()
121 void BatchFreeFn(const AllocatorDispatch* self, in BatchFreeFn()
131 void FreeDefiniteSizeFn(const AllocatorDispatch* self, in FreeDefiniteSizeFn()
[all …]
/external/libchrome/base/debug/
Dthread_heap_usage_tracker.h16 struct AllocatorDispatch;
102 static base::allocator::AllocatorDispatch* GetDispatchForTesting();