Searched refs:PieceOffs (Results 1 – 1 of 1) sorted by relevance
243 unsigned PieceOffs = 0; in split() local245 while (Offset >= PieceOffs+Pieces[i].size()) { in split()246 PieceOffs += Pieces[i].size(); in split()252 if (PieceOffs == Offset) in split()257 unsigned IntraPieceOffset = Offset-PieceOffs; in split()339 unsigned PieceOffs = 0; in erase() local341 for (; Offset > PieceOffs; ++i) in erase()342 PieceOffs += getPiece(i).size(); in erase()343 assert(PieceOffs == Offset && "Split didn't occur before erase!"); in erase()349 for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i) in erase()[all …]