Lines Matching refs:NextLeaf
146 RopePieceBTreeLeaf **PrevLeaf, *NextLeaf; member in __anona50530c20311::RopePieceBTreeLeaf
149 PrevLeaf(nullptr), NextLeaf(nullptr) {} in RopePieceBTreeLeaf()
151 if (PrevLeaf || NextLeaf) in ~RopePieceBTreeLeaf()
172 const RopePieceBTreeLeaf *getNextLeafInOrder() const { return NextLeaf; } in getNextLeafInOrder()
174 assert(!PrevLeaf && !NextLeaf && "Already in ordering"); in insertAfterLeafInOrder()
176 NextLeaf = Node->NextLeaf; in insertAfterLeafInOrder()
177 if (NextLeaf) in insertAfterLeafInOrder()
178 NextLeaf->PrevLeaf = &NextLeaf; in insertAfterLeafInOrder()
179 PrevLeaf = &Node->NextLeaf; in insertAfterLeafInOrder()
180 Node->NextLeaf = this; in insertAfterLeafInOrder()
185 *PrevLeaf = NextLeaf; in removeFromLeafInOrder()
186 if (NextLeaf) in removeFromLeafInOrder()
187 NextLeaf->PrevLeaf = PrevLeaf; in removeFromLeafInOrder()
188 } else if (NextLeaf) { in removeFromLeafInOrder()
189 NextLeaf->PrevLeaf = nullptr; in removeFromLeafInOrder()