/external/llvm-project/flang/lib/Parser/ |
D | type-parsers.h | 23 template <typename A> struct Parser { struct 25 constexpr Parser() {} in Parser() function 26 constexpr Parser(const Parser &) = default; 42 constexpr Parser<Program> program; // R501 - the "top level" production 43 constexpr Parser<SpecificationPart> specificationPart; // R504 44 constexpr Parser<ImplicitPart> implicitPart; // R505 45 constexpr Parser<DeclarationConstruct> declarationConstruct; // R507 46 constexpr Parser<SpecificationConstruct> specificationConstruct; // R508 47 constexpr Parser<ExecutionPart> executionPart; // R509 48 constexpr Parser<ExecutionPartConstruct> executionPartConstruct; // R510 [all …]
|
D | openmp-parsers.cpp | 53 maybe(Parser<OmpMapType>{}), Parser<OmpObjectList>{})) 71 TYPE_PARSER(construct<OmpScheduleModifier>(Parser<OmpScheduleModifierType>{}, 72 maybe("," >> Parser<OmpScheduleModifierType>{}) / ":")) 74 TYPE_PARSER(construct<OmpScheduleClause>(maybe(Parser<OmpScheduleModifier>{}), 101 TYPE_PARSER(construct<OmpReductionOperator>(Parser<DefinedOperator>{}) || 102 construct<OmpReductionOperator>(Parser<ProcedureDesignator>{})) 105 Parser<OmpReductionOperator>{} / ":", nonemptyList(designator))) 110 Parser<OmpObjectList>{})) 114 Parser<DefinedOperator>{}, scalarIntConstantExpr)) 117 construct<OmpDependSinkVec>(name, maybe(Parser<OmpDependSinkVecLength>{}))) [all …]
|
D | openacc-parsers.cpp | 30 parenthesized(Parser<AccObjectList>{}))) || 38 parenthesized(Parser<AccObjectList>{}))) || 41 parenthesized(Parser<AccObjectListWithModifier>{}))) || 44 parenthesized(Parser<AccObjectListWithModifier>{}))) || 47 parenthesized(Parser<AccObjectListWithModifier>{}))) || 49 Parser<AccDefaultClause>{})) || 53 parenthesized(Parser<AccObjectList>{}))) || 55 parenthesized(Parser<AccObjectList>{}))) || 57 parenthesized(Parser<AccObjectList>{}))) || 59 parenthesized(Parser<AccObjectList>{}))) || [all …]
|
D | executable-parsers.cpp | 38 construct<ExecutableConstruct>(indirect(Parser<DoConstruct>{})), 42 construct<ExecutableConstruct>(indirect(Parser<AssociateConstruct>{})), 43 construct<ExecutableConstruct>(indirect(Parser<BlockConstruct>{})), 44 construct<ExecutableConstruct>(indirect(Parser<CaseConstruct>{})), 45 construct<ExecutableConstruct>(indirect(Parser<ChangeTeamConstruct>{})), 46 construct<ExecutableConstruct>(indirect(Parser<CriticalConstruct>{})), 47 construct<ExecutableConstruct>(indirect(Parser<IfConstruct>{})), 48 construct<ExecutableConstruct>(indirect(Parser<SelectRankConstruct>{})), 49 construct<ExecutableConstruct>(indirect(Parser<SelectTypeConstruct>{})), 66 parenthesized(nonemptyList(Parser<AllocateShapeSpec>{}))))))}; [all …]
|
D | program-parsers.cpp | 39 construct<ProgramUnit>(indirect(Parser<Module>{})) || 42 construct<ProgramUnit>(indirect(Parser<Submodule>{})) || 43 construct<ProgramUnit>(indirect(Parser<BlockData>{})) || 44 construct<ProgramUnit>(indirect(Parser<MainProgram>{}))}; 69 many(statement(indirect(Parser<UseStmt>{}))), 70 many(unambiguousStatement(indirect(Parser<ImportStmt>{}))), 89 constexpr auto misplacedSpecificationStmt{Parser<UseStmt>{} >> 91 Parser<ImportStmt>{} >> 94 Parser<ImplicitStmt>{} >> 107 statement(indirect(Parser<StmtFunctionStmt>{}))), [all …]
|
D | Fortran-parsers.cpp | 110 construct<ImplicitPart>(many(Parser<ImplicitPartStmt>{}))) 115 construct<ImplicitPartStmt>(statement(indirect(Parser<ImplicitStmt>{}))), in TYPE_PARSER() 133 many(StartNewSubprogram{} >> Parser<InternalSubprogram>{}))) 140 first(construct<LiteralConstant>(Parser<HollerithLiteralConstant>{}), 143 construct<LiteralConstant>(Parser<ComplexLiteralConstant>{}), 144 construct<LiteralConstant>(Parser<BOZLiteralConstant>{}), 146 construct<LiteralConstant>(Parser<LogicalLiteralConstant>{}))) 206 "CHARACTER" >> maybe(Parser<CharSelector>{}))), 277 Parser<ComplexPart>{} / ",", Parser<ComplexPart>{}))) 281 sign, Parser<ComplexLiteralConstant>{})) in TYPE_PARSER() [all …]
|
/external/python/cpython3/Parser/pegen/ |
D | pegen.h | 77 } Parser; typedef 117 int _PyPegen_insert_memo(Parser *p, int mark, int type, void *node); 118 int _PyPegen_update_memo(Parser *p, int mark, int type, void *node); 119 int _PyPegen_is_memoized(Parser *p, int type, void *pres); 121 int _PyPegen_lookahead_with_name(int, expr_ty (func)(Parser *), Parser *); 122 int _PyPegen_lookahead_with_string(int , expr_ty (func)(Parser *, const char*), Parser *, const cha… 123 int _PyPegen_lookahead_with_int(int, Token *(func)(Parser *, int), Parser *, int); 124 int _PyPegen_lookahead(int, void *(func)(Parser *), Parser *); 126 Token *_PyPegen_expect_token(Parser *p, int type); 127 expr_ty _PyPegen_expect_soft_keyword(Parser *p, const char *keyword); [all …]
|
/external/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
D | AVRAsmParser.cpp | 43 MCAsmParser &Parser; member in __anonbdf55d090111::AVRAsmParser 91 AVRAsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in AVRAsmParser() argument 93 : MCTargetAsmParser(Options, STI, MII), STI(STI), Parser(Parser) { in AVRAsmParser() 94 MCAsmParserExtension::Initialize(Parser); in AVRAsmParser() 100 MCAsmParser &getParser() const { return Parser; } in getParser() 101 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() 337 StringRef Name = Parser.getTok().getString(); in parseRegisterName() 367 if (Parser.getTok().is(AsmToken::Identifier)) { in parseRegister() 369 if (Parser.getLexer().peekTok().is(AsmToken::Colon)) { in parseRegister() 370 AsmToken HighTok = Parser.getTok(); in parseRegister() [all …]
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3parser.inl | 4 Parser<ImplTraits>::Parser( ANTLR_UINT32 sizeHint, RecognizerSharedStateType* state ) 11 Parser<ImplTraits>::Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, function in Parser 19 Parser<ImplTraits>::Parser( ANTLR_UINT32 sizeHint, TokenStreamType* tstream, function in Parser 29 ANTLR_INLINE typename Parser<ImplTraits>::TokenStreamType* Parser<ImplTraits>::get_tstream() const 35 ANTLR_INLINE typename Parser<ImplTraits>::IntStreamType* Parser<ImplTraits>::get_istream() const 41 ANTLR_INLINE typename Parser<ImplTraits>::IntStreamType* Parser<ImplTraits>::get_parser_istream() c… 47 ANTLR_INLINE typename Parser<ImplTraits>::TokenStreamType* Parser<ImplTraits>::get_input() const 53 void Parser<ImplTraits>::fillExceptionData( ExceptionBaseType* ex ) 71 void Parser<ImplTraits>::displayRecognitionError( ANTLR_UINT8** tokenNames, ExceptionBaseType* ex ) 126 Parser<ImplTraits>::~Parser() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/ |
D | AVRAsmParser.cpp | 43 MCAsmParser &Parser; member in __anon968ccefd0111::AVRAsmParser 89 AVRAsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in AVRAsmParser() argument 91 : MCTargetAsmParser(Options, STI, MII), STI(STI), Parser(Parser) { in AVRAsmParser() 92 MCAsmParserExtension::Initialize(Parser); in AVRAsmParser() 98 MCAsmParser &getParser() const { return Parser; } in getParser() 99 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() 335 StringRef Name = Parser.getTok().getString(); in parseRegisterName() 365 if (Parser.getTok().is(AsmToken::Identifier)) { in parseRegister() 367 if (Parser.getLexer().peekTok().is(AsmToken::Colon)) { in parseRegister() 368 Parser.Lex(); in parseRegister() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeParser.cpp | 46 Parser->EnterBlock(NumWords); in BeginBlockInfoBlock() 50 Parser->Record.SetStartBit(StartBit); in SetBID() 51 Parser->Record.Entry.Kind = NaClBitstreamEntry::Record; in SetBID() 52 Parser->Record.Entry.ID = naclbitc::UNABBREV_RECORD; in SetBID() 53 Parser->Record.Data.Code = naclbitc::BLOCKINFO_CODE_SETBID; in SetBID() 54 Parser->Record.Data.Values = Values; in SetBID() 56 Parser->SetBID(); in SetBID() 61 Parser->Record.SetStartBit(StartBit); in EndBlockInfoBlock() 62 Parser->Record.Entry.Kind = NaClBitstreamEntry::EndBlock; in EndBlockInfoBlock() 63 Parser->Record.Entry.ID = naclbitc::END_BLOCK; in EndBlockInfoBlock() [all …]
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_run_test.cc | 38 Parser parser; in TEST_F() 56 Parser parser; in TEST_F() 65 Parser parser; in TEST_F() 85 Parser parser; in TEST_F() 105 Parser parser; in TEST_F() 125 Parser parser; in TEST_F() 145 Parser parser; in TEST_F() 165 Parser parser; in TEST_F() 185 Parser parser; in TEST_F() 205 Parser parser; in TEST_F() [all …]
|
D | parser_bind_test.cc | 38 Parser parser; in TEST_F() 75 Parser parser; in TEST_F() 96 Parser parser; in TEST_F() 116 Parser parser; in TEST_F() 137 Parser parser; in TEST_F() 158 Parser parser; in TEST_F() 179 Parser parser; in TEST_F() 200 Parser parser; in TEST_F() 223 Parser parser; in TEST_F() 252 Parser parser; in TEST_F() [all …]
|
D | parser_expect_test.cc | 40 Parser parser; in TEST_F() 82 Parser parser; in TEST_F() 125 Parser parser; in TEST_F() 148 Parser parser; in TEST_F() 172 Parser parser; in TEST_F() 195 Parser parser; in TEST_F() 218 Parser parser; in TEST_F() 241 Parser parser; in TEST_F() 264 Parser parser; in TEST_F() 287 Parser parser; in TEST_F() [all …]
|
D | parser_shader_test.cc | 27 Parser parser; in TEST_F() 45 Parser parser; in TEST_F() 54 Parser parser; in TEST_F() 63 Parser parser; in TEST_F() 80 Parser parser; in TEST_P() 101 Parser parser; in TEST_F() 110 Parser parser; in TEST_F() 119 Parser parser; in TEST_F() 138 Parser parser; in TEST_F() 162 Parser parser; in TEST_F() [all …]
|
D | parser_depth_test.cc | 48 Parser parser; in TEST_F() 91 Parser parser; in TEST_F() 118 Parser parser; in TEST_F() 145 Parser parser; in TEST_F() 172 Parser parser; in TEST_F() 199 Parser parser; in TEST_F() 226 Parser parser; in TEST_F() 253 Parser parser; in TEST_F() 280 Parser parser; in TEST_F() 307 Parser parser; in TEST_F() [all …]
|
D | parser_pipeline_set_test.cc | 34 Parser parser; in TEST_F() 51 Parser parser; in TEST_F() 68 Parser parser; in TEST_F() 85 Parser parser; in TEST_F() 102 Parser parser; in TEST_F() 119 Parser parser; in TEST_F() 136 Parser parser; in TEST_F() 153 Parser parser; in TEST_F() 170 Parser parser; in TEST_F() 187 Parser parser; in TEST_F() [all …]
|
D | parser_struct_test.cc | 32 Parser parser; in TEST_F() 80 Parser parser; in TEST_F() 92 Parser parser; in TEST_F() 112 Parser parser; in TEST_F() 124 Parser parser; in TEST_F() 136 Parser parser; in TEST_F() 148 Parser parser; in TEST_F() 160 Parser parser; in TEST_F() 172 Parser parser; in TEST_F() 184 Parser parser; in TEST_F() [all …]
|
D | parser_image_test.cc | 28 Parser parser; in TEST_F() 39 Parser parser; in TEST_F() 50 Parser parser; in TEST_F() 61 Parser parser; in TEST_F() 72 Parser parser; in TEST_F() 83 Parser parser; in TEST_F() 94 Parser parser; in TEST_F() 105 Parser parser; in TEST_F() 116 Parser parser; in TEST_F() 127 Parser parser; in TEST_F() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 79 Assert.AreEqual(expected, TestAllTypes.Parser.ParseJson(json)); in OriginalFieldNameAccepted() 198 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullElementProhibited() 205 Assert.AreEqual(new TestAllTypes(), TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullOverallValueAllowed() 214 Assert.Throws<InvalidProtocolBufferException>(() => TestMap.Parser.ParseJson(json)); in MapField_NullValueProhibited() 221 Assert.AreEqual(new TestMap(), TestMap.Parser.ParseJson(json)); in MapField_NullOverallValueAllowed() 227 … Assert.AreEqual(new StringValue { Value = "foo" }, StringValue.Parser.ParseJson("\"foo\"")); in IndividualWrapperTypes() 228 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes() 230 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes() 251 var parsed = TestAllTypes.Parser.ParseJson(json); in StringToInt32_Valid() 270 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt32_Invalid() [all …]
|
/external/libwebm/webm_parser/src/ |
D | master_value_parser.h | 158 template <typename Parser, typename Value, typename... Tags> 174 auto lambda = [child_member](Parser* parser) { in BuildParser() 177 return {id_, MakeChildParser<Parser, Value, Tags...>( in BuildParser() 183 constexpr SingleChildFactory<Parser, Value, TagUseAsStart, Tags...> 190 constexpr SingleChildFactory<Parser, Value, TagNotifyOnParseComplete, 201 template <typename Parser, typename Value, typename... Tags> 218 auto lambda = [child_member](Parser* parser) { in BuildParser() 224 return {id_, MakeChildParser<Parser, Value, Tags...>( in BuildParser() 230 constexpr RepeatedChildFactory<Parser, Value, TagUseAsStart, Tags...> 237 constexpr RepeatedChildFactory<Parser, Value, TagNotifyOnParseComplete, [all …]
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 79 Assert.AreEqual(expected, TestAllTypes.Parser.ParseJson(json)); in OriginalFieldNameAccepted() 198 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullElementProhibited() 205 Assert.AreEqual(new TestAllTypes(), TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullOverallValueAllowed() 214 Assert.Throws<InvalidProtocolBufferException>(() => TestMap.Parser.ParseJson(json)); in MapField_NullValueProhibited() 221 Assert.AreEqual(new TestMap(), TestMap.Parser.ParseJson(json)); in MapField_NullOverallValueAllowed() 227 … Assert.AreEqual(new StringValue { Value = "foo" }, StringValue.Parser.ParseJson("\"foo\"")); in IndividualWrapperTypes() 228 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes() 230 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes() 251 var parsed = TestAllTypes.Parser.ParseJson(json); in StringToInt32_Valid() 270 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt32_Invalid() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | flags_test.cpp | 22 scudo::FlagParser Parser; in testFlag() local 24 Parser.registerFlag(FlagName, FlagDesc, Type, &Flag); in testFlag() 25 Parser.parseString(Env); in testFlag() 79 scudo::FlagParser Parser; in testTwoFlags() local 82 Parser.registerFlag(Name1, FlagDesc, scudo::FlagType::FT_bool, &Flag1); in testTwoFlags() 83 Parser.registerFlag(Name2, FlagDesc, scudo::FlagType::FT_int, &Flag2); in testTwoFlags() 84 Parser.parseString(Env); in testTwoFlags() 107 scudo::FlagParser Parser; in TEST() local 109 scudo::registerFlags(&Parser, &Flags); in TEST() 114 Parser.parseString("dealloc_type_mismatch=true:delete_size_mismatch=true:" in TEST() [all …]
|
/external/scudo/standalone/tests/ |
D | flags_test.cpp | 22 scudo::FlagParser Parser; in testFlag() local 24 Parser.registerFlag(FlagName, FlagDesc, Type, &Flag); in testFlag() 25 Parser.parseString(Env); in testFlag() 79 scudo::FlagParser Parser; in testTwoFlags() local 82 Parser.registerFlag(Name1, FlagDesc, scudo::FlagType::FT_bool, &Flag1); in testTwoFlags() 83 Parser.registerFlag(Name2, FlagDesc, scudo::FlagType::FT_int, &Flag2); in testTwoFlags() 84 Parser.parseString(Env); in testTwoFlags() 107 scudo::FlagParser Parser; in TEST() local 109 scudo::registerFlags(&Parser, &Flags); in TEST() 114 Parser.parseString("dealloc_type_mismatch=true:delete_size_mismatch=true:" in TEST() [all …]
|
/external/openscreen/tools/cddl/ |
D | parse.cc | 28 struct Parser { struct 29 Parser(const Parser&) = delete; 30 Parser& operator=(const Parser&) = delete; 36 AstNode* AddNode(Parser* p, in AddNode() argument 93 void SkipWhitespace(Parser* p, bool skip_comments = true) { in SkipWhitespace() 118 bool TrySkipNewline(Parser* p) { in TrySkipNewline() 125 bool TrySkipCharacter(Parser* p, char c) { in TrySkipCharacter() 141 AssignType ParseAssignmentType(Parser* p) { in ParseAssignmentType() 159 AstNode* ParseType1(Parser* p); 160 AstNode* ParseType(Parser* p, bool skip_comments = true); [all …]
|