Lines Matching refs:allocator
5 #include "base/allocator/allocator_shim.h"
21 #include "base/allocator/winheap_stubs_win.h"
27 #include "base/allocator/allocator_interception_mac.h"
40 &allocator::AllocatorDispatch::default_dispatch);
59 return base::allocator::WinCallNewHandler(size);
81 inline const allocator::AllocatorDispatch* GetChainHead() {
85 return reinterpret_cast<const allocator::AllocatorDispatch*>(
97 namespace allocator {
104 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
143 } // namespace allocator
166 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
183 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
188 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
198 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
211 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
221 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
260 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
265 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
274 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
282 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
288 const allocator::AllocatorDispatch* const chain_head = GetChainHead();
299 #include "base/allocator/allocator_shim_override_cpp_symbols.h"
305 #include "base/allocator/allocator_shim_override_linker_wrapped_symbols.h"
308 #include "base/allocator/allocator_shim_override_ucrt_symbols_win.h"
310 #include "base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h"
311 #include "base/allocator/allocator_shim_override_mac_symbols.h"
313 #include "base/allocator/allocator_shim_override_libc_symbols.h"
320 #include "base/allocator/allocator_shim_override_glibc_weak_symbols.h"
325 namespace allocator {
335 base::allocator::ReplaceFunctionsForStoredZones(&functions);
337 } // namespace allocator
344 #error The allocator shim should not be compiled when building for memory tools.