Searched refs:TokLen (Results 1 – 8 of 8) 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; 504 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local 505 Result.setLength(TokLen); in FormTokenWithChars() 506 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() 1044 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1047 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1065 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc() 1071 unsigned TokLen) const { in getSourceLocation() 1084 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
|
D | LiteralSupport.cpp | 1633 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local 1639 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 122 unsigned TokLen = 1; in getTokenForError() local 124 TokLen = 2; in getTokenForError() 125 Token = Expr.substr(0, TokLen); in getTokenForError()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 122 unsigned TokLen = 1; in getTokenForError() local 124 TokLen = 2; in getTokenForError() 125 Token = Expr.substr(0, TokLen); in getTokenForError()
|
/external/clang/lib/AST/ |
D | CommentLexer.cpp | 282 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local 285 Result.setLength(TokLen); in formTokenWithChars()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 102 unsigned TokLen = in getPreciseTokenLocEnd() local 104 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()
|