Lines Matching defs:cur
36 struct dummy_lhash_node *cur, *next;
38 for (cur = lh->head; cur != NULL; cur = next) {
39 next = cur->next;
40 free(cur->s);
41 free(cur);
47 struct dummy_lhash_node *cur;
49 for (cur = lh->head; cur != NULL; cur = cur->next) {
57 struct dummy_lhash_node *cur;
59 for (cur = lh->head; cur != NULL; cur = cur->next) {
60 if (strcmp(cur->s, s) == 0) {
61 return cur->s;
69 struct dummy_lhash_node *node, *cur;
71 for (cur = lh->head; cur != NULL; cur = cur->next) {
72 if (strcmp(cur->s, s) == 0) {
73 *old_data = cur->s;
74 cur->s = s;
88 struct dummy_lhash_node *cur, **next_ptr;
92 for (cur = lh->head; cur != NULL; cur = cur->next) {
93 if (strcmp(cur->s, s) == 0) {
94 ret = cur->s;
95 *next_ptr = cur->next;
96 free(cur);
99 next_ptr = &cur->next;