Home
last modified time | relevance | path

Searched refs:kHashTableSize (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/tcmalloc/chromium/src/
Dstack_trace_table.cc59 table_(new Bucket*[kHashTableSize]()) { in StackTraceTable()
60 memset(table_, 0, kHashTableSize * sizeof(Bucket*)); in StackTraceTable()
82 const int idx = h % kHashTableSize; in AddTrace()
126 for (int i = 0; i < kHashTableSize; ++i) { in ReadStackTracesAndClear()
146 for (int i = 0; i < kHashTableSize; ++i) { in ReadStackTracesAndClear()
Dstack_trace_table.h81 static const int kHashTableSize = 1 << 14; // => table_ is 128k
Dmemory_region_map.h78 static const int kHashTableSize = 179999; variable
406 for (int index = 0; index < kHashTableSize; index++) { in IterateBuckets()
Dheap-profile-table.cc105 static const int kHashTableSize = 179999; // Size for bucket_table_. variable
140 const int table_bytes = kHashTableSize * sizeof(*bucket_table_); in HeapProfileTable()
160 for (int i = 0; i < kHashTableSize; i++) { in ~HeapProfileTable()
185 unsigned int buck = ((unsigned int) h) % kHashTableSize; in GetBucket()
340 for (int i = 0; i < kHashTableSize; i++) { in MakeSortedBucketList()
Dmemory_region_map.cc226 const int table_bytes = kHashTableSize * sizeof(*bucket_table_); in Init()
251 for (int i = 0; i < kHashTableSize; i++) { in Shutdown()
390 unsigned int hash_index = (static_cast<unsigned int>(hash)) % kHashTableSize; in GetBucket()
505 static_cast<unsigned int>(bucket.hash) % kHashTableSize; in RestoreSavedBucketsLocked()
Ddeep-heap-profile.cc42 static const int kHashTableSize = 179999; // Same as heap-profile-table.cc. variable
311 deep_table_(kHashTableSize, heap_profile->alloc_, heap_profile->dealloc_), in DeepHeapProfile()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dstack_trace_table.cc59 table_(new Bucket*[kHashTableSize]()) { in StackTraceTable()
60 memset(table_, 0, kHashTableSize * sizeof(Bucket*)); in StackTraceTable()
82 const int idx = h % kHashTableSize; in AddTrace()
126 for (int i = 0; i < kHashTableSize; ++i) { in ReadStackTracesAndClear()
146 for (int i = 0; i < kHashTableSize; ++i) { in ReadStackTracesAndClear()
Dheap-profile-table.cc103 static const int kHashTableSize = 179999; variable
131 const int alloc_table_bytes = kHashTableSize * sizeof(*alloc_table_); in HeapProfileTable()
166 for (int b = 0; b < kHashTableSize; b++) { in DeallocateBucketTable()
192 unsigned int buck = ((unsigned int) h) % kHashTableSize; in GetBucket()
336 for (int b = 0; b < kHashTableSize; b++) { in MakeSortedBucketList()
344 for (int b = 0; b < kHashTableSize; b++) { in MakeSortedBucketList()
360 static const int mmap_table_bytes = kHashTableSize * sizeof(*mmap_table_); in RefreshMMapData()
Dstack_trace_table.h81 static const int kHashTableSize = 1 << 14; // => table_ is 128k