Lines Matching refs:hash
163 __cpc_strhash_free(cpc_strhash_t *hash)
165 cpc_strhash_t *p = hash, *f;
175 * Insert a new key into the hash table.
184 __cpc_strhash_add(cpc_strhash_t *hash, char *key)
188 for (p = hash; p != NULL; p = p->next) {
197 tmp = hash->next;
198 hash->next = p;
204 hash->cur = p;
210 __cpc_strhash_next(cpc_strhash_t *hash)
214 if (hash->cur != NULL) {
215 p = hash->cur;
216 hash->cur = hash->cur->next;