Home | History | Annotate | Download | only in program

Lines Matching refs:hn

119        struct hash_node *hn = (struct hash_node *) node;
121 if ((*ht->compare)(hn->key, key) == 0) {
122 return hn;
132 struct hash_node *hn = get_node(ht, key);
134 return (hn == NULL) ? NULL : hn->data;
158 struct hash_node *hn;
161 hn = (struct hash_node *) node;
163 if ((*ht->compare)(hn->key, key) == 0) {
164 hn->data = data;
169 hn = calloc(1, sizeof(*hn));
171 hn->data = data;
172 hn->key = key;
174 insert_at_head(& ht->buckets[bucket], & hn->link);
201 struct hash_node *hn = (struct hash_node *) node;
203 callback(hn->key, hn->data, closure);