Home
last modified time | relevance | path

Searched refs:uncle (Results 1 – 1 of 1) sorted by relevance

/unit/src/
H A Dnxt_rbtree.c99 nxt_rbtree_node_t *parent, *grandparent, *uncle; in nxt_rbtree_insert_fixup() local
120 uncle = grandparent->right; in nxt_rbtree_insert_fixup()
122 if (uncle->color == NXT_RBTREE_BLACK) { in nxt_rbtree_insert_fixup()
148 uncle = grandparent->left; in nxt_rbtree_insert_fixup()
150 if (uncle->color == NXT_RBTREE_BLACK) { in nxt_rbtree_insert_fixup()
170 uncle->color = NXT_RBTREE_BLACK; in nxt_rbtree_insert_fixup()