/external/chromium_org/base/test/expectations/ |
D | parser.cc | 11 Parser::Parser(Delegate* delegate, const std::string& input) in Parser() function in test_expectations::Parser 20 Parser::~Parser() { in ~Parser() 23 void Parser::Parse() { in Parse() 29 StateFuncPtr state = &Parser::Start; in Parse() 35 inline bool Parser::HasNext() { in HasNext() 39 Parser::StateFunc Parser::Start() { in Start() 43 return SkipWhitespaceAndNewLines(&Parser::Start); in Start() 47 return &Parser::ParseComment; in Start() 57 return &Parser::ParseBugURL; in Start() 60 Parser::StateFunc Parser::ParseComment() { in ParseComment() [all …]
|
D | parser_unittest.cc | 13 using test_expectations::Parser; 16 public Parser::Delegate { 38 Parser(this, in TEST_F() 56 Parser(this, "BUG [ Win-XP Mac ] OhMy.MeOhMy = Failure").Parse(); in TEST_F() 77 Parser(this, in TEST_F() 100 Parser(this, in TEST_F() 126 Parser(this, in TEST_F() 157 Parser(this, " BUG [Linux] Weird = Skip ").Parse(); in TEST_F() 179 Parser(this, kErrors[i]).Parse(); in TEST_F() 194 Parser(this, kOneError[i]).Parse(); in TEST_F() [all …]
|
/external/chromium_org/tools/gn/ |
D | parser_unittest.cc | 29 scoped_ptr<ParseNode> result = Parser::Parse(tokens, &err); in DoParserPrintTest() 45 scoped_ptr<ParseNode> result = Parser::ParseExpression(tokens, &err); in DoExpressionPrintTest() 63 scoped_ptr<ParseNode> result = Parser::Parse(tokens, &err); in DoParserErrorTest() 81 scoped_ptr<ParseNode> result = Parser::ParseExpression(tokens, &err); in DoExpressionErrorTest() 92 TEST(Parser, Literal) { in TEST() argument 97 TEST(Parser, BinaryOp) { in TEST() argument 116 TEST(Parser, FunctionCall) { in TEST() argument 128 TEST(Parser, ParenExpression) { in TEST() argument 146 TEST(Parser, OrderOfOperationsLeftAssociative) { in TEST() argument 157 TEST(Parser, OrderOfOperationsEqualityBoolean) { in TEST() argument [all …]
|
D | parser.cc | 45 ParserHelper Parser::expressions_[] = { 47 {&Parser::Literal, NULL, -1}, // INTEGER 48 {&Parser::Literal, NULL, -1}, // STRING 49 {&Parser::Literal, NULL, -1}, // TRUE_TOKEN 50 {&Parser::Literal, NULL, -1}, // FALSE_TOKEN 51 {NULL, &Parser::Assignment, PRECEDENCE_ASSIGNMENT}, // EQUAL 52 {NULL, &Parser::BinaryOperator, PRECEDENCE_SUM}, // PLUS 53 {NULL, &Parser::BinaryOperator, PRECEDENCE_SUM}, // MINUS 54 {NULL, &Parser::Assignment, PRECEDENCE_ASSIGNMENT}, // PLUS_EQUALS 55 {NULL, &Parser::Assignment, PRECEDENCE_ASSIGNMENT}, // MINUS_EQUALS [all …]
|
D | parser.h | 17 class Parser; variable 18 typedef scoped_ptr<ParseNode> (Parser::*PrefixFunc)(Token token); 19 typedef scoped_ptr<ParseNode> (Parser::*InfixFunc)(scoped_ptr<ParseNode> left, 31 class Parser { 45 Parser(const std::vector<Token>& tokens, Err* err); 46 ~Parser(); 101 FRIEND_TEST_ALL_PREFIXES(Parser, BinaryOp); 102 FRIEND_TEST_ALL_PREFIXES(Parser, Block); 103 FRIEND_TEST_ALL_PREFIXES(Parser, Condition); 104 FRIEND_TEST_ALL_PREFIXES(Parser, Expression); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XPathParser.cpp | 44 extern int xpathyyparse(WebCore::XPath::Parser*); 47 Parser* Parser::currentParser = 0; 125 bool Parser::isBinaryOperatorContext() const in isBinaryOperatorContext() 139 void Parser::skipWS() in skipWS() 145 Token Parser::makeTokenAndAdvance(int code, int advance) in makeTokenAndAdvance() 151 Token Parser::makeTokenAndAdvance(int code, NumericOp::Opcode val, int advance) in makeTokenAndAdvance() 157 Token Parser::makeTokenAndAdvance(int code, EqTestOp::Opcode val, int advance) in makeTokenAndAdvance() 164 char Parser::peekAheadHelper() in peekAheadHelper() 174 char Parser::peekCurHelper() in peekCurHelper() 184 Token Parser::lexString() in lexString() [all …]
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 64 MCAsmParser &Parser; member in __anon5efbd75e0211::MipsAsmParser 201 : MCTargetAsmParser(), STI(sti), Parser(parser) { in MipsAsmParser() 206 MCAsmParser &getParser() const { return Parser; } in getParser() 207 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() 909 const AsmToken &Tok = Parser.getTok(); in tryParseRegister() 924 SMLoc S = Parser.getTok().getLoc(); in tryParseRegisterOperand() 932 Parser.getTok().getLoc())); in tryParseRegisterOperand() 933 Parser.Lex(); // Eat register token. in tryParseRegisterOperand() 952 Error(Parser.getTok().getLoc(), "unexpected token in operand"); in ParseOperand() 956 SMLoc S = Parser.getTok().getLoc(); in ParseOperand() [all …]
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 45 MCAsmParser &Parser; member in __anon47c7655e0111::AArch64AsmParser 58 : MCTargetAsmParser(), STI(_STI), Parser(_Parser) { in AArch64AsmParser() 1184 Error(Parser.getTok().getLoc(), "unexpected token in operand"); in ParseOperand() 1201 if (Parser.getTok().is(AsmToken::LBrac)) in ParseOperand() 1216 SMLoc StartLoc = Parser.getTok().getLoc(); in ParseOperand() 1223 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand() 1228 SMLoc StartLoc = Parser.getTok().getLoc(); in ParseOperand() 1231 Parser.Lex(); in ParseOperand() 1236 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand() 1241 SMLoc Loc = Parser.getTok().getLoc(); in ParseOperand() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 96 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/chromium_org/tools/deep_memory_profiler/tests/output/ |
D | buckets | 7 …Parser::ParseLeftHandSideExpression(@?) v8::internal::Parser::ParseLeftHandSideExpression(@?) v8::…
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 96 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/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 52 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 …]
|
D | ParseAST.cpp | 36 const Parser &P; 38 PrettyStackTraceParserEntry(const Parser &p) : P(p) {} in PrettyStackTraceParserEntry() 112 OwningPtr<Parser> ParseOP(new Parser(S.getPreprocessor(), S, in ParseAST() 114 Parser &P = *ParseOP.get(); in ParseAST() 119 llvm::CrashRecoveryContextCleanupRegistrar<Parser> in ParseAST() 129 Parser::DeclGroupPtrTy ADecl; in ParseAST()
|
D | ParseTentative.cpp | 50 bool Parser::isCXXDeclarationStatement() { in isCXXDeclarationStatement() 82 bool Parser::isCXXSimpleDeclaration(bool AllowForRangeDecl) { in isCXXSimpleDeclaration() 153 Parser::TPResult Parser::TryParseSimpleDeclaration(bool AllowForRangeDecl) { in TryParseSimpleDeclaration() 214 Parser::TPResult Parser::TryParseInitDeclaratorList() { in TryParseInitDeclaratorList() 274 bool Parser::isCXXConditionDeclaration() { in isCXXConditionDeclaration() 341 bool Parser::isCXXTypeId(TentativeCXXTypeIdContext Context, bool &isAmbiguous) { in isCXXTypeId() 443 Parser::CXX11AttributeKind 444 Parser::isCXX11AttributeSpecifier(bool Disambiguate, in isCXX11AttributeSpecifier() 623 Parser::TPResult Parser::TryParseDeclarator(bool mayBeAbstract, in TryParseDeclarator() 731 Parser::TPResult [all …]
|
D | Parser.cpp | 43 IdentifierInfo *Parser::getSEHExceptKeyword() { in getSEHExceptKeyword() 51 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies) in Parser() function in Parser 118 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { in Diag() 122 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { in Diag() 132 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, in SuggestParentheses() 161 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume() 197 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { in ExpectAndConsumeSemi() 216 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, unsigned TST) { in ConsumeExtraSemi() 264 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, bool StopAtSemi, in SkipUntil() 365 void Parser::EnterScope(unsigned ScopeFlags) { in EnterScope() [all …]
|
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
D | parser.js | 74 Parser.registerSubtype = function(subtypeConstructor) { 78 Parser.getSubtypeConstructors = function() { 86 function Parser(importer) { class 91 Parser.prototype = { class 96 Parser: Parser
|
D | clock_parser.js | 16 var Parser = tracing.importer.linux_perf.Parser; 23 Parser.call(this, importer); 33 __proto__: Parser.prototype, 58 Parser.registerSubtype(ClockParser);
|
D | drm_parser.js | 13 var Parser = tracing.importer.linux_perf.Parser; 20 Parser.call(this, importer); 27 __proto__: Parser.prototype, 57 Parser.registerSubtype(DrmParser);
|
D | sched_parser.js | 13 var Parser = tracing.importer.linux_perf.Parser; 20 Parser.call(this, importer); 43 __proto__: Parser.prototype, 78 Parser.registerSubtype(SchedParser);
|
/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/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 49 MCAsmParser &Parser; member in __anon65089acc0111::ARMAsmParser 99 MCAsmParser &getParser() const { return Parser; } in getParser() 100 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer() 104 return Parser.Warning(L, Msg, Ranges); in Warning() 108 return Parser.Error(L, Msg, Ranges); in Error() 246 : MCTargetAsmParser(), STI(_STI), Parser(_Parser), FPReg(-1) { in ARMAsmParser() 262 if (MCELFStreamer *MES = dyn_cast<MCELFStreamer>(&Parser.getStreamer())) in ARMAsmParser() 2595 StartLoc = Parser.getTok().getLoc(); in ParseRegister() 2596 EndLoc = Parser.getTok().getEndLoc(); in ParseRegister() 2607 const AsmToken &Tok = Parser.getTok(); in tryParseRegister() [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | Parser.js | 4 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/ |
D | SAXParserImpl.java | 22 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/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 296 MCAsmParser &Parser; member in __anonb2cfd2ca0111::SystemZAsmParser 331 : MCTargetAsmParser(), STI(sti), Parser(parser) { in SystemZAsmParser() 332 MCAsmParserExtension::Initialize(Parser); in SystemZAsmParser() 432 Reg.StartLoc = Parser.getTok().getLoc(); in parseRegister() 435 if (Parser.getTok().isNot(AsmToken::Percent)) in parseRegister() 436 return Error(Parser.getTok().getLoc(), "register expected"); in parseRegister() 437 Parser.Lex(); in parseRegister() 440 if (Parser.getTok().isNot(AsmToken::Identifier)) in parseRegister() 444 StringRef Name = Parser.getTok().getString(); in parseRegister() 463 Reg.EndLoc = Parser.getTok().getLoc(); in parseRegister() [all …]
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Parser.cpp | 28 struct Parser::TokenInfo { 53 const char* const Parser::TokenInfo::ID_Bind = "bind"; 56 class Parser::CodeTokenizer { 229 Parser::Sema::~Sema() {} in ~Sema() 235 bool Parser::parseMatcherExpressionImpl(VariantValue *Value) { in parseMatcherExpressionImpl() 323 bool Parser::parseExpressionImpl(VariantValue *Value) { in parseExpressionImpl() 354 Parser::Parser(CodeTokenizer *Tokenizer, Sema *S, in Parser() function in clang::ast_matchers::dynamic::Parser 358 class RegistrySema : public Parser::Sema { 375 bool Parser::parseExpression(StringRef Code, VariantValue *Value, in parseExpression() 381 bool Parser::parseExpression(StringRef Code, Sema *S, in parseExpression() [all …]
|