Searched refs:ohash (Results 1 - 23 of 23) sorted by relevance

/freebsd-head/contrib/mandoc/
H A Dmandoc_ohash.h18 #include <ohash.h>
23 void mandoc_ohash_init(struct ohash *, unsigned int, ptrdiff_t);
H A Dcompat_ohash.h1 /* $OpenBSD: ohash.h,v 1.2 2014/06/02 18:52:03 deraadt Exp $ */
38 struct ohash { struct
52 void ohash_init(struct ohash *, unsigned, struct ohash_info *);
53 void ohash_delete(struct ohash *);
55 unsigned int ohash_lookup_interval(struct ohash *, const char *,
57 unsigned int ohash_lookup_memory(struct ohash *, const char *,
59 void *ohash_find(struct ohash *, unsigned int);
60 void *ohash_remove(struct ohash *, unsigned int);
61 void *ohash_insert(struct ohash *, unsigned int, void *);
62 void *ohash_first(struct ohash *, unsigne
[all...]
H A Droff_int.h21 struct ohash;
35 struct ohash *mdocmac; /* Mdoc macro lookup table. */
36 struct ohash *manmac; /* Man macro lookup table. */
79 struct ohash *roffhash_alloc(enum roff_tok, enum roff_tok);
80 enum roff_tok roffhash_find(struct ohash *, const char *, size_t);
81 void roffhash_free(struct ohash *);
H A Dtest-ohash.c4 #include <ohash.h>
31 struct ohash h;
H A Dcompat_ohash.c9 /* $OpenBSD: ohash.c,v 1.1 2014/06/02 18:52:03 deraadt Exp $ */
47 static void ohash_resize(struct ohash *);
71 ohash_delete(struct ohash *h)
80 ohash_resize(struct ohash *h)
128 ohash_remove(struct ohash *h, unsigned int i)
146 ohash_find(struct ohash *h, unsigned int i)
155 ohash_insert(struct ohash *h, unsigned int i, void *p)
173 ohash_entries(struct ohash *h)
179 ohash_first(struct ohash *h, unsigned int *pos)
186 ohash_next(struct ohash *
[all...]
H A Dmandoc_ohash.c31 mandoc_ohash_init(struct ohash *h, unsigned int sz, ptrdiff_t ko)
H A Dmansearch.c64 static struct ohash *manmerge(struct expr *, struct ohash *);
65 static struct ohash *manmerge_term(struct expr *, struct ohash *);
66 static struct ohash *manmerge_or(struct expr *, struct ohash *);
67 static struct ohash *manmerge_and(struct expr *, struct ohash *);
94 struct ohash *htab;
236 static struct ohash *
[all...]
H A Ddba.c55 *get_macro_entry(struct ohash *, const char *, int32_t);
57 static void dba_macro_write(struct ohash *);
67 struct ohash *macro;
86 struct ohash *macro;
341 get_macro_entry(struct ohash *macro, const char *value, int32_t np)
406 struct ohash *macro;
432 dba_macro_write(struct ohash *macro)
H A Dmandoc_xr.c29 static struct ohash *xr_hash = NULL;
H A Dchars.c428 static struct ohash mchars;
H A Dtag.c46 static struct ohash tag_data;
113 * Set up the ohash table to collect output line numbers
219 * information and clear the ohash table while going along.
H A Droff.h21 struct ohash;
H A Dmandocdb.c183 static struct ohash mpages; /* table of distinct manual pages */
184 static struct ohash mlinks; /* table of directory entries */
185 static struct ohash names; /* table of all names */
186 static struct ohash strings; /* table of all strings */
1796 struct ohash *htab;
H A Dhtml.c111 static struct ohash id_unique;
H A Droff.c113 struct ohash *reqtab; /* request lookup table */
634 struct ohash *
637 struct ohash *htab;
660 roffhash_free(struct ohash *htab)
675 roffhash_find(struct ohash *htab, const char *name, size_t sz)
H A DMakefile36 test-ohash.c \
/freebsd-head/lib/libopenbsd/
H A Dohash.h1 /* $OpenBSD: src/lib/libutil/ohash.h,v 1.2 2014/06/02 18:52:03 deraadt Exp $ */
42 struct ohash { struct
57 void ohash_init(struct ohash *, unsigned, struct ohash_info *);
58 void ohash_delete(struct ohash *);
60 unsigned int ohash_lookup_interval(struct ohash *, const char *,
62 unsigned int ohash_lookup_memory(struct ohash *, const char *,
64 void *ohash_find(struct ohash *, unsigned int);
65 void *ohash_remove(struct ohash *, unsigned int);
66 void *ohash_insert(struct ohash *, unsigned int, void *);
67 void *ohash_first(struct ohash *, unsigne
[all...]
H A DMakefile7 ohash.c
H A Dohash.c1 /* $OpenBSD: src/lib/libutil/ohash.c,v 1.1 2014/06/02 18:52:03 deraadt Exp $ */
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 *
[all...]
/freebsd-head/usr.bin/m4/
H A Dextern.h75 extern struct ohash macros;
H A Dlook.c51 #include <ohash.h>
69 struct ohash macros;
H A Dmain.c57 #include <ohash.h>
/freebsd-head/contrib/tnftp/src/
H A Dcmds.c2595 int ohash, orestart_point, overbose; local
2614 ohash = hash;
2619 hash = ohash;

Completed in 301 milliseconds