Home
last modified time | relevance | path

Searched refs:ohash (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/mandoc/
H A Dcompat_ohash.h38 struct ohash { struct
52 void ohash_init(struct ohash *, unsigned, struct ohash_info *); argument
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 *, unsigned int *);
63 void *ohash_next(struct ohash *, unsigned int *);
[all …]
H A Droff_int.h21 struct ohash;
35 struct ohash *mdocmac; /* Mdoc macro lookup table. */
36 struct ohash *manmac; /* Man macro lookup table. */
81 struct ohash *roffhash_alloc(enum roff_tok, enum roff_tok);
82 enum roff_tok roffhash_find(struct ohash *, const char *, size_t);
83 void roffhash_free(struct ohash *);
H A Dcompat_ohash.c40 static void ohash_resize(struct ohash *);
64 ohash_delete(struct ohash *h) in ohash_delete()
73 ohash_resize(struct ohash *h) in ohash_resize()
121 ohash_remove(struct ohash *h, unsigned int i) in ohash_remove()
139 ohash_find(struct ohash *h, unsigned int i) in ohash_find()
148 ohash_insert(struct ohash *h, unsigned int i, void *p) in ohash_insert()
166 ohash_entries(struct ohash *h) in ohash_entries()
172 ohash_first(struct ohash *h, unsigned int *pos) in ohash_first()
179 ohash_next(struct ohash *h, unsigned int *pos) in ohash_next()
188 ohash_init(struct ohash *h, unsigned int size, struct ohash_info *info) in ohash_init()
[all …]
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; in mansearch()
236 static struct ohash *
237 manmerge(struct expr *e, struct ohash *htab) in manmerge()
251 static struct ohash *
252 manmerge_term(struct expr *e, struct ohash *htab) in manmerge_term()
310 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; in dba_new()
86 struct ohash *macro; in dba_free()
341 get_macro_entry(struct ohash *macro, const char *value, int32_t np) in get_macro_entry()
406 struct ohash *macro; in dba_macros_write()
432 dba_macro_write(struct ohash *macro) in dba_macro_write()
H A Dmandoc_ohash.h23 void mandoc_ohash_init(struct ohash *, unsigned int, ptrdiff_t);
H A Dtest-ohash.c31 struct ohash h; in main()
H A Dmandoc_ohash.c33 mandoc_ohash_init(struct ohash *h, unsigned int sz, ptrdiff_t ko) in mandoc_ohash_init()
H A Dchars.c428 static struct ohash mchars;
H A Dmandoc_xr.c31 static struct ohash *xr_hash = NULL;
H A Dtag.c53 static struct ohash tag_data;
H A Dmandocdb.c189 static struct ohash mpages; /* table of distinct manual pages */
190 static struct ohash mlinks; /* table of directory entries */
191 static struct ohash names; /* table of all names */
192 static struct ohash strings; /* table of all strings */
1857 struct ohash *htab; in putkeys()
H A Dmandoc_dbg.c54 static struct ohash dhash_table;
H A Droff.h21 struct ohash;
H A Dconfigure403 runtest ohash OHASH "${LD_OHASH}" "-lutil" || true
H A Dconfigure.local.example180 # Before falling back to the bundled version of the ohash(3) hashing
182 # link against your system version. If you do have ohash(3) on
H A DINSTALL114 3. Marc Espie's ohash(3) library.
H A Droff.c107 struct ohash *reqtab; /* request lookup table */
636 struct ohash *
639 struct ohash *htab; in roffhash_alloc()
662 roffhash_free(struct ohash *htab) in roffhash_free()
677 roffhash_find(struct ohash *htab, const char *name, size_t sz) in roffhash_find()
H A DMakefile38 test-ohash.c \
/freebsd/lib/libopenbsd/
H A Dohash.h40 struct ohash { struct
55 void ohash_init(struct ohash *, unsigned, struct ohash_info *); argument
56 void ohash_delete(struct ohash *);
58 unsigned int ohash_lookup_interval(struct ohash *, const char *,
60 unsigned int ohash_lookup_memory(struct ohash *, const char *,
62 void *ohash_find(struct ohash *, unsigned int);
63 void *ohash_remove(struct ohash *, unsigned int);
64 void *ohash_insert(struct ohash *, unsigned int, void *);
65 void *ohash_first(struct ohash *, unsigned int *);
66 void *ohash_next(struct ohash *, unsigned int *);
[all …]
H A Dohash.c38 static void ohash_resize(struct ohash *);
62 ohash_delete(struct ohash *h) in ohash_delete()
71 ohash_resize(struct ohash *h) in ohash_resize()
119 ohash_remove(struct ohash *h, unsigned int i) in ohash_remove()
137 ohash_find(struct ohash *h, unsigned int i) in ohash_find()
146 ohash_insert(struct ohash *h, unsigned int i, void *p) in ohash_insert()
164 ohash_entries(struct ohash *h) in ohash_entries()
170 ohash_first(struct ohash *h, unsigned int *pos) in ohash_first()
177 ohash_next(struct ohash *h, unsigned int *pos) in ohash_next()
186 ohash_init(struct ohash *h, unsigned int size, struct ohash_info *info) in ohash_init()
[all …]
H A DMakefile5 ohash.c
/freebsd/usr.bin/m4/
H A Dextern.h72 extern struct ohash macros;
H A Dlook.c67 struct ohash macros;
/freebsd/contrib/tnftp/src/
H A Dcmds.c2595 int ohash, orestart_point, overbose; in page() local
2614 ohash = hash; in page()
2619 hash = ohash; in page()

12