Home
last modified time | relevance | path

Searched refs:xr_hash (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_xr.c31 static struct ohash *xr_hash = NULL; variable
44 if (xr_hash == NULL) in mandoc_xr_clear()
46 for (xr = ohash_first(xr_hash, &slot); xr != NULL; in mandoc_xr_clear()
47 xr = ohash_next(xr_hash, &slot)) in mandoc_xr_clear()
49 ohash_delete(xr_hash); in mandoc_xr_clear()
55 if (xr_hash == NULL) in mandoc_xr_reset()
56 xr_hash = mandoc_malloc(sizeof(*xr_hash)); in mandoc_xr_reset()
59 mandoc_ohash_init(xr_hash, 5, in mandoc_xr_reset()
74 if (xr_hash == NULL) in mandoc_xr_add()
92 slot = ohash_lookup_memory(xr_hash, xr->hashkey, tsz, hv); in mandoc_xr_add()
[all …]