Lines Matching refs:hashtable
1 /* $FreeBSD: releng/10.2/usr.bin/grep/regex/hashtable.c 226035 2011-10-05 09:56:43Z gabor $ */
36 #include "hashtable.h"
61 hashtable
64 hashtable *tbl;
69 tbl = malloc(sizeof(hashtable));
93 * Places the key-value pair to the hashtable tbl.
105 hashtable_put(hashtable *tbl, const void *key, const void *value)
111 DPRINT(("hashtable_put: hashtable is full\n"));
179 **hashtable_lookup(const hashtable *tbl, const void *key)
207 hashtable_get(hashtable *tbl, const void *key, void *value)
214 DPRINT(("hashtable_get: entry is not available in the hashtable\n"));
229 hashtable_remove(hashtable *tbl, const void *key)
236 DPRINT(("hashtable_remove: entry is not available in the hashtable\n"));
254 hashtable_free(hashtable *tbl)