Lines Matching defs:curr
70 struct env_var *ev, *curr, *last;
103 for (last = NULL, curr = environ;
104 curr != NULL;
105 last = curr, curr = curr->ev_next) {
107 if (strcmp(ev->ev_name, curr->ev_name) < 0) {
108 if (curr->ev_prev) {
109 curr->ev_prev->ev_next = ev;
113 ev->ev_next = curr;
114 ev->ev_prev = curr->ev_prev;
115 curr->ev_prev = ev;
119 if (curr == NULL) {