Lines Matching defs:hash
162 __cpc_strhash_free(cpc_strhash_t *hash)
164 cpc_strhash_t *p = hash, *f;
174 * Insert a new key into the hash table.
183 __cpc_strhash_add(cpc_strhash_t *hash, char *key)
187 for (p = hash; p != NULL; p = p->next) {
196 tmp = hash->next;
197 hash->next = p;
203 hash->cur = p;
209 __cpc_strhash_next(cpc_strhash_t *hash)
213 if (hash->cur != NULL) {
214 p = hash->cur;
215 hash->cur = hash->cur->next;