Home
last modified time | relevance | path

Searched refs:Parser (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp482 MipsOperand(KindTy K, MipsAsmParser &Parser) in MipsOperand() argument
483 : MCParsedAsmOperand(), Kind(K), AsmParser(Parser) {} in MipsOperand()
532 MipsAsmParser &Parser) { in CreateReg() argument
533 auto Op = make_unique<MipsOperand>(k_RegisterIndex, Parser); in CreateReg()
985 MipsAsmParser &Parser) { in CreateToken() argument
986 auto Op = make_unique<MipsOperand>(k_Token, Parser); in CreateToken()
998 SMLoc E, MipsAsmParser &Parser) { in createNumericReg() argument
1000 return CreateReg(Index, RegKind_Numeric, RegInfo, S, E, Parser); in createNumericReg()
1007 MipsAsmParser &Parser) { in createGPRReg() argument
1008 return CreateReg(Index, RegKind_GPR, RegInfo, S, E, Parser); in createGPRReg()
[all …]
/external/clang/lib/Parse/
DRAIIObjectsForParser.h52 SuppressAccessChecks(Parser &P, bool activate = true)
95 ParsingDeclRAIIObject(Parser &P, NoParent_t _) in ParsingDeclRAIIObject()
101 ParsingDeclRAIIObject(Parser &P, in ParsingDeclRAIIObject()
110 ParsingDeclRAIIObject(Parser &P, ParsingDeclRAIIObject *other) in ParsingDeclRAIIObject()
173 ParsingDeclSpec(Parser &P) in ParsingDeclSpec()
176 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec()
198 ParsingDeclarator(Parser &P, const ParsingDeclSpec &DS, TheContext C) in ParsingDeclarator()
225 ParsingFieldDeclarator(Parser &P, const ParsingDeclSpec &DS) in ParsingFieldDeclarator()
265 Parser &P;
268 ColonProtectionRAIIObject(Parser &p, bool Value = true)
[all …]
DParser.cpp43 IdentifierInfo *Parser::getSEHExceptKeyword() { in getSEHExceptKeyword()
51 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies) in Parser() function in Parser
74 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
78 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { in Diag()
88 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, in SuggestParentheses()
111 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume()
157 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { in ExpectAndConsumeSemi()
179 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, unsigned TST) { in ConsumeExtraSemi()
220 static bool HasFlagsSet(Parser::SkipUntilFlags L, Parser::SkipUntilFlags R) { in HasFlagsSet()
232 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) { in SkipUntil()
[all …]
DParseTentative.cpp50 bool Parser::isCXXDeclarationStatement() { in isCXXDeclarationStatement()
82 bool Parser::isCXXSimpleDeclaration(bool AllowForRangeDecl) { in isCXXSimpleDeclaration()
147 Parser::TPResult Parser::TryConsumeDeclarationSpecifier() { in TryConsumeDeclarationSpecifier()
231 Parser::TPResult Parser::TryParseSimpleDeclaration(bool AllowForRangeDecl) { in TryParseSimpleDeclaration()
284 Parser::TPResult Parser::TryParseInitDeclaratorList() { in TryParseInitDeclaratorList()
345 bool Parser::isCXXConditionDeclaration() { in isCXXConditionDeclaration()
405 bool Parser::isCXXTypeId(TentativeCXXTypeIdContext Context, bool &isAmbiguous) { in isCXXTypeId()
499 Parser::CXX11AttributeKind
500 Parser::isCXX11AttributeSpecifier(bool Disambiguate, in isCXX11AttributeSpecifier()
625 Parser::TPResult Parser::TryParsePtrOperatorSeq() { in TryParsePtrOperatorSeq()
[all …]
DParseAST.cpp35 const Parser &P;
37 PrettyStackTraceParserEntry(const Parser &p) : P(p) {} in PrettyStackTraceParserEntry()
112 std::unique_ptr<Parser> ParseOP( in ParseAST()
113 new Parser(S.getPreprocessor(), S, SkipFunctionBodies)); in ParseAST()
114 Parser &P = *ParseOP.get(); in ParseAST()
119 llvm::CrashRecoveryContextCleanupRegistrar<Parser> in ParseAST()
129 Parser::DeclGroupPtrTy ADecl; in ParseAST()
DParseCXXInlineMethods.cpp25 NamedDecl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS, in ParseCXXInlineMethodDef()
193 void Parser::ParseCXXNonStaticMemberInitializer(Decl *VarD) { in ParseCXXNonStaticMemberInitializer()
230 Parser::LateParsedDeclaration::~LateParsedDeclaration() {} in ~LateParsedDeclaration()
231 void Parser::LateParsedDeclaration::ParseLexedMethodDeclarations() {} in ParseLexedMethodDeclarations()
232 void Parser::LateParsedDeclaration::ParseLexedMemberInitializers() {} in ParseLexedMemberInitializers()
233 void Parser::LateParsedDeclaration::ParseLexedMethodDefs() {} in ParseLexedMethodDefs()
235 Parser::LateParsedClass::LateParsedClass(Parser *P, ParsingClass *C) in LateParsedClass()
238 Parser::LateParsedClass::~LateParsedClass() { in ~LateParsedClass()
242 void Parser::LateParsedClass::ParseLexedMethodDeclarations() { in ParseLexedMethodDeclarations()
246 void Parser::LateParsedClass::ParseLexedMemberInitializers() { in ParseLexedMemberInitializers()
[all …]
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp59 MCAsmParser &Parser; member in __anon0735be620111::UnwindContext
71 UnwindContext(MCAsmParser &P) : Parser(P), FPReg(ARM::SP) {} in UnwindContext()
92 Parser.Note(*FI, ".fnstart was specified here"); in emitFnStartLocNotes()
97 Parser.Note(*UI, ".cantunwind was specified here"); in emitCantUnwindLocNotes()
102 Parser.Note(*HI, ".handlerdata was specified here"); in emitHandlerDataLocNotes()
111 Parser.Note(*PI++, ".personality was specified here"); in emitPersonalityLocNotes()
113 Parser.Note(*PII++, ".personalityindex was specified here"); in emitPersonalityLocNotes()
348 ARMAsmParser(MCSubtargetInfo &STI, MCAsmParser &Parser, in ARMAsmParser() argument
350 : STI(STI), MII(MII), UC(Parser) { in ARMAsmParser()
351 MCAsmParserExtension::Initialize(Parser); in ARMAsmParser()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc96 Parser::Parser() in Parser() function in google::protobuf::compiler::Parser
105 Parser::~Parser() { in ~Parser()
110 inline bool Parser::LookingAt(const char* text) { in LookingAt()
114 inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { in LookingAtType()
118 inline bool Parser::AtEnd() { in AtEnd()
122 bool Parser::TryConsume(const char* text) { in TryConsume()
131 bool Parser::Consume(const char* text, const char* error) { in Consume()
140 bool Parser::Consume(const char* text) { in Consume()
149 bool Parser::ConsumeIdentifier(string* output, const char* error) { in ConsumeIdentifier()
160 bool Parser::ConsumeInteger(int* output, const char* error) { in ConsumeInteger()
[all …]
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp328 MCAsmParser &Parser; member in __anon765a2c600111::SystemZAsmParser
366 : MCTargetAsmParser(), STI(sti), Parser(parser) { in SystemZAsmParser()
367 MCAsmParserExtension::Initialize(Parser); in SystemZAsmParser()
456 Reg.StartLoc = Parser.getTok().getLoc(); in parseRegister()
459 if (Parser.getTok().isNot(AsmToken::Percent)) in parseRegister()
460 return Error(Parser.getTok().getLoc(), "register expected"); in parseRegister()
461 Parser.Lex(); in parseRegister()
464 if (Parser.getTok().isNot(AsmToken::Identifier)) in parseRegister()
468 StringRef Name = Parser.getTok().getString(); in parseRegister()
487 Reg.EndLoc = Parser.getTok().getLoc(); in parseRegister()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp116 AArch64AsmParser(MCSubtargetInfo &STI, MCAsmParser &Parser, in AArch64AsmParser() argument
119 MCAsmParserExtension::Initialize(Parser); in AArch64AsmParser()
1862 MCAsmParser &Parser = getParser(); in tryParseRegister() local
1863 const AsmToken &Tok = Parser.getTok(); in tryParseRegister()
1880 Parser.Lex(); // Eat identifier token. in tryParseRegister()
1887 MCAsmParser &Parser = getParser(); in tryMatchVectorRegister() local
1888 if (Parser.getTok().isNot(AsmToken::Identifier)) { in tryMatchVectorRegister()
1893 StringRef Name = Parser.getTok().getString(); in tryMatchVectorRegister()
1908 Parser.Lex(); // Eat the register token. in tryMatchVectorRegister()
1920 MCAsmParser &Parser = getParser(); in tryParseSysCROperand() local
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp38 MCAsmParser &Parser; member in __anon818a29540111::SparcAsmParser
84 : MCTargetAsmParser(), STI(sti), Parser(parser) { in SparcAsmParser()
428 const AsmToken &Tok = Parser.getTok(); in ParseRegister()
434 Parser.Lex(); in ParseRegister()
437 Parser.Lex(); in ParseRegister()
462 Parser.eatToEndOfStatement(); in ParseInstruction()
468 Parser.eatToEndOfStatement(); in ParseInstruction()
473 Parser.Lex(); // Eat the comma. in ParseInstruction()
477 Parser.eatToEndOfStatement(); in ParseInstruction()
484 Parser.eatToEndOfStatement(); in ParseInstruction()
[all …]
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp29 struct Parser::TokenInfo {
55 const char* const Parser::TokenInfo::ID_Bind = "bind";
58 class Parser::CodeTokenizer {
260 Parser::Sema::~Sema() {} in ~Sema()
262 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
268 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
272 struct Parser::ScopedContextEntry {
273 Parser *P;
275 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry()
293 bool Parser::parseIdentifierPrefixImpl(VariantValue *Value) { in parseIdentifierPrefixImpl()
[all …]
/external/deqp/executor/
DxeXMLParser.hpp136 class Parser class
142 Parser (void);
143 ~Parser (void);
167 Parser (const Parser& other);
168 Parser& operator= (const Parser& other);
222 inline int Parser::getDataSize (void) const in getDataSize()
230 inline deUint8 Parser::getDataByte (int offset) const in getDataByte()
238 inline void Parser::getDataStr (std::string& dst) const in getDataStr()
246 inline void Parser::appendDataStr (std::string& dst) const in appendDataStr()
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DCommandLine.java121 private static Parser theParser = null;
131 if (theParser == null) theParser = new Parser(); in process()
135 r = new Parser(); in process()
138 r.setProperty(Parser.schemaProperty, theSchema); in process()
141 r.setFeature(Parser.CDATAElementsFeature, false); in process()
145 r.setFeature(Parser.namespacesFeature, false); in process()
149 r.setFeature(Parser.ignoreBogonsFeature, true); in process()
153 r.setFeature(Parser.bogonsEmptyFeature, false); in process()
156 r.setFeature(Parser.bogonsEmptyFeature, true); in process()
160 r.setFeature(Parser.rootBogonsFeature, false); in process()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp65 MCAsmParser &Parser = getParser(); in consumeToken() local
66 SMLoc Result = Parser.getTok().getLoc(); in consumeToken()
67 Parser.Lex(); in consumeToken()
638 MCAsmParser &Parser = getParser(); in Error() local
640 return Parser.Error(L, Msg, Ranges); in Error()
646 MCAsmParser &Parser = getParser(); in ErrorAndEatStatement() local
647 Parser.eatToEndOfStatement(); in ErrorAndEatStatement()
771 X86AsmParser(MCSubtargetInfo &sti, MCAsmParser &Parser, in X86AsmParser() argument
778 CreateX86AsmInstrumentation(Options, Parser.getContext(), STI)); in X86AsmParser()
860 MCAsmParser &Parser = getParser(); in ParseRegister() local
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/
Dserializer_test.js4 Parser = parse5.Parser, variable
15 var parser = new Parser(),
37 parser = new Parser(),
59 parser = new Parser(),
82 parser = new Parser(),
118 parser = new Parser();
140 var parser = new Parser(treeAdapter),
/external/google-breakpad/src/processor/
Dcfi_frame_info_unittest.cc315 class Parser: public CFIParserFixture, public Test { }; class
317 TEST_F(Parser, Empty) { in TEST_F() argument
321 TEST_F(Parser, LoneColon) { in TEST_F() argument
325 TEST_F(Parser, CFANoExpr) { in TEST_F() argument
329 TEST_F(Parser, CFANoColonNoExpr) { in TEST_F() argument
333 TEST_F(Parser, RANoExpr) { in TEST_F() argument
337 TEST_F(Parser, RANoColonNoExpr) { in TEST_F() argument
341 TEST_F(Parser, RegNoExpr) { in TEST_F() argument
345 TEST_F(Parser, NoName) { in TEST_F() argument
349 TEST_F(Parser, NoNameTwo) { in TEST_F() argument
[all …]
/external/clang/unittests/ASTMatchers/Dynamic/
DParserTest.cpp24 class MockSema : public Parser::Sema {
40 Parser::parseExpression(Code, this, &Value, &Error); in parse()
163 Parser::NamedValueMap getTestNamedValues() { in getTestNamedValues()
164 Parser::NamedValueMap Values; in getTestNamedValues()
173 llvm::Optional<DynTypedMatcher> VarDecl(Parser::parseMatcherExpression( in TEST()
184 llvm::Optional<DynTypedMatcher> HasParameter(Parser::parseMatcherExpression( in TEST()
195 Parser::parseMatcherExpression( in TEST()
205 EXPECT_TRUE(!Parser::parseMatcherExpression( in TEST()
219 Parser::parseExpression(Code, &Value, &Error); in ParseWithError()
225 Parser::parseMatcherExpression(Code, &Error); in ParseMatcherWithError()
[all …]
/external/llvm/lib/Target/R600/AsmParser/
DAMDGPUAsmParser.cpp293 MCAsmParser &Parser; member in __anon92a627a80111::AMDGPUAsmParser
308 : MCTargetAsmParser(), STI(STI), MII(MII), Parser(_Parser), in AMDGPUAsmParser()
428 const AsmToken Tok = Parser.getTok(); in ParseRegister()
435 Parser.Lex(); in ParseRegister()
451 Parser.Lex(); in ParseRegister()
456 Parser.Lex(); in ParseRegister()
460 Parser.Lex(); in ParseRegister()
467 Parser.Lex(); in ParseRegister()
474 Parser.Lex(); in ParseRegister()
576 Parser.Lex(); in parseOperand()
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
DSAXParserImpl.java22 import org.ccil.cowan.tagsoup.Parser;
34 final org.ccil.cowan.tagsoup.Parser parser;
39 parser = new org.ccil.cowan.tagsoup.Parser(); in SAXParserImpl()
62 public org.xml.sax.Parser getParser() in getParser()
73 return parser.getFeature(Parser.namespacesFeature); in isNamespaceAware()
82 return parser.getFeature(Parser.validationFeature); in isValidating()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DParser.js4 org.antlr.runtime.Parser = function(input, state) { class in org.antlr.runtime
5 org.antlr.runtime.Parser.superclass.constructor.call(this, state);
9 org.antlr.lang.extend(org.antlr.runtime.Parser, org.antlr.runtime.BaseRecognizer, {
12 org.antlr.runtime.Parser.superclass.reset.call(this);
63 org.antlr.runtime.Parser.superclass.traceIn.call(
68 org.antlr.runtime.Parser.superclass.traceOut.call(
/external/deqp/framework/delibs/decpp/
DdeCommandLine.hpp245 class Parser class
248 Parser (void);
249 ~Parser (void);
259 Parser (const Parser&);
260 Parser& operator= (const Parser&);
308 inline Parser& operator<< (Parser& parser, const Option<OptType>& option) in operator <<()
318 void Parser::dispatchParse (const OptInfo* info, const char* src, TypedFieldMap* dst) in dispatchParse()
373 void Parser::addOption (const Option<OptType>& option) in addOption()
416 friend class Parser;
421 using detail::Parser;
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dtoy.ml8 Hashtbl.add Parser.binop_precedence '<' 10;
9 Hashtbl.add Parser.binop_precedence '+' 20;
10 Hashtbl.add Parser.binop_precedence '-' 20;
11 Hashtbl.add Parser.binop_precedence '*' 40; (* highest. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dtoy.ml10 Hashtbl.add Parser.binop_precedence '<' 10;
11 Hashtbl.add Parser.binop_precedence '+' 20;
12 Hashtbl.add Parser.binop_precedence '-' 20;
13 Hashtbl.add Parser.binop_precedence '*' 40; (* highest. *)
/external/llvm/lib/TableGen/
DMain.cpp54 static int createDependencyFile(const TGParser &Parser, const char *argv0) { in createDependencyFile() argument
67 for (const auto &Dep : Parser.getDependencies()) { in createDependencyFile()
96 TGParser Parser(SrcMgr, Records); in TableGenMain() local
98 if (Parser.ParseFile()) in TableGenMain()
109 if (int Ret = createDependencyFile(Parser, argv0)) in TableGenMain()

12345678910>>...14