Lines Matching refs:Pieces
142 RopePiece Pieces[2*WidthFactor]; member in __anon1ec3f34e0311::RopePieceBTreeLeaf
161 Pieces[--NumPieces] = RopePiece(); in clear()
169 return Pieces[i]; in getPiece()
245 while (Offset >= PieceOffs+Pieces[i].size()) { in split()
246 PieceOffs += Pieces[i].size(); in split()
260 RopePiece Tail(Pieces[i].StrData, Pieces[i].StartOffs+IntraPieceOffset, in split()
261 Pieces[i].EndOffs); in split()
262 Size -= Pieces[i].size(); in split()
263 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
264 Size += Pieces[i].size(); in split()
295 Pieces[e] = Pieces[e-1]; in insert()
296 Pieces[i] = R; in insert()
311 std::copy(&Pieces[WidthFactor], &Pieces[2*WidthFactor], in insert()
312 &NewNode->Pieces[0]); in insert()
314 std::fill(&Pieces[WidthFactor], &Pieces[2*WidthFactor], RopePiece()); in insert()
362 Pieces[i-NumDeleted] = Pieces[i]; in erase()
365 std::fill(&Pieces[getNumPieces()-NumDeleted], &Pieces[getNumPieces()], in erase()
380 Pieces[StartPiece].StartOffs += NumBytes; in erase()