Home
last modified time | relevance | path

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

12345678910>>...16

/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp60 MCAsmParser &Parser; member in __anon59ff32670111::UnwindContext
72 UnwindContext(MCAsmParser &P) : Parser(P), FPReg(ARM::SP) {} in UnwindContext()
93 Parser.Note(*FI, ".fnstart was specified here"); in emitFnStartLocNotes()
98 Parser.Note(*UI, ".cantunwind was specified here"); in emitCantUnwindLocNotes()
103 Parser.Note(*HI, ".handlerdata was specified here"); in emitHandlerDataLocNotes()
112 Parser.Note(*PI++, ".personality was specified here"); in emitPersonalityLocNotes()
114 Parser.Note(*PII++, ".personalityindex was specified here"); in emitPersonalityLocNotes()
352 ARMAsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in ARMAsmParser() argument
354 : MCTargetAsmParser(Options, STI), MII(MII), UC(Parser) { in ARMAsmParser()
355 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/Mips/AsmParser/
DMipsAsmParser.cpp595 MipsOperand(KindTy K, MipsAsmParser &Parser) in MipsOperand() argument
596 : MCParsedAsmOperand(), Kind(K), AsmParser(Parser) {} in MipsOperand()
645 MipsAsmParser &Parser) { in CreateReg() argument
646 auto Op = make_unique<MipsOperand>(k_RegisterIndex, Parser); in CreateReg()
1147 MipsAsmParser &Parser) { in CreateToken() argument
1148 auto Op = make_unique<MipsOperand>(k_Token, Parser); in CreateToken()
1160 SMLoc E, MipsAsmParser &Parser) { in createNumericReg() argument
1162 return CreateReg(Index, RegKind_Numeric, RegInfo, S, E, Parser); in createNumericReg()
1169 MipsAsmParser &Parser) { in createGPRReg() argument
1170 return CreateReg(Index, RegKind_GPR, RegInfo, S, E, Parser); in createGPRReg()
[all …]
/external/clang/lib/Parse/
DRAIIObjectsForParser.h52 SuppressAccessChecks(Parser &P, bool activate = true)
101 ParsingDeclRAIIObject(Parser &P, NoParent_t _) in ParsingDeclRAIIObject()
107 ParsingDeclRAIIObject(Parser &P, in ParsingDeclRAIIObject()
116 ParsingDeclRAIIObject(Parser &P, ParsingDeclRAIIObject *other) in ParsingDeclRAIIObject()
179 ParsingDeclSpec(Parser &P) in ParsingDeclSpec()
182 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec()
204 ParsingDeclarator(Parser &P, const ParsingDeclSpec &DS, TheContext C) in ParsingDeclarator()
231 ParsingFieldDeclarator(Parser &P, const ParsingDeclSpec &DS) in ParsingFieldDeclarator()
271 Parser &P;
274 ColonProtectionRAIIObject(Parser &p, bool Value = true)
[all …]
DParser.cpp63 IdentifierInfo *Parser::getSEHExceptKeyword() { in getSEHExceptKeyword()
71 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies) in Parser() function in Parser
94 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
98 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { in Diag()
108 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, in SuggestParentheses()
131 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume()
177 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { in ExpectAndConsumeSemi()
199 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, unsigned TST) { in ConsumeExtraSemi()
240 static bool HasFlagsSet(Parser::SkipUntilFlags L, Parser::SkipUntilFlags R) { in HasFlagsSet()
252 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()
404 bool Parser::isCXXTypeId(TentativeCXXTypeIdContext Context, bool &isAmbiguous) { in isCXXTypeId()
498 Parser::CXX11AttributeKind
499 Parser::isCXX11AttributeSpecifier(bool Disambiguate, in isCXX11AttributeSpecifier()
624 Parser::TPResult Parser::TryParsePtrOperatorSeq() { in TryParsePtrOperatorSeq()
[all …]
DParseAST.cpp50 const Parser &P;
52 PrettyStackTraceParserEntry(const Parser &p) : P(p) {} in PrettyStackTraceParserEntry()
127 std::unique_ptr<Parser> ParseOP( in ParseAST()
128 new Parser(S.getPreprocessor(), S, SkipFunctionBodies)); in ParseAST()
129 Parser &P = *ParseOP.get(); in ParseAST()
136 llvm::CrashRecoveryContextCleanupRegistrar<Parser> in ParseAST()
146 Parser::DeclGroupPtrTy ADecl; in ParseAST()
DParseCXXInlineMethods.cpp25 NamedDecl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS, in ParseCXXInlineMethodDef()
190 void Parser::ParseCXXNonStaticMemberInitializer(Decl *VarD) { in ParseCXXNonStaticMemberInitializer()
227 Parser::LateParsedDeclaration::~LateParsedDeclaration() {} in ~LateParsedDeclaration()
228 void Parser::LateParsedDeclaration::ParseLexedMethodDeclarations() {} in ParseLexedMethodDeclarations()
229 void Parser::LateParsedDeclaration::ParseLexedMemberInitializers() {} in ParseLexedMemberInitializers()
230 void Parser::LateParsedDeclaration::ParseLexedMethodDefs() {} in ParseLexedMethodDefs()
232 Parser::LateParsedClass::LateParsedClass(Parser *P, ParsingClass *C) in LateParsedClass()
235 Parser::LateParsedClass::~LateParsedClass() { in ~LateParsedClass()
239 void Parser::LateParsedClass::ParseLexedMethodDeclarations() { in ParseLexedMethodDeclarations()
243 void Parser::LateParsedClass::ParseLexedMemberInitializers() { in ParseLexedMemberInitializers()
[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/SystemZ/AsmParser/
DSystemZAsmParser.cpp352 MCAsmParser &Parser; member in __anon2bc5d5650111::SystemZAsmParser
391 : MCTargetAsmParser(Options, sti), Parser(parser) { in SystemZAsmParser()
392 MCAsmParserExtension::Initialize(Parser); in SystemZAsmParser()
496 Reg.StartLoc = Parser.getTok().getLoc(); in parseRegister()
499 if (Parser.getTok().isNot(AsmToken::Percent)) in parseRegister()
500 return Error(Parser.getTok().getLoc(), "register expected"); in parseRegister()
501 Parser.Lex(); in parseRegister()
504 if (Parser.getTok().isNot(AsmToken::Identifier)) in parseRegister()
508 StringRef Name = Parser.getTok().getString(); in parseRegister()
529 Reg.EndLoc = Parser.getTok().getLoc(); in parseRegister()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp118 AArch64AsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in AArch64AsmParser() argument
121 MCAsmParserExtension::Initialize(Parser); in AArch64AsmParser()
1979 MCAsmParser &Parser = getParser(); in tryParseRegister() local
1980 const AsmToken &Tok = Parser.getTok(); in tryParseRegister()
1997 Parser.Lex(); // Eat identifier token. in tryParseRegister()
2004 MCAsmParser &Parser = getParser(); in tryMatchVectorRegister() local
2005 if (Parser.getTok().isNot(AsmToken::Identifier)) { in tryMatchVectorRegister()
2010 StringRef Name = Parser.getTok().getString(); in tryMatchVectorRegister()
2025 Parser.Lex(); // Eat the register token. in tryMatchVectorRegister()
2037 MCAsmParser &Parser = getParser(); in tryParseSysCROperand() local
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp67 MCAsmParser &Parser = getParser(); in consumeToken() local
68 SMLoc Result = Parser.getTok().getLoc(); in consumeToken()
69 Parser.Lex(); in consumeToken()
667 MCAsmParser &Parser = getParser(); in Error() local
669 return Parser.Error(L, Msg, Ranges); in Error()
675 MCAsmParser &Parser = getParser(); in ErrorAndEatStatement() local
676 Parser.eatToEndOfStatement(); in ErrorAndEatStatement()
805 X86AsmParser(const MCSubtargetInfo &sti, MCAsmParser &Parser, in X86AsmParser() argument
812 CreateX86AsmInstrumentation(Options, Parser.getContext(), STI)); in X86AsmParser()
894 MCAsmParser &Parser = getParser(); in ParseRegister() local
[all …]
/external/chromium-trace/catapult/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/v8/src/parsing/
Dpattern-rewriter.cc14 void Parser::PatternRewriter::DeclareAndInitializeVariables( in DeclareAndInitializeVariables()
35 void Parser::PatternRewriter::RewriteDestructuringAssignment( in RewriteDestructuringAssignment()
36 Parser* parser, RewritableAssignmentExpression* to_rewrite, Scope* scope) { in RewriteDestructuringAssignment()
57 Expression* Parser::PatternRewriter::RewriteDestructuringAssignment( in RewriteDestructuringAssignment()
58 Parser* parser, Assignment* assignment, Scope* scope) { in RewriteDestructuringAssignment()
68 bool Parser::PatternRewriter::IsAssignmentContext(PatternContext c) const { in IsAssignmentContext()
73 bool Parser::PatternRewriter::IsBindingContext(PatternContext c) const { in IsBindingContext()
78 Parser::PatternRewriter::PatternContext
79 Parser::PatternRewriter::SetAssignmentContextIfNeeded(Expression* node) { in SetAssignmentContextIfNeeded()
88 Parser::PatternRewriter::PatternContext
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp38 MCAsmParser &Parser; member in __anon444817d90111::SparcAsmParser
94 : MCTargetAsmParser(Options, sti), Parser(parser) { in SparcAsmParser()
561 const AsmToken &Tok = Parser.getTok(); in ParseRegister()
567 Parser.Lex(); in ParseRegister()
570 Parser.Lex(); in ParseRegister()
595 Parser.eatToEndOfStatement(); in ParseInstruction()
601 Parser.eatToEndOfStatement(); in ParseInstruction()
606 Parser.Lex(); // Eat the comma. in ParseInstruction()
610 Parser.eatToEndOfStatement(); in ParseInstruction()
617 Parser.eatToEndOfStatement(); in ParseInstruction()
[all …]
/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/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/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/caliper/caliper/src/main/java/com/google/caliper/util/
DParsers.java29 public static final Parser<String> IDENTITY = new Parser<String>() {
47 public static <T> Parser<T> conventionalParser(Class<T> resultType) in conventionalParser()
51 Parser<T> identity = (Parser<T>) IDENTITY; in conventionalParser()
82 abstract static class InvokingParser<T> implements Parser<T> {
/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. *)

12345678910>>...16