Lines Matching full:substr
70 StringRef BeforeCut = Text.substr(0, SpaceOffset).rtrim(Blanks);
71 StringRef AfterCut = Text.substr(SpaceOffset).ltrim(Blanks);
115 Text = Text.substr(Advance);
134 encoding::getCodePointCount(Line.substr(Offset, Length), Encoding);
143 Line = Tok.TokenText.substr(
157 return getStringSplit(Line.substr(TailOffset), StartColumn + 2, ColumnLimit,
197 return getCommentSplit(Line.substr(TailOffset), StartColumn + Prefix.size(),
225 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n");
248 Decoration = Decoration.substr(0, Decoration.size() - 1);
271 Lines[i] = Lines[i].substr(Decoration.size());
310 Lines[LineIndex - 1] = Lines[LineIndex - 1].substr(0, EndOfPreviousLine);
311 Lines[LineIndex] = Lines[LineIndex].substr(StartOfLine);
332 encoding::getCodePointCount(Lines[LineIndex].substr(Offset, Length),
341 return getCommentSplit(Lines[LineIndex].substr(TailOffset),
349 StringRef Text = Lines[LineIndex].substr(TailOffset);
382 Prefix = Prefix.substr(0, 1);
387 Prefix = Prefix.substr(0, 1);