Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DHTMLRewrite.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()
/external/clang/include/clang/Lex/
DLexer.h123 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/
DLexer.cpp167 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()
DLiteralSupport.cpp1633 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte() local
1639 const char *SpellingEnd = SpellingPtr+TokLen; in getOffsetOfStringByte()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp122 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/
DRuntimeDyldChecker.cpp122 unsigned TokLen = 1; in getTokenForError() local
124 TokLen = 2; in getTokenForError()
125 Token = Expr.substr(0, TokLen); in getTokenForError()
/external/clang/lib/AST/
DCommentLexer.cpp282 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars() local
285 Result.setLength(TokLen); in formTokenWithChars()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp102 unsigned TokLen = in getPreciseTokenLocEnd() local
104 return Loc.getLocWithOffset(TokLen); in getPreciseTokenLocEnd()