Home
last modified time | relevance | path

Searched refs:PieceOffs (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Rewrite/
DRewriteRope.cpp243 unsigned PieceOffs = 0; in split() local
245 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() local
341 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 …]