Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DHTMLRewrite.cpp465 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLexer.h168 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp123 unsigned TokLen = 1; in getTokenForError() local
125 TokLen = 2; in getTokenForError()
126 Token = Expr.substr(0, TokLen); in getTokenForError()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLexer.cpp192 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()
H A DLiteralSupport.cpp1874 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local
1880 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCommentLexer.cpp281 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local
284 Result.setLength(TokLen); in formTokenWithChars()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp228 unsigned TokLen = in getPreciseTokenLocEnd() local
230 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()