Lines Matching refs:HashKey
36 class HashKey
39 HashKey* _next_entry;
47 HashKey():_next_entry(NULL), _hash_value(0), _data_ptr(NULL) {}; in HashKey() function
48 virtual ~HashKey(){}; in ~HashKey()
52 virtual int HashCmp(HashKey* rhs) = 0;
72 _buckets = (HashKey**)calloc(_max, sizeof(HashKey*));
90 int HashInsert(HashKey* key) { in HashInsert()
102 HashKey* next_item = _buckets[idx]; in HashInsert()
112 HashKey* HashFind(HashKey* key) { in HashFind()
119 HashKey* item = _buckets[idx]; in HashFind()
137 void* HashFindData(HashKey* key) { in HashFindData()
138 HashKey* item = HashFind(key); in HashFindData()
150 void HashRemove(HashKey* key) { in HashRemove()
157 HashKey* item = _buckets[idx]; in HashRemove()
158 HashKey* prev = NULL; in HashRemove()
184 HashKey* item = _buckets[i]; in HashForeach()
194 HashKey* HashGetFirst() { in HashGetFirst()
236 HashKey** _buckets;