Home | History | Annotate | Download | only in program

Lines Matching refs:node

35 struct node {
36 struct node *next;
37 struct node *prev;
45 struct node buckets[1];
50 struct node link;
95 struct node *node;
96 struct node *temp;
101 foreach_s(node, temp, & ht->buckets[i]) {
102 remove_from_list(node);
103 free(node);
116 struct node *node;
118 foreach(node, & ht->buckets[bucket]) {
119 struct hash_node *hn = (struct hash_node *) node;
142 struct hash_node *node;
144 node = calloc(1, sizeof(*node));
146 node->data = data;
147 node->key = key;
149 insert_at_head(& ht->buckets[bucket], & node->link);
157 struct node *node;
160 foreach(node, & ht->buckets[bucket]) {
161 hn = (struct hash_node *) node;
181 struct node *node = (struct node *) get_node(ht, key);
182 if (node != NULL) {
183 remove_from_list(node);
184 free(node);
199 struct node *node, *temp;
200 foreach_s(node, temp, &ht->buckets[bucket]) {
201 struct hash_node *hn = (struct hash_node *) node;