Lines Matching defs:curr
577 static dnode_t *dict_next(dict_t *dict, dnode_t *curr)
581 if (curr->right != nil) {
582 curr = curr->right;
583 while ((left = curr->left) != nil)
584 curr = left;
585 return curr;
588 parent = curr->parent;
590 while (parent != nil && curr == parent->right) {
591 curr = parent;
592 parent = curr->parent;
12751 static float calc_percent(const struct percent_tbl *tbl, int pass, int curr,
12760 percent = ((float) curr) / ((float) max);