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()
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()
94 ohash_insert(xr_hash, slot, xr); in mandoc_xr_add()
121 free(xr_hash); in mandoc_xr_free()
[all …]