Home | History | Annotate | Download | only in Core

Lines Matching refs:NextLeaf

133   /// NextLeaf field.  This allows the B+Tree forward iterator to be constant
144 /// NextLeaf - This is a pointer to the next leaf in the tree, allowing
146 RopePieceBTreeLeaf **PrevLeaf, *NextLeaf;
149 PrevLeaf(nullptr), NextLeaf(nullptr) {}
151 if (PrevLeaf || NextLeaf)
172 const RopePieceBTreeLeaf *getNextLeafInOrder() const { return NextLeaf; }
174 assert(!PrevLeaf && !NextLeaf && "Already in ordering");
176 NextLeaf = Node->NextLeaf;
177 if (NextLeaf)
178 NextLeaf->PrevLeaf = &NextLeaf;
179 PrevLeaf = &Node->NextLeaf;
180 Node->NextLeaf = this;
185 *PrevLeaf = NextLeaf;
186 if (NextLeaf)
187 NextLeaf->PrevLeaf = PrevLeaf;
188 } else if (NextLeaf) {
189 NextLeaf->PrevLeaf = nullptr;