Lines Matching refs:ValueType
32 typedef Foo ValueType;
76 typedef typename Definition::ValueType ValueType;
134 ValueType* Lookup(const KeyType& key) const
140 ValueType* slot = fTable[index];
151 status_t Insert(ValueType* value)
163 void InsertUnchecked(ValueType* value)
177 // TODO: a ValueType* Remove(const KeyType& key) method is missing
179 bool Remove(ValueType* value)
191 bool RemoveUnchecked(ValueType* value)
194 ValueType* previous = NULL;
195 ValueType* slot = fTable[index];
198 ValueType* next = _Link(slot);
231 ValueType* Clear(bool returnElements = false)
236 ValueType* result = NULL;
239 ValueType** nextPointer = &result;
243 ValueType* element = fTable[i];
258 memset(this->fTable, 0, sizeof(ValueType*) * this->fTableSize);
286 return size * sizeof(ValueType*);
307 _Resize((ValueType**)allocation, size / sizeof(ValueType*), oldTable);
319 Iterator(const HashTable* table, size_t index, ValueType* value)
324 ValueType* Next()
326 ValueType* current = fNext;
353 ValueType* fNext;
367 ValueType* slot = fTable[index];
385 void _Insert(ValueType** table, size_t tableSize, ValueType* value)
395 ValueType** newTable
396 = (ValueType**)fAllocator.Allocate(sizeof(ValueType*) * newSize);
404 void _Resize(ValueType** newTable, size_t newSize, void** _oldTable = NULL)
411 ValueType* bucket = fTable[i];
413 ValueType* next = _Link(bucket);
430 ValueType*& _Link(ValueType* bucket) const
435 bool _ExhaustiveSearch(ValueType* value) const
438 ValueType* bucket = fTable[i];
453 ValueType** fTable;