Searched refs:RopeRefCountString (Results 1 - 2 of 2) sorted by relevance

/external/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h26 // RopeRefCountString Class
29 /// RopeRefCountString - This struct is allocated with 'new char[]' from the
33 struct RopeRefCountString { struct in namespace:clang
51 /// RopePiece - This class represents a view into a RopeRefCountString object.
57 /// that both refer to the same underlying RopeRefCountString (just with
60 RopeRefCountString *StrData;
66 RopePiece(RopeRefCountString *Str, unsigned Start, unsigned End)
194 RopeRefCountString *AllocBuffer;
/external/clang/lib/Rewrite/Core/
H A DRewriteRope.cpp763 /// RopeRefCountString, and return a RopePiece that represents it. This uses
780 unsigned Size = End-Start+sizeof(RopeRefCountString)-1;
781 RopeRefCountString *Res =
782 reinterpret_cast<RopeRefCountString *>(new char[Size]);
794 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize;
795 AllocBuffer = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);

Completed in 80 milliseconds