Searched refs:child_i (Results 1 – 5 of 5) sorted by relevance
125 const size_t child_i = in ReorderImpl() local130 if ((direction == ORDER_ABOVE && child_i == target_i + 1) || in ReorderImpl()131 (direction == ORDER_BELOW && child_i + 1 == target_i)) { in ReorderImpl()139 (child_i < target_i ? target_i : target_i + 1) : in ReorderImpl()140 (child_i < target_i ? target_i - 1 : target_i); in ReorderImpl()141 children->erase(children->begin() + child_i); in ReorderImpl()
34 const size_t child_i = in StackChildRelativeTo() local40 (child_i < other_i ? other_i : other_i + 1) : in StackChildRelativeTo()41 (child_i < other_i ? other_i - 1 : other_i); in StackChildRelativeTo()42 children->erase(children->begin() + child_i); in StackChildRelativeTo()
729 const size_t child_i = in StackRelativeTo() local733 if ((above && child_i == other_i + 1) || (!above && child_i + 1 == other_i)) in StackRelativeTo()738 (child_i < other_i ? other_i : other_i + 1) : in StackRelativeTo()739 (child_i < other_i ? other_i - 1 : other_i); in StackRelativeTo()740 children_.erase(children_.begin() + child_i); in StackRelativeTo()
1107 const size_t child_i = in StackChildRelativeTo() local1113 if ((direction == STACK_ABOVE && child_i == target_i + 1) || in StackChildRelativeTo()1114 (direction == STACK_BELOW && child_i + 1 == target_i)) in StackChildRelativeTo()1119 (child_i < target_i ? target_i : target_i + 1) : in StackChildRelativeTo()1120 (child_i < target_i ? target_i - 1 : target_i); in StackChildRelativeTo()1121 children_.erase(children_.begin() + child_i); in StackChildRelativeTo()
296 const size_t child_i = in CanReorderNode() local301 if ((direction == ORDER_ABOVE && child_i == target_i + 1) || in CanReorderNode()302 (direction == ORDER_BELOW && child_i + 1 == target_i)) { in CanReorderNode()