Home
last modified time | relevance | path

Searched refs:TokLen (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp499 unsigned TokLen = Tok.getLength(); in SyntaxHighlightImpl() local
511 HighlightRangeCallback(RB, TokOffs, TokOffs + TokLen, BufferStart, in SyntaxHighlightImpl()
516 HighlightRangeCallback(RB, TokOffs, TokOffs + TokLen, BufferStart, in SyntaxHighlightImpl()
522 --TokLen; in SyntaxHighlightImpl()
530 --TokLen; in SyntaxHighlightImpl()
534 HighlightRangeCallback(RB, TokOffs, TokOffs + TokLen, BufferStart, in SyntaxHighlightImpl()
544 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlightImpl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp262 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local
265 Result.setLength(TokLen); in formTokenWithChars()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp144 unsigned TokLen = 1; in getTokenForError() local
146 TokLen = 2; in getTokenForError()
147 Token = Expr.substr(0, TokLen); in getTokenForError()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp246 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument
260 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer()
267 ExpansionLocEnd, TokLen); in Create_PragmaLexer()
1188 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1191 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument
1208 return SM.createExpansionLoc(SpellingLoc, II.getBegin(), II.getEnd(), TokLen); in GetMappedTokenLoc()
1214 unsigned TokLen) const { in getSourceLocation()
1227 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
H A DLiteralSupport.cpp2357 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local
2363 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp285 unsigned TokLen = in getPreciseTokenLocEnd() local
287 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()