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

References

tools/clang/lib/Rewrite/RewriteRope.cpp
  239   if (Offset == 0 || Offset == size()) {
  283     if (Offset == size()) {
  328   if (this->size() >= Offset)
  331     NewNode->insert(Offset - this->size(), R);
  410       Size = LHS->size() + RHS->size();
  410       Size = LHS->size() + RHS->size();
  437         Size += getChild(i)->size();
  479   if (Offset == 0 || Offset == size())
  484   for (; Offset >= ChildOffset+getChild(i)->size(); ++i)
  485     ChildOffset += getChild(i)->size();
  510   if (Offset == size()) {
  513     ChildOffs = size()-getChild(i)->size();
  513     ChildOffs = size()-getChild(i)->size();
  515     for (; Offset > ChildOffs+getChild(i)->size(); ++i)
  516       ChildOffs += getChild(i)->size();
  578   for (; Offset >= getChild(i)->size(); ++i)
  579     Offset -= getChild(i)->size();
  588     if (Offset+NumBytes < CurChild->size()) {
  596       unsigned BytesFromChild = CurChild->size()-Offset;
  607     NumBytes -= CurChild->size();
  634   assert(Offset <= size() && "Invalid offset to split!");
  648   assert(Offset <= size() && "Invalid offset to insert!");
  657   assert(Offset+NumBytes <= size() && "Invalid offset to erase!");
  735   return getRoot(Root)->size();