/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/llvm-project/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 465 unsigned TokLen = Tok.getLength(); in SyntaxHighlight() local 477 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 482 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 488 --TokLen; in SyntaxHighlight() 496 --TokLen; in SyntaxHighlight() 500 HighlightRange(RB, TokOffs, TokOffs+TokLen, BufferStart, in SyntaxHighlight() 510 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/llvm-project/clang/include/clang/Lex/ |
D | Lexer.h | 168 unsigned TokLen, Preprocessor &PP); 261 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 588 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local 589 Result.setLength(TokLen); in FormTokenWithChars() 590 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | ElseAfterReturnCheck.cpp | 122 auto TokLen = [&](SourceLocation Loc) { in removeElseAndBrackets() local 132 Remap(LBrace).getLocWithOffset(TokLen(LBrace) + 1); in removeElseAndBrackets() 145 ElseExpandedLoc.getLocWithOffset(TokLen(ElseLoc) + 1), EndLoc), in removeElseAndBrackets()
|
/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/swiftshader/third_party/llvm-10.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/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 123 unsigned TokLen = 1; in getTokenForError() local 125 TokLen = 2; in getTokenForError() 126 Token = Expr.substr(0, TokLen); in getTokenForError()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 192 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument 206 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer() 213 ExpansionLocEnd, TokLen); in Create_PragmaLexer() 1104 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1107 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1124 return SM.createExpansionLoc(SpellingLoc, II.getBegin(), II.getEnd(), TokLen); in GetMappedTokenLoc() 1130 unsigned TokLen) const { in getSourceLocation() 1143 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
|
D | LiteralSupport.cpp | 1842 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local 1848 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/llvm-project/clang/lib/AST/ |
D | CommentLexer.cpp | 281 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local 284 Result.setLength(TokLen); in formTokenWithChars()
|
/external/clang/lib/AST/ |
D | CommentLexer.cpp | 282 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local 285 Result.setLength(TokLen); in formTokenWithChars()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | SourceCode.cpp | 437 unsigned TokLen = getTokenLengthAtLoc(Result.getEnd(), SM, LangOpts); in toHalfOpenFileRange() local 439 Result.setEnd(Result.getEnd().getLocWithOffset(TokLen)); in toHalfOpenFileRange()
|
D | XRefs.cpp | 222 auto TokLen = Lexer::MeasureTokenLength(Loc, SM, AST.getLangOpts()); in makeLocation() local 224 SM, CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(TokLen))); in makeLocation()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 102 unsigned TokLen = in getPreciseTokenLocEnd() local 104 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 219 unsigned TokLen = in getPreciseTokenLocEnd() local 221 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()
|