Lines Matching refs:SpaceOffset

95     StringRef::size_type SpaceOffset =  in getCommentSplit()  local
97 if (SpaceOffset != StringRef::npos && SpaceOffset + 1 < Text.size() && in getCommentSplit()
98 Text[SpaceOffset + 1] == '{') { in getCommentSplit()
99 MaxSplitBytes = SpaceOffset + 1; in getCommentSplit()
103 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit() local
107 while (SpaceOffset != StringRef::npos) { in getCommentSplit()
115 Text.find_last_not_of(Blanks, SpaceOffset); in getCommentSplit()
117 SpaceOffset = Text.find_last_of(Blanks, LastNonBlank); in getCommentSplit()
124 if (kNumberedListRegexp.match(Text.substr(SpaceOffset).ltrim(Blanks))) { in getCommentSplit()
125 SpaceOffset = Text.find_last_of(Blanks, SpaceOffset); in getCommentSplit()
130 if (Style.isJavaScript() && SpaceOffset + 1 < Text.size() && in getCommentSplit()
131 (Text[SpaceOffset + 1] == '{' || Text[SpaceOffset + 1] == '@')) { in getCommentSplit()
132 SpaceOffset = Text.find_last_of(Blanks, SpaceOffset); in getCommentSplit()
139 if (SpaceOffset == StringRef::npos || in getCommentSplit()
141 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { in getCommentSplit()
149 SpaceOffset = Text.find_first_of( in getCommentSplit()
152 if (SpaceOffset != StringRef::npos && SpaceOffset != 0) { in getCommentSplit()
157 if (SpaceOffset == 1 && Text[SpaceOffset - 1] == '*') in getCommentSplit()
159 StringRef BeforeCut = Text.substr(0, SpaceOffset).rtrim(Blanks); in getCommentSplit()
160 StringRef AfterCut = Text.substr(SpaceOffset); in getCommentSplit()
179 StringRef::size_type SpaceOffset = 0; in getStringSplit() local
198 SpaceOffset = SplitPoint; in getStringSplit()
208 if (SpaceOffset != 0) in getStringSplit()
209 return BreakableToken::Split(SpaceOffset + 1, 0); in getStringSplit()