Lines Matching refs:SpaceOffset
91 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit() local
94 while (SpaceOffset != StringRef::npos) { in getCommentSplit()
97 if (kNumberedListRegexp->match(Text.substr(SpaceOffset).ltrim(Blanks))) in getCommentSplit()
98 SpaceOffset = Text.find_last_of(Blanks, SpaceOffset); in getCommentSplit()
103 SpaceOffset + 1 < Text.size() && Text[SpaceOffset + 1] == '{') in getCommentSplit()
104 SpaceOffset = Text.find_last_of(Blanks, SpaceOffset); in getCommentSplit()
109 if (SpaceOffset == StringRef::npos || in getCommentSplit()
111 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { in getCommentSplit()
118 SpaceOffset = Text.find_first_of( in getCommentSplit()
121 if (SpaceOffset != StringRef::npos && SpaceOffset != 0) { in getCommentSplit()
126 if (SpaceOffset == 1 && Text[SpaceOffset - 1] == '*') in getCommentSplit()
128 StringRef BeforeCut = Text.substr(0, SpaceOffset).rtrim(Blanks); in getCommentSplit()
129 StringRef AfterCut = Text.substr(SpaceOffset).ltrim(Blanks); in getCommentSplit()
145 StringRef::size_type SpaceOffset = 0; in getStringSplit() local
164 SpaceOffset = SplitPoint; in getStringSplit()
174 if (SpaceOffset != 0) in getStringSplit()
175 return BreakableToken::Split(SpaceOffset + 1, 0); in getStringSplit()