/freebsd/contrib/mandoc/ |
H A D | compat_ohash.h | 38 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 D | roff_int.h | 21 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 D | compat_ohash.c | 40 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 D | mansearch.c | 64 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 D | dba.c | 55 *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 D | mandoc_ohash.h | 23 void mandoc_ohash_init(struct ohash *, unsigned int, ptrdiff_t);
|
H A D | test-ohash.c | 31 struct ohash h; in main()
|
H A D | mandoc_ohash.c | 33 mandoc_ohash_init(struct ohash *h, unsigned int sz, ptrdiff_t ko) in mandoc_ohash_init()
|
H A D | chars.c | 428 static struct ohash mchars;
|
H A D | mandoc_xr.c | 31 static struct ohash *xr_hash = NULL;
|
H A D | tag.c | 53 static struct ohash tag_data;
|
H A D | mandocdb.c | 189 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 D | mandoc_dbg.c | 54 static struct ohash dhash_table;
|
H A D | roff.h | 21 struct ohash;
|
H A D | configure | 403 runtest ohash OHASH "${LD_OHASH}" "-lutil" || true
|
H A D | configure.local.example | 180 # 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 D | INSTALL | 114 3. Marc Espie's ohash(3) library.
|
H A D | roff.c | 107 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 D | Makefile | 38 test-ohash.c \
|
/freebsd/lib/libopenbsd/ |
H A D | ohash.h | 40 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 D | ohash.c | 38 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 D | Makefile | 5 ohash.c
|
/freebsd/usr.bin/m4/ |
H A D | extern.h | 72 extern struct ohash macros;
|
H A D | look.c | 67 struct ohash macros;
|
/freebsd/contrib/tnftp/src/ |
H A D | cmds.c | 2595 int ohash, orestart_point, overbose; in page() local 2614 ohash = hash; in page() 2619 hash = ohash; in page()
|