Lines Matching defs:Allocator
5 #include "base/allocator/allocator_shim.h"
8 #include "base/allocator/allocator_extension_thunks.h"
37 TCMALLOC, // TCMalloc is the default allocator.
39 WINHEAP, // Windows Heap (standard Windows allocator).
41 } Allocator;
43 // This is the default allocator. This value can be changed at startup by
46 // allocator.
50 static Allocator allocator = WINHEAP;
52 static Allocator allocator = TCMALLOC;
55 // selection of the allocator. The primary may be used to control overall
56 // allocator selection, and the secondary can be used to specify an allocator
123 switch (allocator) {
151 switch (allocator) {
175 switch (allocator) {
207 switch (allocator) {
224 switch (allocator) {
242 switch (allocator) {
275 // Windows, as the implementation requires Winheap to be the allocator.
280 allocator = JEMALLOC;
282 allocator = WINHEAP;
284 allocator = WINLFH;
286 allocator = TCMALLOC;
290 switch (allocator) {
320 base::allocator::thunks::SetGetAllocatorWasteSizeFunction(
322 base::allocator::thunks::SetGetStatsFunction(get_stats_thunk);
323 base::allocator::thunks::SetReleaseFreeMemoryFunction(
350 switch (allocator) {
384 switch (allocator) {
405 namespace allocator {
420 // Windows, as the implementation require Winheap to be the allocator.
445 } // namespace allocator.