reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Rewrite/RewriteRope.cpp
  776   assert(Len && "Zero length RopePiece is invalid!");
  779   if (AllocOffs+Len <= AllocChunkSize) {
  780     memcpy(AllocBuffer->Data+AllocOffs, Start, Len);
  781     AllocOffs += Len;
  782     return RopePiece(AllocBuffer, AllocOffs-Len, AllocOffs);
  787   if (Len > AllocChunkSize) {
  801   memcpy(Res->Data, Start, Len);
  803   AllocOffs = Len;
  805   return RopePiece(AllocBuffer, 0, Len);