Lines Matching refs:prev
88 reg Dtlink_t *r, *t, *prev, *renew;
127 prev = NIL(Dtlink_t*);
129 { for(t = dt->data->head; t; prev = t->left, t = prev->right)
142 /* make sure prev is just before the equivalence class of t */
143 if(!prev && (r = dt->data->head->left) != t->left)
144 while((prev = r) )
145 if((r = prev->right->left) == t->left)
149 { if(prev) /* move the whole class to the front */
150 { t = prev->right;
151 prev->right = t->left->right;
178 { if(!prev && t != dt->data->head)
179 prev = dt->data->head;
180 if(prev)
181 while(prev->right != t)
182 prev = prev->right;
183 dt->data->here = prev;
184 return prev ? OBJ(prev,disc) : NIL(Void_t*);