Home
last modified time | relevance | path

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

/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/shim/
Dallocator_dispatch.h14 struct AllocatorDispatch { struct
15 using AllocFn = void*(size_t size, void* context);
16 using AllocUncheckedFn = void*(size_t size, void* context);
17 using AllocZeroInitializedFn = void*(size_t n, size_t size, void* context);
18 using AllocAlignedFn = void*(size_t alignment, size_t size, void* context);
19 using ReallocFn = void*(void* address, size_t size, void* context);
20 using ReallocUncheckedFn = void*(void* ptr, size_t size, void* context);
21 using FreeFn = void(void* address, void* context);
24 using GetSizeEstimateFn = size_t(void* address, void* context);
25 using GoodSizeFn = size_t(size_t size, void* context);
[all …]
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/shim/
Dallocator_dispatch.h14 struct AllocatorDispatch { struct
15 using AllocFn = void*(size_t size, void* context);
16 using AllocUncheckedFn = void*(size_t size, void* context);
17 using AllocZeroInitializedFn = void*(size_t n, size_t size, void* context);
18 using AllocAlignedFn = void*(size_t alignment, size_t size, void* context);
19 using ReallocFn = void*(void* address, size_t size, void* context);
20 using ReallocUncheckedFn = void*(void* ptr, size_t size, void* context);
21 using FreeFn = void(void* address, void* context);
24 using GetSizeEstimateFn = size_t(void* address, void* context);
25 using GoodSizeFn = size_t(size_t size, void* context);
[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::__anon283605f20111::ThreadHeapUsageTrackerTest