Lines Matching refs:cur
67 node *cur = list->head;
69 do_free(cur->data);
70 list->head = cur->next;
71 free(cur);
78 node *cur = malloc(sizeof(node));
79 if(!cur)
81 cur->key = key;
82 cur->data = data;
83 cur->next = 0;
84 *list->tail = cur;
85 list->tail = &cur->next;
91 node **cur;
92 for(cur = &list->head; *cur; cur = &(*cur)->next)
93 if((*cur)->key == key)
95 node *tmp = *cur;
96 void *ret = (*cur)->data;
97 *cur = (*cur)->next;
98 if(!*cur)
99 list->tail = cur;