Home
last modified time | relevance | path

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

/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp141 size_t TokenLength = 1; in getNextToken() local
146 if (CodeCompletionLocation == Code.data() + TokenLength) { in getNextToken()
149 Result.Text = Code.substr(0, TokenLength); in getNextToken()
150 Code = Code.drop_front(TokenLength); in getNextToken()
153 if (TokenLength == Code.size() || !isAlphanumeric(Code[TokenLength])) in getNextToken()
155 ++TokenLength; in getNextToken()
158 Result.Text = Code.substr(0, TokenLength); in getNextToken()
159 Code = Code.drop_front(TokenLength); in getNextToken()
/external/clang/lib/Format/
DWhitespaceManager.cpp42 TokenLength(0), PreviousEndOfTokenColumn(0), EscapedNewlineColumn(0), in Change()
116 Changes[i - 1].TokenLength = OriginalWhitespaceStart - in calculateLineBreakInformation()
124 LastOutsideTokenChange->TokenLength += in calculateLineBreakInformation()
125 Changes[i - 1].TokenLength + Changes[i - 1].Spaces; in calculateLineBreakInformation()
130 Changes[i - 1].StartOfTokenColumn + Changes[i - 1].TokenLength; in calculateLineBreakInformation()
139 Changes.back().TokenLength = 0; in calculateLineBreakInformation()
290 LineLengthAfter += Changes[j].Spaces + Changes[j].TokenLength; in AlignTokens()
356 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; in alignTrailingComments()
DWhitespaceManager.h151 unsigned TokenLength; member