Searched refs:TokStart (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 41 TokStart = nullptr; in setBuffer() 91 StringRef(TokStart, CurPtr - TokStart)); in LexFloatLiteral() 117 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 122 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 135 return ReturnError(TokStart, "invalid hexadecimal floating-point constant: " in LexHexFloatLiteral() 138 return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart)); in LexHexFloatLiteral() 161 if (CurPtr == TokStart+1 && TokStart[0] == '.') in LexIdentifier() 162 return AsmToken(AsmToken::Dot, StringRef(TokStart, 1)); in LexIdentifier() 164 return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart)); in LexIdentifier() 182 return ReturnError(TokStart, "unterminated comment"); in LexSlash() [all …]
|
D | MCAsmLexer.cpp | 15 MCAsmLexer::MCAsmLexer() : TokStart(nullptr), SkipSpace(true) { in MCAsmLexer() 23 return SMLoc::getFromPointer(TokStart); in getLoc()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 190 TokStart = CurPtr; in LexToken() 216 StrVal.assign(TokStart, CurPtr-1); in LexToken() 264 if (const char *Ptr = isLabelTail(TokStart)) { in LexDollar() 266 StrVal.assign(TokStart, CurPtr - 1); in LexDollar() 282 StrVal.assign(TokStart + 2, CurPtr - 1); in LexDollar() 349 StrVal.assign(TokStart+2, CurPtr-1); in LexVar() 369 uint64_t Val = atoull(TokStart+1, CurPtr); in LexVar() 421 StrVal.assign(TokStart+1, CurPtr); // Skip ! in LexExclaim() 436 uint64_t Val = atoull(TokStart+1, CurPtr); in LexHash() 794 if ((TokStart[0] == 'u' || TokStart[0] == 's') && in LexIdentifier() [all …]
|
D | LLLexer.h | 37 const char *TokStart; variable 54 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 33 TokStart = nullptr; in TGLexer() 37 return SMLoc::getFromPointer(TokStart); in getLoc() 89 TokStart = CurPtr; in LexToken() 100 return ReturnError(TokStart, "Unexpected character"); in LexToken() 133 return ReturnError(TokStart, "Unexpected character"); in LexToken() 237 return ReturnError(TokStart, "Invalid variable name"); in LexVarName() 252 const char *IdentStart = TokStart; in LexIdentifier() 355 PrintError(TokStart, "Unterminated comment!"); in SkipCComment() 389 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber() 394 return ReturnError(TokStart, "Invalid hexadecimal number"); in LexNumber() [all …]
|
D | TGLexer.h | 73 const char *TokStart; variable 114 return std::make_pair(CurIntVal, (CurPtr - TokStart)-2); in getCurBinaryIntVal()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 331 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling() local 340 return std::string(TokStart, TokStart + Tok.getLength()); in getSpelling() 344 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin())); in getSpelling() 363 const char *TokStart = nullptr; in getSpelling() local 366 TokStart = Tok.getRawIdentifier().data(); in getSpelling() 377 TokStart = Tok.getLiteralData(); in getSpelling() 379 if (!TokStart) { in getSpelling() 382 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling() 393 Buffer = TokStart; in getSpelling() 398 return getSpellingSlow(Tok, TokStart, LangOpts, const_cast<char*>(Buffer)); in getSpelling() [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 130 const char *TokStart;
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 302 static SourceLocation AdvanceToTokenCharacter(SourceLocation TokStart,
|
D | Preprocessor.h | 1468 SourceLocation AdvanceToTokenCharacter(SourceLocation TokStart, in AdvanceToTokenCharacter() argument 1470 return Lexer::AdvanceToTokenCharacter(TokStart, Char, SourceMgr, LangOpts); in AdvanceToTokenCharacter()
|