Home
last modified time | relevance | path

Searched refs:SpaceOffset (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Format/
DBreakableToken.cpp63 StringRef::size_type SpaceOffset = Text.find_last_of(Blanks, MaxSplitBytes); in getCommentSplit() local
64 if (SpaceOffset == StringRef::npos || in getCommentSplit()
66 Text.find_last_not_of(Blanks, SpaceOffset) == StringRef::npos) { in getCommentSplit()
73 SpaceOffset = Text.find_first_of( in getCommentSplit()
76 if (SpaceOffset != StringRef::npos && SpaceOffset != 0) { in getCommentSplit()
77 StringRef BeforeCut = Text.substr(0, SpaceOffset).rtrim(Blanks); in getCommentSplit()
78 StringRef AfterCut = Text.substr(SpaceOffset).ltrim(Blanks); in getCommentSplit()
94 StringRef::size_type SpaceOffset = 0; in getStringSplit() local
113 SpaceOffset = SplitPoint; in getStringSplit()
123 if (SpaceOffset != 0) in getStringSplit()
[all …]