Lines Matching +refs:val +refs:current
97 /* current points to the front of the list of notices (events) */
98 struct notice *current = NULL;
216 current = NULL;
299 if ((current == NULL) || (current->time > time))
300 current = n;
322 if ((index == NULL) || (current == NULL))
325 n = current;
380 /* now reset current */
385 current = n;
394 if (current == NULL)
409 int ctr, *val;
412 if ((index == NULL) || (current == NULL))
415 while ((index->key)->time < current->time) {
474 (current->left)->right = current->right;
475 (current->right)->left = current->left;
477 n = current;
487 /* now set current to be the head of the list */
488 fn = current->right;
491 val = current->event;
492 free(current);
493 current = fn;
495 return (val);
530 current = NULL;