Lines Matching refs:hash
161 __cpc_strhash_free(cpc_strhash_t *hash) in __cpc_strhash_free() argument
163 cpc_strhash_t *p = hash, *f; in __cpc_strhash_free()
182 __cpc_strhash_add(cpc_strhash_t *hash, char *key) in __cpc_strhash_add() argument
186 for (p = hash; p != NULL; p = p->next) { in __cpc_strhash_add()
195 tmp = hash->next; in __cpc_strhash_add()
196 hash->next = p; in __cpc_strhash_add()
202 hash->cur = p; in __cpc_strhash_add()
208 __cpc_strhash_next(cpc_strhash_t *hash) in __cpc_strhash_next() argument
212 if (hash->cur != NULL) { in __cpc_strhash_next()
213 p = hash->cur; in __cpc_strhash_next()
214 hash->cur = hash->cur->next; in __cpc_strhash_next()