Home
last modified time | relevance | path

Searched refs:bucket_type (Results 1 – 5 of 5) sorted by relevance

/frameworks/compile/mclinker/include/mcld/ADT/
DHashBase.tcc97 m_Buckets = (bucket_type*)calloc(m_NumOfBuckets, sizeof(bucket_type)); in init()
128 bucket_type& bucket = m_Buckets[index]; in lookUpBucketFor()
130 if (bucket_type::getEmptyBucket() == bucket.Entry) { in lookUpBucketFor()
140 if (bucket_type::getTombstone() == bucket.Entry) { in lookUpBucketFor()
169 bucket_type& bucket = m_Buckets[index]; in findKey()
171 if (bucket_type::getEmptyBucket() == bucket.Entry) in findKey()
174 if (bucket_type::getTombstone() == bucket.Entry) { in findKey()
207 bucket_type* new_table = (bucket_type*)calloc(pNewSize, sizeof(bucket_type)); in doRehash()
211 for (bucket_type* IB = m_Buckets, * E = m_Buckets + m_NumOfBuckets; IB != E; in doRehash()
213 if (IB->Entry != bucket_type::getEmptyBucket() && in doRehash()
[all …]
DHashIterator.h25 typedef typename HashTableImplTy::bucket_type bucket_type; typedef
37 bucket_type& bucket = m_pHashTable->m_Buckets[m_Index]; in ChainIteratorBase()
38 if (bucket_type::getTombstone() == bucket.Entry) { in ChainIteratorBase()
71 inline bucket_type* getBucket() { in getBucket()
77 inline const bucket_type* getBucket() const { in getBucket()
116 bucket_type& bucket = m_pHashTable->m_Buckets[m_Index]; in advance()
118 if (bucket_type::getTombstone() == bucket.Entry || in advance()
119 bucket_type::getEmptyBucket() == bucket.Entry) { in advance()
158 typedef typename HashTableImplTy::bucket_type bucket_type; typedef
175 inline bucket_type* getBucket() { in getBucket()
[all …]
DHashTable.tcc29 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry && in ~HashTable()
30 bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in ~HashTable()
45 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry) { in clear()
46 if (bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in clear()
49 BaseTy::m_Buckets[i].Entry = bucket_type::getEmptyBucket(); in clear()
68 bucket_type& bucket = BaseTy::m_Buckets[index]; in insert()
70 if (bucket_type::getEmptyBucket() != entry && in insert()
71 bucket_type::getTombstone() != entry) { in insert()
78 if (bucket_type::getTombstone() == entry) in insert()
102 bucket_type& bucket = BaseTy::m_Buckets[index]; in erase()
[all …]
DHashBase.h73 typedef HashBucket<HashEntryTy> bucket_type; typedef
120 bucket_type* m_Buckets;
DHashTable.h42 typedef typename BaseTy::bucket_type bucket_type; typedef