Home
last modified time | relevance | path

Searched refs:ByteSizeForClass (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/tcmalloc/vendor/src/
Dcentral_freelist.cc64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); in Init()
125 Static::sizemap()->ByteSizeForClass(span->sizeclass)); in ReleaseToSpans()
133 Static::sizemap()->ByteSizeForClass(span->sizeclass)); in ReleaseToSpans()
340 const size_t size = Static::sizemap()->ByteSizeForClass(size_class_); in Populate()
Dtcmalloc.cc325 Static::sizemap()->ByteSizeForClass(cl)); in ExtractStats()
423 class_count[cl] * Static::sizemap()->ByteSizeForClass(cl); in DumpStats()
427 cl, Static::sizemap()->ByteSizeForClass(cl), in DumpStats()
771 const size_t alloc_size = Static::sizemap()->ByteSizeForClass(cl); in GetEstimatedAllocatedSize()
816 size_t class_size = Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
831 prev_class_size = Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
847 i.max_object_size = Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
849 class_count[cl] * Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
1186 return Static::sizemap()->ByteSizeForClass(cl); in GetSizeWithCallback()
1193 return Static::sizemap()->ByteSizeForClass(span->sizeclass); in GetSizeWithCallback()
Dthread_cache.h337 ASSERT(size == Static::sizemap()->ByteSizeForClass(cl)); in Allocate()
349 size_ += Static::sizemap()->ByteSizeForClass(cl); in Deallocate()
Dcommon.h202 inline size_t ByteSizeForClass(size_t cl) { in ByteSizeForClass() function
Dcommon.cc186 num_objects_to_move_[cl] = NumMoveSize(ByteSizeForClass(cl)); in Init()
Dthread_cache.cc219 size_t delta_bytes = N * Static::sizemap()->ByteSizeForClass(cl); in ReleaseToCentralCache()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dcentral_freelist.cc64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); in Init()
125 Static::sizemap()->ByteSizeForClass(span->sizeclass)); in ReleaseToSpans()
133 Static::sizemap()->ByteSizeForClass(span->sizeclass)); in ReleaseToSpans()
337 const size_t size = Static::sizemap()->ByteSizeForClass(size_class_); in Populate()
Dthread_cache.h364 ASSERT(size == Static::sizemap()->ByteSizeForClass(cl)); in Allocate()
376 size_ += Static::sizemap()->ByteSizeForClass(cl); in Deallocate()
Dtcmalloc.cc334 Static::sizemap()->ByteSizeForClass(cl)); in ExtractStats()
451 class_count[cl] * Static::sizemap()->ByteSizeForClass(cl); in DumpStats()
455 cl, Static::sizemap()->ByteSizeForClass(cl), in DumpStats()
778 const size_t alloc_size = Static::sizemap()->ByteSizeForClass(cl); in GetEstimatedAllocatedSize()
823 size_t class_size = Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
838 prev_class_size = Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
854 i.max_object_size = Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
856 class_count[cl] * Static::sizemap()->ByteSizeForClass(cl); in GetFreeListSizes()
1221 return Static::sizemap()->ByteSizeForClass(cl); in GetSizeWithCallback()
1228 return Static::sizemap()->ByteSizeForClass(span->sizeclass); in GetSizeWithCallback()
Dcommon.h219 inline size_t ByteSizeForClass(size_t cl) { in ByteSizeForClass() function
Dcommon.cc190 num_objects_to_move_[cl] = NumMoveSize(ByteSizeForClass(cl)); in Init()
Dthread_cache.cc225 size_t delta_bytes = N * Static::sizemap()->ByteSizeForClass(cl); in ReleaseToCentralCache()
/external/chromium_org/third_party/WebKit/Source/wtf/
DFastMalloc.cpp693 static ALWAYS_INLINE size_t ByteSizeForClass(size_t cl) { in ByteSizeForClass() function
822 num_objects_to_move[cl] = NumMoveSize(ByteSizeForClass(cl)); in InitSizeClasses()
950 return ByteSizeForClass(SizeClass(bytes)); in AllocationSize()
2604 (span->length<<kPageShift)/ByteSizeForClass(span->sizeclass)); in ReleaseToSpans()
2611 counter_ -= (span->length<<kPageShift) / ByteSizeForClass(span->sizeclass); in ReleaseToSpans()
2812 const size_t size = ByteSizeForClass(size_class_); in Populate()
2898 size_t allocationSize = ByteSizeForClass(cl); in Allocate()
2913 size_t allocationSize = ByteSizeForClass(cl); in Deallocate()
2942 size_ -= N*ByteSizeForClass(cl); in ReleaseToCentralCache()
3246 ByteSizeForClass(cl), in CreateCacheIfNecessary()
[all …]