Lines Matching refs:item
119 HashKey* item = _buckets[idx]; in HashFind() local
121 for (; item != NULL; item = item->_next_entry) { in HashFind()
122 if (item->_hash_value != hash) { in HashFind()
126 if (item->HashCmp(key) == 0) { in HashFind()
131 return item; in HashFind()
138 HashKey* item = HashFind(key); in HashFindData() local
139 if (!item) { in HashFindData()
142 return item->_data_ptr; in HashFindData()
157 HashKey* item = _buckets[idx]; in HashRemove() local
160 for (; item != NULL; prev = item, item = item->_next_entry) { in HashRemove()
161 if ((item->_hash_value == hash) && (item->HashCmp(key) == 0)){ in HashRemove()
163 _buckets[idx] = item->_next_entry; in HashRemove()
165 prev->_next_entry = item->_next_entry; in HashRemove()
167 item->_hash_value = 0; in HashRemove()
168 item->_next_entry = NULL; in HashRemove()
184 HashKey* item = _buckets[i]; in HashForeach() local
185 for (; item != NULL; item = item->_next_entry) { in HashForeach()
186 item->HashIterate(); in HashForeach()