Home
last modified time | relevance | path

Searched refs:realloc_function (Results 1 – 17 of 17) sorted by relevance

/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/shim/
Dallocator_dispatch.h54 ReallocFn* realloc_function; member
125 COPY_IF_NULLPTR(realloc_function); in OptimizeAllocatorDispatchTable()
Dallocator_shim_default_dispatch_to_partition_alloc_with_advanced_checks.cc47 PA_MUSTTAIL return delegate->realloc_function(address, size, context); in DelegatedReallocFn()
150 PA_DCHECK(dispatch->realloc_function != nullptr); in InstallCustomDispatch()
210 .realloc_function = &DelegatedReallocFn,
Dallocator_shim_unittest.cc127 return g_mock_dispatch.next->realloc_function(address, size, context); in MockRealloc()
836 EXPECT_EQ(head->realloc_function, prev->realloc_function); in TEST_F()
848 EXPECT_EQ(head->realloc_function, prev->realloc_function); in TEST_F()
908 .realloc_function = &MockReallocWithAdvancedChecks,
958 return g_mock_dispatch_for_advanced_checks.next->realloc_function( in MockReallocWithAdvancedChecks()
Dshim_alloc_functions.h146 void* ptr = chain_head->realloc_function(address, size, context); in ShimRealloc()
153 ptr = chain_head->realloc_function(address, size, context); in ShimRealloc()
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/shim/
Dallocator_dispatch.h54 ReallocFn* realloc_function; member
125 COPY_IF_NULLPTR(realloc_function); in OptimizeAllocatorDispatchTable()
Dallocator_shim_default_dispatch_to_partition_alloc_with_advanced_checks.cc47 PA_MUSTTAIL return delegate->realloc_function(address, size, context); in DelegatedReallocFn()
150 PA_DCHECK(dispatch->realloc_function != nullptr); in InstallCustomDispatch()
210 .realloc_function = &DelegatedReallocFn,
Dallocator_shim_unittest.cc127 return g_mock_dispatch.next->realloc_function(address, size, context); in MockRealloc()
836 EXPECT_EQ(head->realloc_function, prev->realloc_function); in TEST_F()
848 EXPECT_EQ(head->realloc_function, prev->realloc_function); in TEST_F()
908 .realloc_function = &MockReallocWithAdvancedChecks,
958 return g_mock_dispatch_for_advanced_checks.next->realloc_function( in MockReallocWithAdvancedChecks()
Dshim_alloc_functions.h146 void* ptr = chain_head->realloc_function(address, size, context); in ShimRealloc()
153 ptr = chain_head->realloc_function(address, size, context); in ShimRealloc()
/external/libchrome/base/allocator/
Dallocator_shim.h91 ReallocFn* const realloc_function; member
Dallocator_shim.cc200 ptr = chain_head->realloc_function(chain_head, address, size, context); in ShimRealloc()
/external/cronet/stable/base/allocator/dispatcher/internal/
Ddispatcher_internal_unittest.cc107 static void* realloc_function(void*, size_t, void*) { in realloc_function() function
146 &realloc_function,
257 EXPECT_NE(nullptr, allocator_dispatch->realloc_function); in TEST_F()
404 auto* const allocated_address = allocator_dispatch->realloc_function( in TEST_F()
Ddispatcher_internal.h169 allocator_dispatch_.next->realloc_function(address, size, context); in ReallocFn()
/external/cronet/tot/base/allocator/dispatcher/internal/
Ddispatcher_internal_unittest.cc107 static void* realloc_function(void*, size_t, void*) { in realloc_function() function
146 &realloc_function,
257 EXPECT_NE(nullptr, allocator_dispatch->realloc_function); in TEST_F()
404 auto* const allocated_address = allocator_dispatch->realloc_function( in TEST_F()
Ddispatcher_internal.h169 allocator_dispatch_.next->realloc_function(address, size, context); in ReallocFn()
/external/libchrome/base/debug/
Dthread_heap_usage_tracker.cc153 void* ret = self->next->realloc_function(self->next, address, size, context); in ReallocFn()
Dthread_heap_usage_tracker_unittest.cc90 return dispatch_under_test_->realloc_function(dispatch_under_test_, address, in MockRealloc()
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler.cc91 address = self->next->realloc_function(self->next, address, size, context); in ReallocFn()