Lines Matching refs:_buckets
72 _buckets = (HashKey**)calloc(_max, sizeof(HashKey*));
76 if (_buckets) { in ~HashList()
77 free(_buckets); in ~HashList()
78 _buckets = NULL; in ~HashList()
91 if (!key || !_buckets) { in HashInsert()
102 HashKey* next_item = _buckets[idx]; in HashInsert()
103 _buckets[idx] = key; in HashInsert()
113 if (!key || !_buckets) { in HashFind()
119 HashKey* item = _buckets[idx]; in HashFind()
151 if (!key || !_buckets) { in HashRemove()
157 HashKey* item = _buckets[idx]; in HashRemove()
163 _buckets[idx] = item->_next_entry; in HashRemove()
179 if (!_buckets) { in HashForeach()
184 HashKey* item = _buckets[i]; in HashForeach()
195 if (!_buckets) { in HashGetFirst()
200 if (_buckets[i]) { in HashGetFirst()
201 return _buckets[i]; in HashGetFirst()
236 HashKey** _buckets;