Lines Matching refs:hnode_t
58 static hnode_t *hnode_alloc(void *context);
59 static void hnode_free(hnode_t *node, void *context);
159 hnode_t **newtable;
174 hnode_t *low_chain = NULL, *high_chain = NULL, *hptr, *next;
234 hnode_t **newtable, *low_tail, *low_chain, *high_chain;
350 hnode_t *node;
400 hash_comp_t compfun, hash_fun_t hashfun, hnode_t **table,
480 hnode_t *hash_scan_next(hscan_t *scan)
482 hnode_t *next = scan->next; /* 1 */
519 void hash_insert(hash_t *hash, hnode_t *node, const void *key)
557 hnode_t *hash_lookup(hash_t *hash, const void *key)
560 hnode_t *nptr;
591 hnode_t *hash_delete(hash_t *hash, hnode_t *node)
594 hnode_t *hptr;
626 hnode_t *node = hash->allocnode(hash->context);
636 void hash_delete_free(hash_t *hash, hnode_t *node)
647 hnode_t *hash_scan_delete(hash_t *hash, hnode_t *node)
650 hnode_t *hptr;
677 void hash_scan_delfree(hash_t *hash, hnode_t *node)
696 hnode_t *hptr;
743 static hnode_t *hnode_alloc(void *context _U_)
748 static void hnode_free(hnode_t *node, void *context _U_)
758 hnode_t *hnode_create(void *data)
760 hnode_t *node = malloc(sizeof *node);
772 hnode_t *hnode_init(hnode_t *hnode, void *data)
783 void hnode_destroy(hnode_t *hnode)
789 void hnode_put(hnode_t *node, void *data)
795 void *hnode_get(hnode_t *node)
801 const void *hnode_getkey(hnode_t *node)
949 static hnode_t *new_node(void *c)
951 static hnode_t few[5];
960 static void del_node(hnode_t *n, void *c)
968 hnode_t *hn;