Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/AST/
DCommentLexer.h299 void formTokenWithChars(Token &Result, const char *TokEnd,
302 void formTextToken(Token &Result, const char *TokEnd) { in formTextToken() argument
303 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken()
304 formTokenWithChars(Result, TokEnd, tok::text); in formTextToken()
/external/clang/include/clang/AST/
DCommentLexer.h295 void formTokenWithChars(Token &Result, const char *TokEnd,
298 void formTextToken(Token &Result, const char *TokEnd) { in formTextToken() argument
299 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken()
300 formTokenWithChars(Result, TokEnd, tok::text); in formTextToken()
/external/clang/include/clang/Lex/
DLexer.h502 void FormTokenWithChars(Token &Result, const char *TokEnd, in FormTokenWithChars() argument
504 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars()
508 BufferPtr = TokEnd; in FormTokenWithChars()
/external/llvm-project/clang/include/clang/Lex/
DLexer.h586 void FormTokenWithChars(Token &Result, const char *TokEnd, in FormTokenWithChars() argument
588 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars()
592 BufferPtr = TokEnd; in FormTokenWithChars()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp422 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlight() local
425 TokEnd = SM.getFileOffset(Tok.getLocation())+Tok.getLength(); in SyntaxHighlight()
430 HighlightRange(RB, TokOffs, TokEnd, BufferStart, in SyntaxHighlight()
/external/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp510 unsigned TokEnd = TokOffs+TokLen; in SyntaxHighlight() local
513 TokEnd = SM.getFileOffset(Tok.getLocation())+Tok.getLength(); in SyntaxHighlight()
518 HighlightRange(RB, TokOffs, TokEnd, BufferStart, in SyntaxHighlight()
/external/llvm-project/clang/lib/AST/
DCommentLexer.cpp279 void Lexer::formTokenWithChars(Token &Result, const char *TokEnd, in formTokenWithChars() argument
281 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars()
289 BufferPtr = TokEnd; in formTokenWithChars()
/external/clang/lib/AST/
DCommentLexer.cpp280 void Lexer::formTokenWithChars(Token &Result, const char *TokEnd, in formTokenWithChars() argument
282 const unsigned TokLen = TokEnd - BufferPtr; in formTokenWithChars()
290 BufferPtr = TokEnd; in formTokenWithChars()