Lines Matching defs:other
159 struct rbt_node *other;
165 other = parent->rbt_right;
166 if (rbt_is_red(other))
168 rbt_set_black(other);
171 other = parent->rbt_right;
173 if ((!other->rbt_left || rbt_is_black(other->rbt_left)) &&
174 (!other->rbt_right || rbt_is_black(other->rbt_right)))
176 rbt_set_red(other);
182 if (!other->rbt_right || rbt_is_black(other->rbt_right))
184 rbt_set_black(other->rbt_left);
185 rbt_set_red(other);
186 __rbt_rotate_right(other, rbt);
187 other = parent->rbt_right;
189 rbt_set_color(other, rbt_color(parent));
191 rbt_set_black(other->rbt_right);
199 other = parent->rbt_left;
200 if (rbt_is_red(other))
202 rbt_set_black(other);
205 other = parent->rbt_left;
207 if ((!other->rbt_left || rbt_is_black(other->rbt_left)) &&
208 (!other->rbt_right || rbt_is_black(other->rbt_right)))
210 rbt_set_red(other);
216 if (!other->rbt_left || rbt_is_black(other->rbt_left))
218 rbt_set_black(other->rbt_right);
219 rbt_set_red(other);
220 __rbt_rotate_left(other, rbt);
221 other = parent->rbt_left;
223 rbt_set_color(other, rbt_color(parent));
225 rbt_set_black(other->rbt_left);