MallocBlock 201 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlockQueueEntry(MallocBlock* b, size_t s) : block(b), size(s) { MallocBlock 218 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock* block; MallocBlock 347 third_party/tcmalloc/chromium/src/debugallocation.cc return size + sizeof(MallocBlock); MallocBlock 350 third_party/tcmalloc/chromium/src/debugallocation.cc return size + MallocBlock::data_offset(); MallocBlock 450 third_party/tcmalloc/chromium/src/debugallocation.cc if ((alloc_type_ != MallocBlock::kMallocType) && MallocBlock 451 third_party/tcmalloc/chromium/src/debugallocation.cc (alloc_type_ != MallocBlock::kNewType) && MallocBlock 452 third_party/tcmalloc/chromium/src/debugallocation.cc (alloc_type_ != MallocBlock::kArrayNewType)) { MallocBlock 473 third_party/tcmalloc/chromium/src/debugallocation.cc static size_t data_offset() { return OFFSETOF_MEMBER(MallocBlock, size2_); } MallocBlock 481 third_party/tcmalloc/chromium/src/debugallocation.cc static MallocBlock* Allocate(size_t size, int type) { MallocBlock 488 third_party/tcmalloc/chromium/src/debugallocation.cc if (size > max_size_t - sizeof(MallocBlock)) { MallocBlock 492 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock* b = NULL; MallocBlock 515 third_party/tcmalloc/chromium/src/debugallocation.cc b = (MallocBlock*) (p + (num_pages - 1) * pagesize - sz); MallocBlock 517 third_party/tcmalloc/chromium/src/debugallocation.cc b = (MallocBlock*) (type == kMallocType ? MallocBlock 522 third_party/tcmalloc/chromium/src/debugallocation.cc b = (MallocBlock*) (type == kMallocType ? MallocBlock 571 third_party/tcmalloc/chromium/src/debugallocation.cc static void ProcessFreeQueue(MallocBlock* b, size_t size, MallocBlock 674 third_party/tcmalloc/chromium/src/debugallocation.cc const MallocBlock* b = queue_entry.block; MallocBlock 717 third_party/tcmalloc/chromium/src/debugallocation.cc static MallocBlock* FromRawPointer(void* p) { MallocBlock 718 third_party/tcmalloc/chromium/src/debugallocation.cc const size_t data_offset = MallocBlock::data_offset(); MallocBlock 720 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock *mb = reinterpret_cast<MallocBlock *>( MallocBlock 733 third_party/tcmalloc/chromium/src/debugallocation.cc return reinterpret_cast<MallocBlock *>( MallocBlock 736 third_party/tcmalloc/chromium/src/debugallocation.cc static const MallocBlock* FromRawPointer(const void* p) { MallocBlock 745 third_party/tcmalloc/chromium/src/debugallocation.cc const MallocBlock* mb = reinterpret_cast<const MallocBlock*>( MallocBlock 746 third_party/tcmalloc/chromium/src/debugallocation.cc reinterpret_cast<const char*>(p) - MallocBlock::data_offset()); MallocBlock 794 third_party/tcmalloc/chromium/src/debugallocation.cc const MallocBlock* b = FromRawPointer(ptr); MallocBlock 814 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock::ProcessFreeQueue(NULL, 0, 0); MallocBlock 819 third_party/tcmalloc/chromium/src/debugallocation.cc const int MallocBlock::kMagicMalloc; MallocBlock 820 third_party/tcmalloc/chromium/src/debugallocation.cc const int MallocBlock::kMagicMMap; MallocBlock 822 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock::AllocMap* MallocBlock::alloc_map_ = NULL; MallocBlock 823 third_party/tcmalloc/chromium/src/debugallocation.cc SpinLock MallocBlock::alloc_map_lock_(SpinLock::LINKER_INITIALIZED); MallocBlock 825 third_party/tcmalloc/chromium/src/debugallocation.cc FreeQueue<MallocBlockQueueEntry>* MallocBlock::free_queue_ = NULL; MallocBlock 826 third_party/tcmalloc/chromium/src/debugallocation.cc size_t MallocBlock::free_queue_size_ = 0; MallocBlock 827 third_party/tcmalloc/chromium/src/debugallocation.cc SpinLock MallocBlock::free_queue_lock_(SpinLock::LINKER_INITIALIZED); MallocBlock 829 third_party/tcmalloc/chromium/src/debugallocation.cc unsigned char MallocBlock::kMagicDeletedBuffer[1024]; MallocBlock 830 third_party/tcmalloc/chromium/src/debugallocation.cc pthread_once_t MallocBlock::deleted_buffer_initialized_ = PTHREAD_ONCE_INIT; MallocBlock 831 third_party/tcmalloc/chromium/src/debugallocation.cc bool MallocBlock::deleted_buffer_initialized_no_pthreads_ = false; MallocBlock 833 third_party/tcmalloc/chromium/src/debugallocation.cc const char* const MallocBlock::kAllocName[] = { MallocBlock 840 third_party/tcmalloc/chromium/src/debugallocation.cc const char* const MallocBlock::kDeallocName[] = { MallocBlock 847 third_party/tcmalloc/chromium/src/debugallocation.cc int MallocBlock::stats_blocks_; MallocBlock 848 third_party/tcmalloc/chromium/src/debugallocation.cc size_t MallocBlock::stats_total_; MallocBlock 849 third_party/tcmalloc/chromium/src/debugallocation.cc int* MallocBlock::stats_histogram_; MallocBlock 994 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock* ptr = MallocBlock::Allocate(size, type); MallocBlock 1002 third_party/tcmalloc/chromium/src/debugallocation.cc (ptr != 0 ? MallocBlock::FromRawPointer(ptr)->data_size() : 0), MallocBlock 1004 third_party/tcmalloc/chromium/src/debugallocation.cc if (ptr) MallocBlock::FromRawPointer(ptr)->Deallocate(type); MallocBlock 1017 third_party/tcmalloc/chromium/src/debugallocation.cc size_t qsize = MallocBlock::FreeQueueSize(); MallocBlock 1026 third_party/tcmalloc/chromium/src/debugallocation.cc if (p) MallocBlock::FromRawPointer(p)->Check(MallocBlock::kNewType); MallocBlock 1031 third_party/tcmalloc/chromium/src/debugallocation.cc if (p) MallocBlock::FromRawPointer(p)->Check(MallocBlock::kArrayNewType); MallocBlock 1036 third_party/tcmalloc/chromium/src/debugallocation.cc if (p) MallocBlock::FromRawPointer(p)->Check(MallocBlock::kMallocType); MallocBlock 1041 third_party/tcmalloc/chromium/src/debugallocation.cc return MallocBlock::CheckEverything(); MallocBlock 1046 third_party/tcmalloc/chromium/src/debugallocation.cc return MallocBlock::MemoryStats(blocks, total, histogram); MallocBlock 1057 third_party/tcmalloc/chromium/src/debugallocation.cc return MallocBlock::FromRawPointer(p)->data_size(); MallocBlock 1064 third_party/tcmalloc/chromium/src/debugallocation.cc const MallocBlock* mb = MallocBlock::FromRawPointer(p); MallocBlock 1079 third_party/tcmalloc/chromium/src/debugallocation.cc i.total_bytes_free = MallocBlock::FreeQueueSize(); MallocBlock 1160 third_party/tcmalloc/chromium/src/debugallocation.cc return tc_new_mode ? debug_cpp_alloc(size, MallocBlock::kMallocType, true) MallocBlock 1161 third_party/tcmalloc/chromium/src/debugallocation.cc : DebugAllocate(size, MallocBlock::kMallocType); MallocBlock 1174 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1190 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1199 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock* old = MallocBlock::FromRawPointer(ptr); MallocBlock 1200 third_party/tcmalloc/chromium/src/debugallocation.cc old->Check(MallocBlock::kMallocType); MallocBlock 1201 third_party/tcmalloc/chromium/src/debugallocation.cc if (MallocBlock::IsMemaligned(ptr)) { MallocBlock 1208 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1211 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock* p = MallocBlock::Allocate(size, MallocBlock::kMallocType); MallocBlock 1221 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1227 third_party/tcmalloc/chromium/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kNewType, false); MallocBlock 1236 third_party/tcmalloc/chromium/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kNewType, true); MallocBlock 1243 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kNewType); MallocBlock 1250 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kNewType); MallocBlock 1254 third_party/tcmalloc/chromium/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kArrayNewType, false); MallocBlock 1264 third_party/tcmalloc/chromium/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kArrayNewType, true); MallocBlock 1271 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kArrayNewType); MallocBlock 1278 third_party/tcmalloc/chromium/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kArrayNewType); MallocBlock 1293 third_party/tcmalloc/chromium/src/debugallocation.cc const size_t data_offset = MallocBlock::data_offset(); MallocBlock 1298 third_party/tcmalloc/chromium/src/debugallocation.cc p = DebugAllocate(size + extra_bytes, MallocBlock::kMallocType); MallocBlock 1306 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlock *fake_hdr = reinterpret_cast<MallocBlock *>( MallocBlock 1436 third_party/tcmalloc/chromium/src/debugallocation.cc void* result = DebugAllocate(size, MallocBlock::kMallocType); MallocBlock 203 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlockQueueEntry(MallocBlock* b, size_t s) : block(b), size(s) { MallocBlock 220 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock* block; MallocBlock 349 third_party/tcmalloc/vendor/src/debugallocation.cc return size + sizeof(MallocBlock); MallocBlock 352 third_party/tcmalloc/vendor/src/debugallocation.cc return size + MallocBlock::data_offset(); MallocBlock 452 third_party/tcmalloc/vendor/src/debugallocation.cc if ((alloc_type_ != MallocBlock::kMallocType) && MallocBlock 453 third_party/tcmalloc/vendor/src/debugallocation.cc (alloc_type_ != MallocBlock::kNewType) && MallocBlock 454 third_party/tcmalloc/vendor/src/debugallocation.cc (alloc_type_ != MallocBlock::kArrayNewType)) { MallocBlock 475 third_party/tcmalloc/vendor/src/debugallocation.cc static size_t data_offset() { return OFFSETOF_MEMBER(MallocBlock, size2_); } MallocBlock 483 third_party/tcmalloc/vendor/src/debugallocation.cc static MallocBlock* Allocate(size_t size, int type) { MallocBlock 490 third_party/tcmalloc/vendor/src/debugallocation.cc if (size > max_size_t - sizeof(MallocBlock)) { MallocBlock 494 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock* b = NULL; MallocBlock 517 third_party/tcmalloc/vendor/src/debugallocation.cc b = (MallocBlock*) (p + (num_pages - 1) * pagesize - sz); MallocBlock 519 third_party/tcmalloc/vendor/src/debugallocation.cc b = (MallocBlock*) (type == kMallocType ? MallocBlock 524 third_party/tcmalloc/vendor/src/debugallocation.cc b = (MallocBlock*) (type == kMallocType ? MallocBlock 573 third_party/tcmalloc/vendor/src/debugallocation.cc static void ProcessFreeQueue(MallocBlock* b, size_t size, MallocBlock 678 third_party/tcmalloc/vendor/src/debugallocation.cc const MallocBlock* b = queue_entry.block; MallocBlock 721 third_party/tcmalloc/vendor/src/debugallocation.cc static MallocBlock* FromRawPointer(void* p) { MallocBlock 722 third_party/tcmalloc/vendor/src/debugallocation.cc const size_t data_offset = MallocBlock::data_offset(); MallocBlock 724 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock *mb = reinterpret_cast<MallocBlock *>( MallocBlock 737 third_party/tcmalloc/vendor/src/debugallocation.cc return reinterpret_cast<MallocBlock *>( MallocBlock 740 third_party/tcmalloc/vendor/src/debugallocation.cc static const MallocBlock* FromRawPointer(const void* p) { MallocBlock 787 third_party/tcmalloc/vendor/src/debugallocation.cc const MallocBlock* b = FromRawPointer(ptr); MallocBlock 807 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock::ProcessFreeQueue(NULL, 0, 0); MallocBlock 812 third_party/tcmalloc/vendor/src/debugallocation.cc const int MallocBlock::kMagicMalloc; MallocBlock 813 third_party/tcmalloc/vendor/src/debugallocation.cc const int MallocBlock::kMagicMMap; MallocBlock 815 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock::AllocMap* MallocBlock::alloc_map_ = NULL; MallocBlock 816 third_party/tcmalloc/vendor/src/debugallocation.cc SpinLock MallocBlock::alloc_map_lock_(SpinLock::LINKER_INITIALIZED); MallocBlock 818 third_party/tcmalloc/vendor/src/debugallocation.cc FreeQueue<MallocBlockQueueEntry>* MallocBlock::free_queue_ = NULL; MallocBlock 819 third_party/tcmalloc/vendor/src/debugallocation.cc size_t MallocBlock::free_queue_size_ = 0; MallocBlock 820 third_party/tcmalloc/vendor/src/debugallocation.cc SpinLock MallocBlock::free_queue_lock_(SpinLock::LINKER_INITIALIZED); MallocBlock 822 third_party/tcmalloc/vendor/src/debugallocation.cc unsigned char MallocBlock::kMagicDeletedBuffer[1024]; MallocBlock 823 third_party/tcmalloc/vendor/src/debugallocation.cc pthread_once_t MallocBlock::deleted_buffer_initialized_ = PTHREAD_ONCE_INIT; MallocBlock 824 third_party/tcmalloc/vendor/src/debugallocation.cc bool MallocBlock::deleted_buffer_initialized_no_pthreads_ = false; MallocBlock 826 third_party/tcmalloc/vendor/src/debugallocation.cc const char* const MallocBlock::kAllocName[] = { MallocBlock 833 third_party/tcmalloc/vendor/src/debugallocation.cc const char* const MallocBlock::kDeallocName[] = { MallocBlock 840 third_party/tcmalloc/vendor/src/debugallocation.cc int MallocBlock::stats_blocks_; MallocBlock 841 third_party/tcmalloc/vendor/src/debugallocation.cc size_t MallocBlock::stats_total_; MallocBlock 842 third_party/tcmalloc/vendor/src/debugallocation.cc int* MallocBlock::stats_histogram_; MallocBlock 987 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock* ptr = MallocBlock::Allocate(size, type); MallocBlock 995 third_party/tcmalloc/vendor/src/debugallocation.cc (ptr != 0 ? MallocBlock::FromRawPointer(ptr)->data_size() : 0), MallocBlock 997 third_party/tcmalloc/vendor/src/debugallocation.cc if (ptr) MallocBlock::FromRawPointer(ptr)->Deallocate(type); MallocBlock 1010 third_party/tcmalloc/vendor/src/debugallocation.cc size_t qsize = MallocBlock::FreeQueueSize(); MallocBlock 1019 third_party/tcmalloc/vendor/src/debugallocation.cc if (p) MallocBlock::FromRawPointer(p)->Check(MallocBlock::kNewType); MallocBlock 1024 third_party/tcmalloc/vendor/src/debugallocation.cc if (p) MallocBlock::FromRawPointer(p)->Check(MallocBlock::kArrayNewType); MallocBlock 1029 third_party/tcmalloc/vendor/src/debugallocation.cc if (p) MallocBlock::FromRawPointer(p)->Check(MallocBlock::kMallocType); MallocBlock 1034 third_party/tcmalloc/vendor/src/debugallocation.cc return MallocBlock::CheckEverything(); MallocBlock 1039 third_party/tcmalloc/vendor/src/debugallocation.cc return MallocBlock::MemoryStats(blocks, total, histogram); MallocBlock 1050 third_party/tcmalloc/vendor/src/debugallocation.cc return MallocBlock::FromRawPointer(p)->data_size(); MallocBlock 1057 third_party/tcmalloc/vendor/src/debugallocation.cc const MallocBlock* mb = MallocBlock::FromRawPointer(p); MallocBlock 1072 third_party/tcmalloc/vendor/src/debugallocation.cc i.total_bytes_free = MallocBlock::FreeQueueSize(); MallocBlock 1153 third_party/tcmalloc/vendor/src/debugallocation.cc return tc_new_mode ? debug_cpp_alloc(size, MallocBlock::kMallocType, true) MallocBlock 1154 third_party/tcmalloc/vendor/src/debugallocation.cc : DebugAllocate(size, MallocBlock::kMallocType); MallocBlock 1167 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1183 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1194 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1197 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock* old = MallocBlock::FromRawPointer(ptr); MallocBlock 1198 third_party/tcmalloc/vendor/src/debugallocation.cc old->Check(MallocBlock::kMallocType); MallocBlock 1199 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock* p = MallocBlock::Allocate(size, MallocBlock::kMallocType); MallocBlock 1209 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(ptr, MallocBlock::kMallocType); MallocBlock 1215 third_party/tcmalloc/vendor/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kNewType, false); MallocBlock 1224 third_party/tcmalloc/vendor/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kNewType, true); MallocBlock 1231 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kNewType); MallocBlock 1238 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kNewType); MallocBlock 1242 third_party/tcmalloc/vendor/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kArrayNewType, false); MallocBlock 1252 third_party/tcmalloc/vendor/src/debugallocation.cc void* ptr = debug_cpp_alloc(size, MallocBlock::kArrayNewType, true); MallocBlock 1259 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kArrayNewType); MallocBlock 1266 third_party/tcmalloc/vendor/src/debugallocation.cc DebugDeallocate(p, MallocBlock::kArrayNewType); MallocBlock 1281 third_party/tcmalloc/vendor/src/debugallocation.cc const size_t data_offset = MallocBlock::data_offset(); MallocBlock 1286 third_party/tcmalloc/vendor/src/debugallocation.cc p = DebugAllocate(size + extra_bytes, MallocBlock::kMallocType); MallocBlock 1294 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlock *fake_hdr = reinterpret_cast<MallocBlock *>(