Searched refs:TokLen (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Rewrite/ |
D | 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()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 123 unsigned TokLen, Preprocessor &PP); 217 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 484 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local 485 Result.setLength(TokLen); in FormTokenWithChars() 486 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 167 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument 181 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 188 ExpansionLocEnd, TokLen); in Create_PragmaLexer() 1017 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1020 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1038 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc() 1044 unsigned TokLen) const { in getSourceLocation() 1057 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
|
D | LiteralSupport.cpp | 1619 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local 1625 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 120 unsigned TokLen = 1; in getTokenForError() local 122 TokLen = 2; in getTokenForError() 123 Token = Expr.substr(0, TokLen); in getTokenForError()
|
/external/clang/lib/AST/ |
D | CommentLexer.cpp | 273 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local 276 Result.setLength(TokLen); in formTokenWithChars()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 100 unsigned TokLen = in getPreciseTokenLocEnd() local 102 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()
|