Searched refs:TokLen (Results 1 – 5 of 5) sorted by relevance
| /trueos/contrib/llvm/tools/clang/lib/Rewrite/Core/ |
| HD | HTMLRewrite.cpp | 378 unsigned TokLen = Tok.getLength(); in SyntaxHighlight() local 390 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 395 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 401 --TokLen; in SyntaxHighlight() 408 --TokLen; in SyntaxHighlight() 412 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 422 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlight()
|
| /trueos/contrib/llvm/tools/clang/include/clang/Lex/ |
| HD | Lexer.h | 123 unsigned TokLen, Preprocessor &PP); 217 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 462 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local 463 Result.setLength(TokLen); in FormTokenWithChars() 464 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
|
| /trueos/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | CommentLexer.h | 297 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local 300 Result.setLength(TokLen); in formTokenWithChars()
|
| /trueos/contrib/llvm/tools/clang/lib/Lex/ |
| HD | Lexer.cpp | 186 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument 200 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 207 ExpansionLocEnd, TokLen); in Create_PragmaLexer() 1037 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1040 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1058 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc() 1064 unsigned TokLen) const { in getSourceLocation() 1077 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
|
| HD | LiteralSupport.cpp | 1548 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local 1554 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
|