Home
last modified time | relevance | path

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

/trueos/contrib/llvm/tools/clang/lib/Rewrite/Core/
HDHTMLRewrite.cpp378 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()
/trueos/contrib/llvm/tools/clang/include/clang/Lex/
HDLexer.h123 unsigned TokLen, Preprocessor &PP);
217 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
462 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars() local
463 Result.setLength(TokLen); in FormTokenWithChars()
464 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
/trueos/contrib/llvm/tools/clang/include/clang/AST/
HDCommentLexer.h297 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local
300 Result.setLength(TokLen); in formTokenWithChars()
/trueos/contrib/llvm/tools/clang/lib/Lex/
HDLexer.cpp186 unsigned TokLen, Preprocessor &PP) { in Create_PragmaLexer() argument
200 L->BufferEnd = StrData+TokLen; in Create_PragmaLexer()
207 ExpansionLocEnd, TokLen); in Create_PragmaLexer()
1037 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen);
1040 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument
1058 return SM.createExpansionLoc(SpellingLoc, II.first, II.second, TokLen); in GetMappedTokenLoc()
1064 unsigned TokLen) const { in getSourceLocation()
1077 return GetMappedTokenLoc(*PP, FileLoc, CharNo, TokLen); in getSourceLocation()
HDLiteralSupport.cpp1548 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local
1554 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()