/external/python/cpython3/ |
D | .hgtouch | 9 Include/Python-ast.h: Parser/Python.asdl Parser/asdl.py Parser/asdl_c.py 16 …Parser/acceler.c Parser/grammar1.c Parser/listnode.c Parser/node.c Parser/parser.c Parser/bitset.c… 17 …Parser/acceler.c Parser/grammar1.c Parser/listnode.c Parser/node.c Parser/parser.c Parser/bitset.c…
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeParser.cpp | 48 Parser->EnterBlock(NumWords); in BeginBlockInfoBlock() 52 Parser->Record.SetStartBit(StartBit); in SetBID() 53 Parser->Record.Entry.Kind = NaClBitstreamEntry::Record; in SetBID() 54 Parser->Record.Entry.ID = naclbitc::UNABBREV_RECORD; in SetBID() 55 Parser->Record.Data.Code = naclbitc::BLOCKINFO_CODE_SETBID; in SetBID() 56 Parser->Record.Data.Values = Values; in SetBID() 58 Parser->SetBID(); in SetBID() 63 Parser->Record.SetStartBit(StartBit); in EndBlockInfoBlock() 64 Parser->Record.Entry.Kind = NaClBitstreamEntry::EndBlock; in EndBlockInfoBlock() 65 Parser->Record.Entry.ID = naclbitc::END_BLOCK; in EndBlockInfoBlock() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 79 Assert.AreEqual(expected, TestAllTypes.Parser.ParseJson(json)); in OriginalFieldNameAccepted() 195 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullElementProhibited() 202 Assert.AreEqual(new TestAllTypes(), TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullOverallValueAllowed() 211 Assert.Throws<InvalidProtocolBufferException>(() => TestMap.Parser.ParseJson(json)); in MapField_NullValueProhibited() 218 Assert.AreEqual(new TestMap(), TestMap.Parser.ParseJson(json)); in MapField_NullOverallValueAllowed() 224 … Assert.AreEqual(new StringValue { Value = "foo" }, StringValue.Parser.ParseJson("\"foo\"")); in IndividualWrapperTypes() 225 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes() 227 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes() 248 var parsed = TestAllTypes.Parser.ParseJson(json); in StringToInt32_Valid() 267 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt32_Invalid() [all …]
|
/external/trappy/tests/ |
D | test_stats_grammar.py | 19 from trappy.stats.grammar import Parser 35 parser = Parser(trappy.BareTrace()) 49 parser = Parser(trappy.FTrace()) 63 parser = Parser(trappy.FTrace()) 83 parser = Parser(trappy.FTrace()) 96 parser = Parser(trappy.FTrace()) 106 parser = Parser(trappy.FTrace()) 117 parser = Parser(trace) 129 parser = Parser(trappy.FTrace()) 139 parser = Parser(trappy.BareTrace()) [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 45 MCAsmParser &Parser; member in __anonb2dad38b0111::ARMAsmParser 77 MCAsmParser &getParser() const { return Parser; } in getParser() 78 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() 80 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); } in Warning() 81 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error() 217 : MCTargetAsmParser(), STI(_STI), Parser(_Parser) { in ARMAsmParser() 1801 const AsmToken &Tok = Parser.getTok(); in tryParseRegister() 1819 Parser.Lex(); // Eat identifier token. in tryParseRegister() 1825 if (Parser.getTok().is(AsmToken::LBrac)) { in tryParseRegister() 1826 SMLoc SIdx = Parser.getTok().getLoc(); in tryParseRegister() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 60 MCAsmParser &Parser; member in __anon7f4633df0111::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() 371 ARMAsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in ARMAsmParser() argument 373 : MCTargetAsmParser(Options, STI), MII(MII), UC(Parser) { in ARMAsmParser() 374 MCAsmParserExtension::Initialize(Parser); in ARMAsmParser() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 123 Parser::Parser() in Parser() function in google::protobuf::compiler::Parser 132 Parser::~Parser() { in ~Parser() 137 inline bool Parser::LookingAt(const char* text) { in LookingAt() 141 inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { in LookingAtType() 145 inline bool Parser::AtEnd() { in AtEnd() 149 bool Parser::TryConsume(const char* text) { in TryConsume() 158 bool Parser::Consume(const char* text, const char* error) { in Consume() 167 bool Parser::Consume(const char* text) { in Consume() 176 bool Parser::ConsumeIdentifier(string* output, const char* error) { in ConsumeIdentifier() 187 bool Parser::ConsumeInteger(int* output, const char* error) { in ConsumeInteger() [all …]
|
/external/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 52 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 …]
|
D | Parser.cpp | 63 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 …]
|
D | ParseTentative.cpp | 50 bool Parser::isCXXDeclarationStatement() { in isCXXDeclarationStatement() 82 bool Parser::isCXXSimpleDeclaration(bool AllowForRangeDecl) { in isCXXSimpleDeclaration() 148 Parser::TPResult Parser::TryConsumeDeclarationSpecifier() { in TryConsumeDeclarationSpecifier() 232 Parser::TPResult Parser::TryParseSimpleDeclaration(bool AllowForRangeDecl) { in TryParseSimpleDeclaration() 285 Parser::TPResult Parser::TryParseInitDeclaratorList() { in TryParseInitDeclaratorList() 333 struct Parser::ConditionDeclarationOrInitStatementState { 334 Parser &P; 339 ConditionDeclarationOrInitStatementState(Parser &P, bool CanBeInitStatement) in ConditionDeclarationOrInitStatementState() 411 Parser::ConditionOrInitStatement 412 Parser::isCXXConditionDeclarationOrInitStatement(bool CanBeInitStatement) { in isCXXConditionDeclarationOrInitStatement() [all …]
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 593 MipsOperand(KindTy K, MipsAsmParser &Parser) in MipsOperand() argument 594 : MCParsedAsmOperand(), Kind(K), AsmParser(Parser) {} in MipsOperand() 638 MipsAsmParser &Parser) { in CreateReg() argument 639 auto Op = make_unique<MipsOperand>(k_RegisterIndex, Parser); in CreateReg() 1219 MipsAsmParser &Parser) { in CreateToken() argument 1220 auto Op = make_unique<MipsOperand>(k_Token, Parser); in CreateToken() 1232 SMLoc E, MipsAsmParser &Parser) { in createNumericReg() argument 1234 return CreateReg(Index, RegKind_Numeric, RegInfo, S, E, Parser); in createNumericReg() 1241 MipsAsmParser &Parser) { in createGPRReg() argument 1242 return CreateReg(Index, RegKind_GPR, RegInfo, S, E, Parser); in createGPRReg() [all …]
|
/external/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 542 MCAsmParser &Parser; member in __anon1f7b021b0111::AMDGPUAsmParser 598 : MCTargetAsmParser(Options, STI), MII(MII), Parser(_Parser), in AMDGPUAsmParser() 602 MCAsmParserExtension::Initialize(Parser); in AMDGPUAsmParser() 829 StringRef RegName = Parser.getTok().getString(); in ParseAMDGPURegister() 831 Parser.Lex(); in ParseAMDGPURegister() 851 Parser.Lex(); in ParseAMDGPURegister() 855 Parser.Lex(); in ParseAMDGPURegister() 859 Parser.Lex(); in ParseAMDGPURegister() 867 Parser.Lex(); in ParseAMDGPURegister() 877 Parser.Lex(); in ParseAMDGPURegister() [all …]
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Parser.cpp | 29 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/compiler-rt/lib/esan/ |
D | esan_flags.cpp | 32 static void registerEsanFlags(FlagParser *Parser, Flags *F) { in registerEsanFlags() argument 34 RegisterFlag(Parser, #Name, Description, &F->Name); in registerEsanFlags() 44 FlagParser Parser; in initializeFlags() local 45 registerEsanFlags(&Parser, F); in initializeFlags() 46 RegisterCommonFlags(&Parser); in initializeFlags() 47 Parser.ParseString(GetEnv(EsanOptsEnv)); in initializeFlags() 53 Parser.PrintFlagDescriptions(); in initializeFlags()
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 352 MCAsmParser &Parser; member in __anonbed2cedd0111::SystemZAsmParser 391 : MCTargetAsmParser(Options, sti), Parser(parser) { in SystemZAsmParser() 392 MCAsmParserExtension::Initialize(Parser); in SystemZAsmParser() 499 Reg.StartLoc = Parser.getTok().getLoc(); in parseRegister() 502 if (Parser.getTok().isNot(AsmToken::Percent)) in parseRegister() 503 return Error(Parser.getTok().getLoc(), "register expected"); in parseRegister() 504 Parser.Lex(); in parseRegister() 507 if (Parser.getTok().isNot(AsmToken::Identifier)) in parseRegister() 511 StringRef Name = Parser.getTok().getString(); in parseRegister() 532 Reg.EndLoc = Parser.getTok().getLoc(); in parseRegister() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 65 MCAsmParser &Parser = getParser(); in consumeToken() local 66 SMLoc Result = Parser.getTok().getLoc(); in consumeToken() 67 Parser.Lex(); in consumeToken() 665 MCAsmParser &Parser = getParser(); in Error() local 667 return Parser.Error(L, Msg, Ranges); in Error() 673 MCAsmParser &Parser = getParser(); in ErrorAndEatStatement() local 674 Parser.eatToEndOfStatement(); in ErrorAndEatStatement() 803 X86AsmParser(const MCSubtargetInfo &sti, MCAsmParser &Parser, in X86AsmParser() argument 810 CreateX86AsmInstrumentation(Options, Parser.getContext(), STI)); in X86AsmParser() 871 MCAsmParser &Parser = getParser(); in ParseRegister() local [all …]
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 120 AArch64AsmParser(const MCSubtargetInfo &STI, MCAsmParser &Parser, in AArch64AsmParser() argument 123 MCAsmParserExtension::Initialize(Parser); in AArch64AsmParser() 1965 MCAsmParser &Parser = getParser(); in tryParseRegister() local 1966 const AsmToken &Tok = Parser.getTok(); in tryParseRegister() 1983 Parser.Lex(); // Eat identifier token. in tryParseRegister() 1990 MCAsmParser &Parser = getParser(); in tryMatchVectorRegister() local 1991 if (Parser.getTok().isNot(AsmToken::Identifier)) { in tryMatchVectorRegister() 1996 StringRef Name = Parser.getTok().getString(); in tryMatchVectorRegister() 2011 Parser.Lex(); // Eat the register token. in tryMatchVectorRegister() 2023 MCAsmParser &Parser = getParser(); in tryParseSysCROperand() local [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitcodeParser.h | 379 NaClBitcodeParserListener(NaClBitcodeParser *Parser) in NaClBitcodeParserListener() argument 380 : Parser(Parser), GlobalBlockID(naclbitc::BLOCKINFO_BLOCK_ID) { in NaClBitcodeParserListener() 396 NaClBitcodeParser *Parser; variable 413 NaClBitcodeParser *Parser; variable 415 ErrorHandler(NaClBitcodeParser *Parser, in ErrorHandler() argument 417 NaClBitstreamCursor::ErrorHandler(Cursor), Parser(Parser) {} in ErrorHandler() 420 Parser->FatalAt(getCurrentBitNo(), ErrorMessage); in Fatal() 476 NaClBitcodeParser Parser(BlockID, this); in ParseBlock() 477 return Parser.ParseThisBlock(); in ParseBlock() 564 NaClBitcodeParser *CallingParser = Listener->Parser; in ParseThisBlock() [all …]
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
D | CommandLine.java | 121 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/deqp/executor/ |
D | xeXMLParser.hpp | 136 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/skqp/src/sksl/ |
D | SkSLParser.cpp | 55 AutoDepth(Parser* p) in AutoDepth() 73 Parser* fParser; 76 Parser::Parser(const char* text, size_t length, SymbolTable& types, ErrorReporter& errors) in Parser() function in SkSL::Parser 85 std::vector<std::unique_ptr<ASTDeclaration>> Parser::file() { in file() 116 Token Parser::nextRawToken() { in nextRawToken() 126 Token Parser::nextToken() { in nextToken() 135 void Parser::pushback(Token t) { in pushback() 140 Token Parser::peek() { in peek() 147 bool Parser::checkNext(Token::Kind kind, Token* result) { in checkNext() 162 bool Parser::expect(Token::Kind kind, const char* expected, Token* result) { in expect() [all …]
|
/external/skia/src/sksl/ |
D | SkSLParser.cpp | 55 AutoDepth(Parser* p) in AutoDepth() 73 Parser* fParser; 76 Parser::Parser(const char* text, size_t length, SymbolTable& types, ErrorReporter& errors) in Parser() function in SkSL::Parser 85 std::vector<std::unique_ptr<ASTDeclaration>> Parser::file() { in file() 116 Token Parser::nextRawToken() { in nextRawToken() 126 Token Parser::nextToken() { in nextToken() 135 void Parser::pushback(Token t) { in pushback() 140 Token Parser::peek() { in peek() 147 bool Parser::checkNext(Token::Kind kind, Token* result) { in checkNext() 162 bool Parser::expect(Token::Kind kind, const char* expected, Token* result) { in expect() [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | idl.h | 123 class Parser; variable 224 const Parser &parser) const; 245 const Parser &parser) const; 276 const Parser &parser) const; 329 const Parser &parser) const; 499 class Parser : public ParserState { 501 explicit Parser(const IDLOptions &options = IDLOptions()) 535 ~Parser() { in ~Parser() 572 std::string ConformTo(const Parser &base); 726 extern bool GenerateText(const Parser &parser, [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 37 MCAsmParser &Parser; member in __anon358846570111::X86ATTAsmParser 40 MCAsmParser &getParser() const { return Parser; } in getParser() 42 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() 44 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error() 83 : MCTargetAsmParser(), STI(sti), Parser(parser) { in X86ATTAsmParser() 395 const AsmToken &TokPercent = Parser.getTok(); in ParseRegister() 398 Parser.Lex(); // Eat percent token. in ParseRegister() 400 const AsmToken &Tok = Parser.getTok(); in ParseRegister() 428 Parser.Lex(); // Eat 'st' in ParseRegister() 436 const AsmToken &IntTok = Parser.getTok(); in ParseRegister() [all …]
|
/external/google-breakpad/src/processor/ |
D | cfi_frame_info_unittest.cc | 315 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 …]
|