Home
last modified time | relevance | path

Searched refs:TKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/include/utils/
DBasicHashtable.h169 template <typename TKey, typename TEntry>
196 inline BasicHashtable<TKey, TEntry>& operator =(const BasicHashtable<TKey, TEntry> & other) {
279 inline ssize_t find(ssize_t index, hash_t hash, const TKey& key) const { in find()
352 template <typename TKey, typename TEntry>
353 BasicHashtable<TKey, TEntry>::BasicHashtable(size_t minimumInitialCapacity, float loadFactor) : in BasicHashtable()
358 template <typename TKey, typename TEntry>
359 BasicHashtable<TKey, TEntry>::BasicHashtable(const BasicHashtable<TKey, TEntry>& other) : in BasicHashtable() argument
363 template <typename TKey, typename TEntry>
364 BasicHashtable<TKey, TEntry>::~BasicHashtable() { in ~BasicHashtable()
368 template <typename TKey, typename TEntry>
[all …]
DTypeHelpers.h268 template <typename TKey>
269 hash_t hash_type(const TKey& key);
/frameworks/native/libs/utils/tests/
DBasicHashtable_test.cpp106 template <typename TKey, typename TEntry>
107 static void cookieAt(const BasicHashtable<TKey, TEntry>& h, size_t index, in cookieAt() argument
110 *collision = cookie & BasicHashtable<TKey, TEntry>::Bucket::COLLISION; in cookieAt()
111 *present = cookie & BasicHashtable<TKey, TEntry>::Bucket::PRESENT; in cookieAt()
112 *hash = cookie & BasicHashtable<TKey, TEntry>::Bucket::HASH_MASK; in cookieAt()
115 template <typename TKey, typename TEntry>
116 static const void* getBuckets(const BasicHashtable<TKey, TEntry>& h) { in getBuckets() argument
121 template <typename TKey, typename TValue>
122 static size_t add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, in add() argument
123 const TKey& key, const TValue& value) { in add()
[all …]