Searched refs:AllocBuffer (Results 1 - 4 of 4) sorted by relevance

/external/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h194 RopeRefCountString *AllocBuffer; member in class:clang::RewriteRope
199 RewriteRope() : AllocBuffer(nullptr), AllocOffs(AllocChunkSize) {}
201 : Chunks(RHS.Chunks), AllocBuffer(nullptr), AllocOffs(AllocChunkSize) {
206 if (AllocBuffer)
207 AllocBuffer->dropRef();
/external/clang/lib/Rewrite/Core/
H A DRewriteRope.cpp764 /// the AllocBuffer object to aggregate requests for small strings into one
772 memcpy(AllocBuffer->Data+AllocOffs, Start, Len);
774 return RopePiece(AllocBuffer, AllocOffs-Len, AllocOffs);
791 if (AllocBuffer)
792 AllocBuffer->dropRef();
795 AllocBuffer = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);
796 AllocBuffer->RefCount = 0;
797 memcpy(AllocBuffer->Data, Start, Len);
802 AllocBuffer->addRef();
803 return RopePiece(AllocBuffer,
[all...]
/external/pdfium/core/include/fxcrt/
H A Dfx_string.h851 FX_LPSTR AllocBuffer(FX_STRSIZE length, IFX_Allocator* pAllocator);
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_bstring.cpp1180 FX_LPSTR CFX_ByteStringL::AllocBuffer(FX_STRSIZE length, IFX_Allocator* pAllocator) function in class:CFX_ByteStringL

Completed in 211 milliseconds