MallocExtension 193 base/allocator/allocator_shim.cc return MallocExtension::instance()->GetAllocatedSize(p); MallocExtension 209 base/allocator/allocator_shim.cc MallocExtension* ext = MallocExtension::instance(); MallocExtension 222 base/allocator/allocator_shim.cc MallocExtension::instance()->GetStats(buffer, buffer_length); MallocExtension 226 base/allocator/allocator_shim.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 511 content/app/content_main_runner.cc MallocExtension* ext = MallocExtension::instance(); MallocExtension 525 content/app/content_main_runner.cc MallocExtension::instance()->GetStats(buffer, buffer_length); MallocExtension 529 content/app/content_main_runner.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 580 content/app/content_main_runner.cc MallocExtension::GetBytesAllocatedOnCurrentThread, MallocExtension 1055 third_party/tcmalloc/chromium/src/debugallocation.cc RAW_CHECK(GetOwnership(p) != MallocExtension::kNotOwned, MallocExtension 1062 third_party/tcmalloc/chromium/src/debugallocation.cc virtual MallocExtension::Ownership GetOwnership(const void* p) { MallocExtension 1067 third_party/tcmalloc/chromium/src/debugallocation.cc return MallocExtension::kNotOwned; // nobody owns NULL MallocExtension 1070 third_party/tcmalloc/chromium/src/debugallocation.cc virtual void GetFreeListSizes(vector<MallocExtension::FreeListInfo>* v) { MallocExtension 1075 third_party/tcmalloc/chromium/src/debugallocation.cc MallocExtension::FreeListInfo i; MallocExtension 1092 third_party/tcmalloc/chromium/src/debugallocation.cc MallocExtension::Register(&debug_malloc_implementation); MallocExtension 1431 third_party/tcmalloc/chromium/src/debugallocation.cc return MallocExtension::instance()->GetAllocatedSize(ptr); MallocExtension 89 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h class PERFTOOLS_DLL_DECL MallocExtension { MallocExtension 91 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h virtual ~MallocExtension(); MallocExtension 304 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h static MallocExtension* instance(); MallocExtension 308 third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h static void Register(MallocExtension* implementation); MallocExtension 74 third_party/tcmalloc/chromium/src/heap-checker-bcad.cc MallocExtension::Initialize(); MallocExtension 495 third_party/tcmalloc/chromium/src/heap-profiler.cc MallocExtension::Initialize(); MallocExtension 116 third_party/tcmalloc/chromium/src/internal_logging.cc MallocExtension::instance()->GetStats(stats_buffer, kStatsBufferSize); MallocExtension 103 third_party/tcmalloc/chromium/src/libc_override_osx.h if (MallocExtension::instance()->GetOwnership(ptr) != MallocExtension::kOwned) MallocExtension 107 third_party/tcmalloc/chromium/src/libc_override_osx.h return MallocExtension::instance()->GetAllocatedSize(const_cast<void*>(ptr)); MallocExtension 153 third_party/tcmalloc/chromium/src/libc_override_osx.h return MallocExtension::instance()->VerifyAllMemory(); MallocExtension 161 third_party/tcmalloc/chromium/src/libc_override_osx.h MallocExtension::instance()->GetStats(buffer, bufsize); MallocExtension 83 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::Initialize() { MallocExtension 115 third_party/tcmalloc/chromium/src/malloc_extension.cc MallocExtension::~MallocExtension() { } MallocExtension 116 third_party/tcmalloc/chromium/src/malloc_extension.cc bool MallocExtension::VerifyAllMemory() { return true; } MallocExtension 117 third_party/tcmalloc/chromium/src/malloc_extension.cc bool MallocExtension::VerifyNewMemory(const void* p) { return true; } MallocExtension 118 third_party/tcmalloc/chromium/src/malloc_extension.cc bool MallocExtension::VerifyArrayNewMemory(const void* p) { return true; } MallocExtension 119 third_party/tcmalloc/chromium/src/malloc_extension.cc bool MallocExtension::VerifyMallocMemory(const void* p) { return true; } MallocExtension 121 third_party/tcmalloc/chromium/src/malloc_extension.cc bool MallocExtension::GetNumericProperty(const char* property, size_t* value) { MallocExtension 125 third_party/tcmalloc/chromium/src/malloc_extension.cc bool MallocExtension::SetNumericProperty(const char* property, size_t value) { MallocExtension 129 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::GetStats(char* buffer, int length) { MallocExtension 134 third_party/tcmalloc/chromium/src/malloc_extension.cc bool MallocExtension::MallocMemoryStats(int* blocks, size_t* total, MallocExtension 142 third_party/tcmalloc/chromium/src/malloc_extension.cc void** MallocExtension::ReadStackTraces(int* sample_period) { MallocExtension 146 third_party/tcmalloc/chromium/src/malloc_extension.cc void** MallocExtension::ReadHeapGrowthStackTraces() { MallocExtension 150 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::MarkThreadIdle() { MallocExtension 154 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::MarkThreadBusy() { MallocExtension 158 third_party/tcmalloc/chromium/src/malloc_extension.cc SysAllocator* MallocExtension::GetSystemAllocator() { MallocExtension 162 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::SetSystemAllocator(SysAllocator *a) { MallocExtension 166 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::ReleaseToSystem(size_t num_bytes) { MallocExtension 170 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::ReleaseFreeMemory() { MallocExtension 174 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::SetMemoryReleaseRate(double rate) { MallocExtension 178 third_party/tcmalloc/chromium/src/malloc_extension.cc double MallocExtension::GetMemoryReleaseRate() { MallocExtension 182 third_party/tcmalloc/chromium/src/malloc_extension.cc size_t MallocExtension::GetEstimatedAllocatedSize(size_t size) { MallocExtension 186 third_party/tcmalloc/chromium/src/malloc_extension.cc size_t MallocExtension::GetAllocatedSize(const void* p) { MallocExtension 191 third_party/tcmalloc/chromium/src/malloc_extension.cc MallocExtension::Ownership MallocExtension::GetOwnership(const void* p) { MallocExtension 195 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::GetFreeListSizes( MallocExtension 196 third_party/tcmalloc/chromium/src/malloc_extension.cc vector<MallocExtension::FreeListInfo>* v) { MallocExtension 203 third_party/tcmalloc/chromium/src/malloc_extension.cc static MallocExtension* current_instance = NULL; MallocExtension 206 third_party/tcmalloc/chromium/src/malloc_extension.cc current_instance = new MallocExtension; MallocExtension 212 third_party/tcmalloc/chromium/src/malloc_extension.cc MallocExtension* MallocExtension::instance() { MallocExtension 217 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::Register(MallocExtension* implementation) { MallocExtension 229 third_party/tcmalloc/chromium/src/malloc_extension.cc unsigned int MallocExtension::GetBytesAllocatedOnCurrentThread() { MallocExtension 303 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::GetHeapSample(MallocExtensionWriter* writer) { MallocExtension 327 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::GetHeapGrowthStacks(MallocExtensionWriter* writer) { MallocExtension 351 third_party/tcmalloc/chromium/src/malloc_extension.cc void MallocExtension::Ranges(void* arg, RangeFunction func) { MallocExtension 359 third_party/tcmalloc/chromium/src/malloc_extension.cc return MallocExtension::instance()->fn arglist; \ MallocExtension 388 third_party/tcmalloc/chromium/src/malloc_extension.cc MallocExtension::instance()->GetOwnership(p)); MallocExtension 259 third_party/tcmalloc/chromium/src/memfs_malloc.cc SysAllocator* alloc = MallocExtension::instance()->GetSystemAllocator(); MallocExtension 262 third_party/tcmalloc/chromium/src/memfs_malloc.cc MallocExtension::instance()->SetSystemAllocator(hp); MallocExtension 563 third_party/tcmalloc/chromium/src/tcmalloc.cc static void IterateOverRanges(void* arg, MallocExtension::RangeFunction func) { MallocExtension 592 third_party/tcmalloc/chromium/src/tcmalloc.cc class TCMallocImplementation : public MallocExtension { MallocExtension 632 third_party/tcmalloc/chromium/src/tcmalloc.cc MallocExtension::GetHeapSample(writer); MallocExtension 809 third_party/tcmalloc/chromium/src/tcmalloc.cc virtual void GetFreeListSizes(vector<MallocExtension::FreeListInfo>* v) { MallocExtension 824 third_party/tcmalloc/chromium/src/tcmalloc.cc MallocExtension::FreeListInfo i; MallocExtension 852 third_party/tcmalloc/chromium/src/tcmalloc.cc MallocExtension::FreeListInfo i; MallocExtension 871 third_party/tcmalloc/chromium/src/tcmalloc.cc MallocExtension::FreeListInfo span_info; MallocExtension 885 third_party/tcmalloc/chromium/src/tcmalloc.cc MallocExtension::FreeListInfo i; MallocExtension 931 third_party/tcmalloc/chromium/src/tcmalloc.cc MallocExtension::Register(new TCMallocImplementation); MallocExtension 1719 third_party/tcmalloc/chromium/src/tcmalloc.cc return MallocExtension::instance()->GetAllocatedSize(ptr); MallocExtension 55 third_party/tcmalloc/chromium/src/tests/current_allocated_bytes_test.cc MallocExtension::instance()->GetNumericProperty(kCurrent, &before_bytes); MallocExtension 57 third_party/tcmalloc/chromium/src/tests/current_allocated_bytes_test.cc MallocExtension::instance()->GetNumericProperty(kCurrent, &after_bytes); MallocExtension 233 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc CHECK(MallocExtension::instance()->GetNumericProperty( MallocExtension 264 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc EXPECT_EQ(i, MallocExtension::instance()->GetAllocatedSize(p)); MallocExtension 269 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc EXPECT_GE(MallocExtension::instance()->GetAllocatedSize(a), 1000); MallocExtension 271 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc EXPECT_LE(MallocExtension::instance()->GetAllocatedSize(a), 5000); MallocExtension 272 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc EXPECT_GE(MallocExtension::instance()->GetEstimatedAllocatedSize(1000), 1000); MallocExtension 67 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc MallocExtension::instance()->GetNumericProperty("tcmalloc.slack_bytes", MallocExtension 79 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc MallocExtension::instance()->GetNumericProperty("tcmalloc.slack_bytes", MallocExtension 90 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc MallocExtension::instance()->GetStats(buffer, kBufSize); MallocExtension 109 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc MallocExtension::instance()->GetNumericProperty("tcmalloc.slack_bytes", MallocExtension 265 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc CHECK(MallocExtension::instance()->VerifyAllMemory()); MallocExtension 269 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc if (MallocExtension::instance() MallocExtension 48 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_TRUE(MallocExtension::instance()->GetNumericProperty( MallocExtension 55 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_TRUE(MallocExtension::instance()->VerifyAllMemory()); MallocExtension 58 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_EQ(MallocExtension::kOwned, MallocExtension 59 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetOwnership(a)); MallocExtension 62 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_EQ(MallocExtension::kNotOwned, MallocExtension 63 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetOwnership(&cxx_bytes_used)); MallocExtension 64 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_EQ(MallocExtension::kNotOwned, MallocExtension 65 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetOwnership(NULL)); MallocExtension 66 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(a), 1000); MallocExtension 68 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_LE(MallocExtension::instance()->GetAllocatedSize(a), 5000); MallocExtension 69 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_GE(MallocExtension::instance()->GetEstimatedAllocatedSize(1000), 1000); MallocExtension 73 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(p), MallocExtension 74 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetEstimatedAllocatedSize(i)); MallocExtension 90 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_EQ(static_cast<int>(MallocExtension::kUnknownOwnership), MallocExtension 92 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_EQ(static_cast<int>(MallocExtension::kOwned), MallocExtension 94 third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc ASSERT_EQ(static_cast<int>(MallocExtension::kNotOwned), MallocExtension 59 third_party/tcmalloc/chromium/src/tests/markidle_unittest.cc MallocExtension::instance()->MarkThreadIdle(); MallocExtension 68 third_party/tcmalloc/chromium/src/tests/markidle_unittest.cc MallocExtension::instance()->MarkThreadIdle(); MallocExtension 75 third_party/tcmalloc/chromium/src/tests/markidle_unittest.cc CHECK(MallocExtension::instance()->GetNumericProperty( MallocExtension 90 third_party/tcmalloc/chromium/src/tests/markidle_unittest.cc MallocExtension::instance()->MarkThreadIdle(); MallocExtension 74 third_party/tcmalloc/chromium/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapSample(&s); MallocExtension 78 third_party/tcmalloc/chromium/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapGrowthStacks(&s); MallocExtension 56 third_party/tcmalloc/chromium/src/tests/simple_compat_test.cc MallocExtension::Ownership malloc_extension_h; MallocExtension 99 third_party/tcmalloc/chromium/src/tests/system-alloc_unittest.cc MallocExtension::instance()->SetSystemAllocator(&a); MallocExtension 574 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension* inst = MallocExtension::instance(); MallocExtension 831 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->Ranges(&state, RangeCallback); MallocExtension 846 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 857 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc CHECK(MallocExtension::instance()->GetNumericProperty( MallocExtension 874 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 878 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 882 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB); MallocExtension 888 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/2); MallocExtension 892 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/4); MallocExtension 898 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/2); MallocExtension 902 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/2); MallocExtension 906 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 914 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(1); MallocExtension 72 third_party/tcmalloc/chromium/src/tests/thread_dealloc_unittest.cc MallocExtension::instance()->GetStats(display, kDisplaySize); MallocExtension 65 third_party/tcmalloc/chromium/src/windows/override_functions.cc return MallocExtension::instance()->GetAllocatedSize(p); MallocExtension 1048 third_party/tcmalloc/vendor/src/debugallocation.cc RAW_CHECK(GetOwnership(p) != MallocExtension::kNotOwned, MallocExtension 1055 third_party/tcmalloc/vendor/src/debugallocation.cc virtual MallocExtension::Ownership GetOwnership(const void* p) { MallocExtension 1060 third_party/tcmalloc/vendor/src/debugallocation.cc return MallocExtension::kNotOwned; // nobody owns NULL MallocExtension 1063 third_party/tcmalloc/vendor/src/debugallocation.cc virtual void GetFreeListSizes(vector<MallocExtension::FreeListInfo>* v) { MallocExtension 1068 third_party/tcmalloc/vendor/src/debugallocation.cc MallocExtension::FreeListInfo i; MallocExtension 1085 third_party/tcmalloc/vendor/src/debugallocation.cc MallocExtension::Register(&debug_malloc_implementation); MallocExtension 1419 third_party/tcmalloc/vendor/src/debugallocation.cc return MallocExtension::instance()->GetAllocatedSize(ptr); MallocExtension 89 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h class PERFTOOLS_DLL_DECL MallocExtension { MallocExtension 91 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h virtual ~MallocExtension(); MallocExtension 324 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h static MallocExtension* instance(); MallocExtension 328 third_party/tcmalloc/vendor/src/gperftools/malloc_extension.h static void Register(MallocExtension* implementation); MallocExtension 74 third_party/tcmalloc/vendor/src/heap-checker-bcad.cc MallocExtension::Initialize(); MallocExtension 416 third_party/tcmalloc/vendor/src/heap-profiler.cc MallocExtension::Initialize(); MallocExtension 115 third_party/tcmalloc/vendor/src/internal_logging.cc MallocExtension::instance()->GetStats(stats_buffer, kStatsBufferSize); MallocExtension 103 third_party/tcmalloc/vendor/src/libc_override_osx.h if (MallocExtension::instance()->GetOwnership(ptr) != MallocExtension::kOwned) MallocExtension 107 third_party/tcmalloc/vendor/src/libc_override_osx.h return MallocExtension::instance()->GetAllocatedSize(const_cast<void*>(ptr)); MallocExtension 153 third_party/tcmalloc/vendor/src/libc_override_osx.h return MallocExtension::instance()->VerifyAllMemory(); MallocExtension 161 third_party/tcmalloc/vendor/src/libc_override_osx.h MallocExtension::instance()->GetStats(buffer, bufsize); MallocExtension 77 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::Initialize() { MallocExtension 109 third_party/tcmalloc/vendor/src/malloc_extension.cc MallocExtension::~MallocExtension() { } MallocExtension 110 third_party/tcmalloc/vendor/src/malloc_extension.cc bool MallocExtension::VerifyAllMemory() { return true; } MallocExtension 111 third_party/tcmalloc/vendor/src/malloc_extension.cc bool MallocExtension::VerifyNewMemory(const void* p) { return true; } MallocExtension 112 third_party/tcmalloc/vendor/src/malloc_extension.cc bool MallocExtension::VerifyArrayNewMemory(const void* p) { return true; } MallocExtension 113 third_party/tcmalloc/vendor/src/malloc_extension.cc bool MallocExtension::VerifyMallocMemory(const void* p) { return true; } MallocExtension 115 third_party/tcmalloc/vendor/src/malloc_extension.cc bool MallocExtension::GetNumericProperty(const char* property, size_t* value) { MallocExtension 119 third_party/tcmalloc/vendor/src/malloc_extension.cc bool MallocExtension::SetNumericProperty(const char* property, size_t value) { MallocExtension 123 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::GetStats(char* buffer, int length) { MallocExtension 128 third_party/tcmalloc/vendor/src/malloc_extension.cc bool MallocExtension::MallocMemoryStats(int* blocks, size_t* total, MallocExtension 136 third_party/tcmalloc/vendor/src/malloc_extension.cc void** MallocExtension::ReadStackTraces(int* sample_period) { MallocExtension 140 third_party/tcmalloc/vendor/src/malloc_extension.cc void** MallocExtension::ReadHeapGrowthStackTraces() { MallocExtension 144 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::MarkThreadIdle() { MallocExtension 148 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::MarkThreadBusy() { MallocExtension 152 third_party/tcmalloc/vendor/src/malloc_extension.cc SysAllocator* MallocExtension::GetSystemAllocator() { MallocExtension 156 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::SetSystemAllocator(SysAllocator *a) { MallocExtension 160 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::ReleaseToSystem(size_t num_bytes) { MallocExtension 164 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::ReleaseFreeMemory() { MallocExtension 168 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::SetMemoryReleaseRate(double rate) { MallocExtension 172 third_party/tcmalloc/vendor/src/malloc_extension.cc double MallocExtension::GetMemoryReleaseRate() { MallocExtension 176 third_party/tcmalloc/vendor/src/malloc_extension.cc size_t MallocExtension::GetEstimatedAllocatedSize(size_t size) { MallocExtension 180 third_party/tcmalloc/vendor/src/malloc_extension.cc size_t MallocExtension::GetAllocatedSize(const void* p) { MallocExtension 185 third_party/tcmalloc/vendor/src/malloc_extension.cc MallocExtension::Ownership MallocExtension::GetOwnership(const void* p) { MallocExtension 189 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::GetFreeListSizes( MallocExtension 190 third_party/tcmalloc/vendor/src/malloc_extension.cc vector<MallocExtension::FreeListInfo>* v) { MallocExtension 197 third_party/tcmalloc/vendor/src/malloc_extension.cc static MallocExtension* current_instance = NULL; MallocExtension 200 third_party/tcmalloc/vendor/src/malloc_extension.cc current_instance = new MallocExtension; MallocExtension 206 third_party/tcmalloc/vendor/src/malloc_extension.cc MallocExtension* MallocExtension::instance() { MallocExtension 211 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::Register(MallocExtension* implementation) { MallocExtension 286 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::GetHeapSample(MallocExtensionWriter* writer) { MallocExtension 310 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::GetHeapGrowthStacks(MallocExtensionWriter* writer) { MallocExtension 334 third_party/tcmalloc/vendor/src/malloc_extension.cc void MallocExtension::Ranges(void* arg, RangeFunction func) { MallocExtension 342 third_party/tcmalloc/vendor/src/malloc_extension.cc return MallocExtension::instance()->fn arglist; \ MallocExtension 371 third_party/tcmalloc/vendor/src/malloc_extension.cc MallocExtension::instance()->GetOwnership(p)); MallocExtension 259 third_party/tcmalloc/vendor/src/memfs_malloc.cc SysAllocator* alloc = MallocExtension::instance()->GetSystemAllocator(); MallocExtension 262 third_party/tcmalloc/vendor/src/memfs_malloc.cc MallocExtension::instance()->SetSystemAllocator(hp); MallocExtension 535 third_party/tcmalloc/vendor/src/tcmalloc.cc static void IterateOverRanges(void* arg, MallocExtension::RangeFunction func) { MallocExtension 564 third_party/tcmalloc/vendor/src/tcmalloc.cc class TCMallocImplementation : public MallocExtension { MallocExtension 604 third_party/tcmalloc/vendor/src/tcmalloc.cc MallocExtension::GetHeapSample(writer); MallocExtension 802 third_party/tcmalloc/vendor/src/tcmalloc.cc virtual void GetFreeListSizes(vector<MallocExtension::FreeListInfo>* v) { MallocExtension 817 third_party/tcmalloc/vendor/src/tcmalloc.cc MallocExtension::FreeListInfo i; MallocExtension 845 third_party/tcmalloc/vendor/src/tcmalloc.cc MallocExtension::FreeListInfo i; MallocExtension 864 third_party/tcmalloc/vendor/src/tcmalloc.cc MallocExtension::FreeListInfo span_info; MallocExtension 878 third_party/tcmalloc/vendor/src/tcmalloc.cc MallocExtension::FreeListInfo i; MallocExtension 924 third_party/tcmalloc/vendor/src/tcmalloc.cc MallocExtension::Register(new TCMallocImplementation); MallocExtension 1670 third_party/tcmalloc/vendor/src/tcmalloc.cc return MallocExtension::instance()->GetAllocatedSize(ptr); MallocExtension 55 third_party/tcmalloc/vendor/src/tests/current_allocated_bytes_test.cc MallocExtension::instance()->GetNumericProperty(kCurrent, &before_bytes); MallocExtension 57 third_party/tcmalloc/vendor/src/tests/current_allocated_bytes_test.cc MallocExtension::instance()->GetNumericProperty(kCurrent, &after_bytes); MallocExtension 233 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc CHECK(MallocExtension::instance()->GetNumericProperty( MallocExtension 264 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc EXPECT_EQ(i, MallocExtension::instance()->GetAllocatedSize(p)); MallocExtension 269 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc EXPECT_GE(MallocExtension::instance()->GetAllocatedSize(a), 1000); MallocExtension 271 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc EXPECT_LE(MallocExtension::instance()->GetAllocatedSize(a), 5000); MallocExtension 272 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc EXPECT_GE(MallocExtension::instance()->GetEstimatedAllocatedSize(1000), 1000); MallocExtension 67 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc MallocExtension::instance()->GetNumericProperty("tcmalloc.slack_bytes", MallocExtension 79 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc MallocExtension::instance()->GetNumericProperty("tcmalloc.slack_bytes", MallocExtension 90 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc MallocExtension::instance()->GetStats(buffer, kBufSize); MallocExtension 109 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc MallocExtension::instance()->GetNumericProperty("tcmalloc.slack_bytes", MallocExtension 265 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc CHECK(MallocExtension::instance()->VerifyAllMemory()); MallocExtension 269 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc if (MallocExtension::instance() MallocExtension 48 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_TRUE(MallocExtension::instance()->GetNumericProperty( MallocExtension 55 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_TRUE(MallocExtension::instance()->VerifyAllMemory()); MallocExtension 58 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_EQ(MallocExtension::kOwned, MallocExtension 59 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetOwnership(a)); MallocExtension 62 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_EQ(MallocExtension::kNotOwned, MallocExtension 63 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetOwnership(&cxx_bytes_used)); MallocExtension 64 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_EQ(MallocExtension::kNotOwned, MallocExtension 65 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetOwnership(NULL)); MallocExtension 66 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(a), 1000); MallocExtension 68 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_LE(MallocExtension::instance()->GetAllocatedSize(a), 5000); MallocExtension 69 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_GE(MallocExtension::instance()->GetEstimatedAllocatedSize(1000), 1000); MallocExtension 73 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(p), MallocExtension 74 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc MallocExtension::instance()->GetEstimatedAllocatedSize(i)); MallocExtension 90 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_EQ(static_cast<int>(MallocExtension::kUnknownOwnership), MallocExtension 92 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_EQ(static_cast<int>(MallocExtension::kOwned), MallocExtension 94 third_party/tcmalloc/vendor/src/tests/malloc_extension_test.cc ASSERT_EQ(static_cast<int>(MallocExtension::kNotOwned), MallocExtension 59 third_party/tcmalloc/vendor/src/tests/markidle_unittest.cc MallocExtension::instance()->MarkThreadIdle(); MallocExtension 68 third_party/tcmalloc/vendor/src/tests/markidle_unittest.cc MallocExtension::instance()->MarkThreadIdle(); MallocExtension 75 third_party/tcmalloc/vendor/src/tests/markidle_unittest.cc CHECK(MallocExtension::instance()->GetNumericProperty( MallocExtension 90 third_party/tcmalloc/vendor/src/tests/markidle_unittest.cc MallocExtension::instance()->MarkThreadIdle(); MallocExtension 74 third_party/tcmalloc/vendor/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapSample(&s); MallocExtension 78 third_party/tcmalloc/vendor/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapGrowthStacks(&s); MallocExtension 56 third_party/tcmalloc/vendor/src/tests/simple_compat_test.cc MallocExtension::Ownership malloc_extension_h; MallocExtension 99 third_party/tcmalloc/vendor/src/tests/system-alloc_unittest.cc MallocExtension::instance()->SetSystemAllocator(&a); MallocExtension 574 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension* inst = MallocExtension::instance(); MallocExtension 831 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->Ranges(&state, RangeCallback); MallocExtension 846 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 857 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc CHECK(MallocExtension::instance()->GetNumericProperty( MallocExtension 874 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 878 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 882 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB); MallocExtension 888 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/2); MallocExtension 892 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/4); MallocExtension 898 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/2); MallocExtension 902 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(MB/2); MallocExtension 906 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseFreeMemory(); MallocExtension 914 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc MallocExtension::instance()->ReleaseToSystem(1); MallocExtension 72 third_party/tcmalloc/vendor/src/tests/thread_dealloc_unittest.cc MallocExtension::instance()->GetStats(display, kDisplaySize); MallocExtension 65 third_party/tcmalloc/vendor/src/windows/override_functions.cc return MallocExtension::instance()->GetAllocatedSize(p);