Searched refs:TokLen (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 379 unsigned TokLen = Tok.getLength(); in SyntaxHighlight() local 391 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 396 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 402 --TokLen; in SyntaxHighlight() 409 --TokLen; in SyntaxHighlight() 413 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 423 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlight()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 117 unsigned TokLen, Preprocessor &PP); 212 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 394 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local 395 Result.setLength(TokLen); in FormTokenWithChars() 396 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 174 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument 188 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 195 ExpansionLocEnd, TokLen); in Create_PragmaLexer() 1137 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1140 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1158 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc() 1164 unsigned TokLen) const { in getSourceLocation() 1177 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
|
D | LiteralSupport.cpp | 1363 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local 1373 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
|