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.cpp41 Spaces(Spaces), IsTrailingComment(false), TokenLength(0), in Change()
117 Changes[i - 1].TokenLength = OriginalWhitespaceStart - in calculateLineBreakInformation()
123 Changes[i - 1].StartOfTokenColumn + Changes[i - 1].TokenLength; in calculateLineBreakInformation()
131 Changes.back().TokenLength = 0; in calculateLineBreakInformation()
278 LineLengthAfter += Changes[j].Spaces + Changes[j].TokenLength; in AlignTokens()
344 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; in alignTrailingComments()
DWhitespaceManager.h146 unsigned TokenLength; member