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