Searched refs:getTok (Results 1 - 20 of 20) sorted by relevance

/freebsd-11.0-release/contrib/expat/xmlwf/
H A Dct.c4 getTok(const char **pp) function
90 p = getTok(&next);
95 p = getTok(&next);
98 p = getTok(&next);
101 p = getTok(&next);
104 p = getTok(&next);
106 p = getTok(&next);
108 p = getTok(&next);
136 p = getTok(&next);
H A Dxmlmime.c5 getTok(const char **pp) function
94 p = getTok(&next);
99 p = getTok(&next);
102 p = getTok(&next);
107 p = getTok(&next);
110 p = getTok(&next);
112 p = getTok(&next);
114 p = getTok(&next);
143 p = getTok(&next);
/freebsd-11.0-release/contrib/llvm/lib/MC/MCParser/
H A DMCAsmParser.cpp32 const AsmToken &MCAsmParser::getTok() const { function in class:MCAsmParser
33 return getLexer().getTok();
H A DAsmParser.cpp727 const char *Start = getTok().getLoc().getPointer();
732 const char *End = getTok().getLoc().getPointer();
737 const char *Start = getTok().getLoc().getPointer();
743 const char *End = getTok().getLoc().getPointer();
757 EndLoc = Lexer.getTok().getEndLoc();
772 EndLoc = Lexer.getTok().getEndLoc();
839 return Error(Lexer.getTok().getLoc(),
885 SMLoc Loc = getTok().getLoc();
886 int64_t IntVal = getTok().getIntVal();
888 EndLoc = Lexer.getTok()
[all...]
H A DELFAsmParser.cpp226 SectionName = getTok().getIdentifier();
239 CurSize = getTok().getIdentifier().size() + 2;
242 CurSize = getTok().getIdentifier().size();
252 if (PrevLoc.getPointer() + CurSize != getTok().getLoc().getPointer())
315 StringRef flagId = getTok().getIdentifier();
400 StringRef FlagsStr = getTok().getStringContents();
626 StringRef Data = getTok().getIdentifier();
674 StringRef Data = getTok().getIdentifier();
H A DCOFFAsmParser.cpp318 SectionName = getTok().getIdentifier();
353 StringRef FlagsStr = getTok().getStringContents();
489 StringRef TypeId = getTok().getIdentifier();
H A DDarwinAsmParser.cpp870 SMLoc Loc = getParser().getTok().getLoc();
910 Major = getLexer().getTok().getIntVal();
920 Minor = getLexer().getTok().getIntVal();
931 Update = getLexer().getTok().getIntVal();
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h83 const AsmToken &getTok() { return getParser().getTok(); } function in class:llvm::MCAsmParserExtension
H A DMCAsmLexer.h168 const AsmToken &getTok() const { function in class:llvm::MCAsmLexer
200 AsmToken::TokenKind getKind() const { return getTok().getKind(); }
203 bool is(AsmToken::TokenKind K) const { return getTok().is(K); }
206 bool isNot(AsmToken::TokenKind K) const { return getTok().isNot(K); }
H A DMCAsmParser.h146 const AsmToken &getTok() const;
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp496 Reg.StartLoc = Parser.getTok().getLoc();
499 if (Parser.getTok().isNot(AsmToken::Percent))
500 return Error(Parser.getTok().getLoc(), "register expected");
504 if (Parser.getTok().isNot(AsmToken::Identifier))
508 StringRef Name = Parser.getTok().getString();
529 Reg.EndLoc = Parser.getTok().getLoc();
559 if (Parser.getTok().isNot(AsmToken::Percent))
628 return Error(Parser.getTok().getLoc(), "unexpected token in address");
639 SMLoc StartLoc = Parser.getTok().getLoc();
673 SMLoc::getFromPointer(Parser.getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2902 const AsmToken &Tok = getParser().getTok();
2916 const AsmToken &Tok = Parser.getTok();
2973 SMLoc S = Parser.getTok().getLoc();
2974 const AsmToken &Tok = Parser.getTok();
3012 if (Parser.getTok().is(AsmToken::Hash) ||
3013 Parser.getTok().is(AsmToken::Dollar)) {
3015 SMLoc ImmLoc = Parser.getTok().getLoc();
3041 } else if (Parser.getTok().is(AsmToken::Identifier)) {
3042 SMLoc L = Parser.getTok().getLoc();
3043 EndLoc = Parser.getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp55 SMLoc getLoc() const { return getParser().getTok().getLoc(); }
1980 const AsmToken &Tok = Parser.getTok();
2005 if (Parser.getTok().isNot(AsmToken::Identifier)) {
2010 StringRef Name = Parser.getTok().getString();
2040 if (Parser.getTok().isNot(AsmToken::Identifier)) {
2045 StringRef Tok = Parser.getTok().getIdentifier();
2069 const AsmToken &Tok = Parser.getTok();
2124 const AsmToken &Tok = Parser.getTok();
2153 if (Parser.getTok().is(AsmToken::Hash)) {
2204 if (Parser.getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp520 const AsmToken Tok = Parser.getTok();
644 SMLoc S = Parser.getTok().getLoc();
678 Major = getLexer().getTok().getIntVal();
688 Minor = getLexer().getTok().getIntVal();
735 Stepping = getLexer().getTok().getIntVal();
745 VendorName = getLexer().getTok().getStringContents();
755 ArchName = getLexer().getTok().getStringContents();
773 uint64_t Value = getLexer().getTok().getIntVal();
944 StringRef ID = getLexer().getTok().getIdentifier();
969 StringRef KernelName = Parser.getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp561 const AsmToken &Tok = Parser.getTok();
728 Parser.getTok().getLoc()));
732 SMLoc S = Parser.getTok().getLoc();
738 if (!matchRegisterName(Parser.getTok(), RegNo, RegKind))
742 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1);
756 Parser.getTok().getLoc()));
786 SMLoc S = Parser.getTok().getLoc();
787 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
798 if (matchRegisterName(Parser.getTok(), RegNo, RegKind)) {
799 StringRef name = Parser.getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp67 SMLoc Result = Parser.getTok().getLoc();
895 const AsmToken &PercentTok = Parser.getTok();
903 const AsmToken &Tok = Parser.getTok();
949 const AsmToken &IntTok = Parser.getTok();
965 return Error(Parser.getTok().getLoc(), "expected ')'");
967 EndLoc = Parser.getTok().getEndLoc();
972 EndLoc = Parser.getTok().getEndLoc();
990 EndLoc = Parser.getTok().getEndLoc();
1172 const AsmToken &Tok = Parser.getTok();
1239 SMLoc Loc = getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3906 Error(Parser.getTok().getLoc(), "unexpected token in operand");
3910 SMLoc S = Parser.getTok().getLoc();
3925 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
3948 SMLoc S = Parser.getTok().getLoc(); // Start location of the operand.
3952 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
4046 const AsmToken &Tok = Parser.getTok(); // Get next token, operation.
4062 const AsmToken &nextTok = Parser.getTok();
4153 S = Parser.getTok().getLoc();
4164 const AsmToken &Tok = Parser.getTok(); // Get the next token.
4169 SMLoc::getFromPointer(Parser.getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp252 AsmToken Tok = Lexer.getTok();
264 OS << "identifier: " << Lexer.getTok().getString();
267 OS << "int: " << Lexer.getTok().getString();
270 OS << "real: " << Lexer.getTok().getString();
273 OS << "string: " << Lexer.getTok().getString();
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1280 const AsmToken &Tok = Parser.getTok();
1471 StringRef poss = Parser.getTok().getString();
1482 return Error(Parser.getTok().getLoc(), "expected '('");
1493 return Error(Parser.getTok().getLoc(), "expected ')'");
1505 SMLoc S = Parser.getTok().getLoc();
1506 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1517 if (!MatchRegisterName(Parser.getTok(), RegNo, IntVal)) {
1532 if (!MatchRegisterName(Parser.getTok(), RegNo, IntVal)) {
1567 S = Parser.getTok().getLoc();
1571 return Error(Parser.getTok()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp735 if (!Parser.getTok().is(AsmToken::Colon))
738 StringRef Option = Parser.getTok().getString();
1110 AsmToken const &Token = getParser().getTok();
1147 AsmToken MaybeDotNew = Lexer.getTok();
1163 AsmToken MaybeDotNew = Lexer.getTok();
1181 AsmToken const &Second = Lexer.getTok();
1219 StringRef RawString(Lexer.getTok().getString().data(), 0);
1223 AsmToken const &Token = Lexer.getTok();
1229 bool Contigious = Lexer.getTok().getString().data() ==
1288 if (!getLexer().getTok()
[all...]

Completed in 328 milliseconds