Lines Matching refs:Sib
262 /// @param Sib Left sibling node.
263 /// @param SSize Number of elements in sib.
265 void transferToLeftSib(unsigned Size, NodeBase &Sib, unsigned SSize,
267 Sib.copy(*this, 0, SSize, Count);
273 /// @param Sib Right sibling node.
274 /// @param SSize Number of elements in sib.
276 void transferToRightSib(unsigned Size, NodeBase &Sib, unsigned SSize,
278 Sib.moveRight(0, Count, SSize);
279 Sib.copy(*this, Size-Count, 0, Count);
285 /// @param Sib Right sibling node.
286 /// @param SSize Number of elements in sib.
289 int adjustFromLeftSib(unsigned Size, NodeBase &Sib, unsigned SSize, int Add) {
291 // We want to grow, copy from sib.
293 Sib.transferToRightSib(SSize, *this, Size, Count);
296 // We want to shrink, copy to sib.
298 transferToLeftSib(Size, Sib, SSize, Count);
1796 if (NodeRef Sib = P.getLeftSibling(P.height())) {
1797 Leaf &SibLeaf = Sib.get<Leaf>();
1798 unsigned SibOfs = Sib.size() - 1;