ohash
static struct ohash mchars;
ohash_remove(struct ohash *h, unsigned int i)
ohash_find(struct ohash *h, unsigned int i)
ohash_insert(struct ohash *h, unsigned int i, void *p)
ohash_entries(struct ohash *h)
ohash_first(struct ohash *h, unsigned int *pos)
ohash_next(struct ohash *h, unsigned int *pos)
ohash_init(struct ohash *h, unsigned int size, struct ohash_info *info)
ohash_lookup_interval(struct ohash *h, const char *start, const char *end,
ohash_lookup_memory(struct ohash *h, const char *k, size_t size, uint32_t hv)
ohash_qlookup(struct ohash *h, const char *s)
ohash_qlookupi(struct ohash *h, const char *s, const char **e)
static void ohash_resize(struct ohash *);
ohash_delete(struct ohash *h)
ohash_resize(struct ohash *h)
void ohash_init(struct ohash *, unsigned, struct ohash_info *);
void ohash_delete(struct ohash *);
unsigned int ohash_lookup_interval(struct ohash *, const char *,
unsigned int ohash_lookup_memory(struct ohash *, const char *,
void *ohash_find(struct ohash *, unsigned int);
void *ohash_remove(struct ohash *, unsigned int);
void *ohash_insert(struct ohash *, unsigned int, void *);
void *ohash_first(struct ohash *, unsigned int *);
void *ohash_next(struct ohash *, unsigned int *);
unsigned int ohash_entries(struct ohash *);
unsigned int ohash_qlookupi(struct ohash *, const char *, const char **);
unsigned int ohash_qlookup(struct ohash *, const char *);
get_macro_entry(struct ohash *macro, const char *value, int32_t np)
struct ohash *macro;
dba_macro_write(struct ohash *macro)
*get_macro_entry(struct ohash *, const char *, int32_t);
static void dba_macro_write(struct ohash *);
struct ohash *macro;
struct ohash *macro;
static struct ohash id_unique;
mandoc_ohash_init(struct ohash *h, unsigned int sz, ptrdiff_t ko)
void mandoc_ohash_init(struct ohash *, unsigned int, ptrdiff_t);
static struct ohash *xr_hash = NULL;
struct ohash *htab;
static struct ohash mpages; /* table of distinct manual pages */
static struct ohash mlinks; /* table of directory entries */
static struct ohash names; /* table of all names */
static struct ohash strings; /* table of all strings */
static struct ohash *
manmerge(struct expr *e, struct ohash *htab)
static struct ohash *
manmerge_term(struct expr *e, struct ohash *htab)
static struct ohash *
manmerge_or(struct expr *e, struct ohash *htab)
static struct ohash *
manmerge_and(struct expr *e, struct ohash *htab)
struct ohash *hand, *h1, *h2;
static struct ohash *manmerge(struct expr *, struct ohash *);
static struct ohash *manmerge_term(struct expr *, struct ohash *);
static struct ohash *manmerge_or(struct expr *, struct ohash *);
static struct ohash *manmerge_and(struct expr *, struct ohash *);
struct ohash *htab;
struct ohash *reqtab; /* request lookup table */
struct ohash *
struct ohash *htab;
roffhash_free(struct ohash *htab)
roffhash_find(struct ohash *htab, const char *name, size_t sz)
struct ohash;
struct ohash;
struct ohash *mdocmac; /* Mdoc macro lookup table. */
struct ohash *manmac; /* Man macro lookup table. */
struct ohash *roffhash_alloc(enum roff_tok, enum roff_tok);
enum roff_tok roffhash_find(struct ohash *, const char *, size_t);
void roffhash_free(struct ohash *);
static struct ohash tag_data;
register unsigned long *ohash = __m_screen->_hash;
if (ohash[or] != nhash[nr]
unsigned int *ohash = __m_screen->_hash;
unsigned long *ohash = __m_screen->_hash;
if (ohash[or] != nhash[nr]) {