Lines Matching refs:ohash
1 /* $OpenBSD: src/lib/libutil/ohash.c,v 1.1 2014/06/02 18:52:03 deraadt Exp $ */
19 __FBSDID("$FreeBSD: releng/11.0/lib/libopenbsd/ohash.c 269162 2014-07-27 22:54:13Z bapt $");
26 #include "ohash.h"
40 static void ohash_resize(struct ohash *);
64 ohash_delete(struct ohash *h)
73 ohash_resize(struct ohash *h)
121 ohash_remove(struct ohash *h, unsigned int i)
139 ohash_find(struct ohash *h, unsigned int i)
148 ohash_insert(struct ohash *h, unsigned int i, void *p)
166 ohash_entries(struct ohash *h)
172 ohash_first(struct ohash *h, unsigned int *pos)
179 ohash_next(struct ohash *h, unsigned int *pos)
188 ohash_init(struct ohash *h, unsigned int size, struct ohash_info *info)
225 ohash_lookup_interval(struct ohash *h, const char *start, const char *end,
273 ohash_lookup_memory(struct ohash *h, const char *k, size_t size, uint32_t hv)
317 ohash_qlookup(struct ohash *h, const char *s)
324 ohash_qlookupi(struct ohash *h, const char *s, const char **e)