/external/expat/amiga/include/inline4/ |
D | expat.h | 31 #define XML_ExternalEntityParserCreate(parser, context, encoding) IExpat->XML_ExternalEntityParserC… argument 32 #define XML_ParserFree(parser) IExpat->XML_ParserFree(parser) argument 33 #define XML_Parse(parser, s, len, isFinal) IExpat->XML_Parse(parser, s, len, isFinal) argument 34 #define XML_ParseBuffer(parser, len, isFinal) IExpat->XML_ParseBuffer(parser, len, isFinal) argument 35 #define XML_GetBuffer(parser, len) IExpat->XML_GetBuffer(parser, len) argument 36 #define XML_SetStartElementHandler(parser, start) IExpat->XML_SetStartElementHandler(parser, start) argument 37 #define XML_SetEndElementHandler(parser, end) IExpat->XML_SetEndElementHandler(parser, end) argument 38 #define XML_SetElementHandler(parser, start, end) IExpat->XML_SetElementHandler(parser, start, end) argument 39 #define XML_SetCharacterDataHandler(parser, handler) IExpat->XML_SetCharacterDataHandler(parser, ha… argument 40 …define XML_SetProcessingInstructionHandler(parser, handler) IExpat->XML_SetProcessingInstructionHa… argument [all …]
|
/external/expat/amiga/ |
D | expat_vectors.c | 34 … _Expat_XML_ExternalEntityParserCreate(struct ExpatIFace *, XML_Parser parser, const XML_Char * … 35 extern void _Expat_XML_ParserFree(struct ExpatIFace *, XML_Parser parser); 36 extern enum XML_Status _Expat_XML_Parse(struct ExpatIFace *, XML_Parser parser, const char * … 37 extern enum XML_Status _Expat_XML_ParseBuffer(struct ExpatIFace *, XML_Parser parser, int len… 38 extern void * _Expat_XML_GetBuffer(struct ExpatIFace *, XML_Parser parser, int len); 39 … _Expat_XML_SetStartElementHandler(struct ExpatIFace *, XML_Parser parser, XML_StartElementH… 40 extern void _Expat_XML_SetEndElementHandler(struct ExpatIFace *, XML_Parser parser… 41 extern void _Expat_XML_SetElementHandler(struct ExpatIFace *, XML_Parser parser, X… 42 … _Expat_XML_SetCharacterDataHandler(struct ExpatIFace *, XML_Parser parser, XML_CharacterData… 43 …xpat_XML_SetProcessingInstructionHandler(struct ExpatIFace *, XML_Parser parser, XML_ProcessingIns… [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3parser.c | 38 static void setDebugListener (pANTLR3_PARSER parser, pANTLR3_DEBUG_EVENT_LISTENER dbg); 39 static void setTokenStream (pANTLR3_PARSER parser, pANTLR3_TOKEN_STREAM); 40 static pANTLR3_TOKEN_STREAM getTokenStream (pANTLR3_PARSER parser); 41 static void freeParser (pANTLR3_PARSER parser); 46 pANTLR3_PARSER parser; in antlr3ParserNewStreamDbg() local 48 parser = antlr3ParserNewStream(sizeHint, tstream, state); in antlr3ParserNewStreamDbg() 50 if (parser == NULL) in antlr3ParserNewStreamDbg() 55 parser->setDebugListener(parser, dbg); in antlr3ParserNewStreamDbg() 57 return parser; in antlr3ParserNewStreamDbg() 63 pANTLR3_PARSER parser; in antlr3ParserNew() local [all …]
|
D | antlr3treeparser.c | 42 static void setTreeNodeStream (pANTLR3_TREE_PARSER parser, pANTLR3_COMMON_TREE_NODE_STREAM in… 44 getTreeNodeStream (pANTLR3_TREE_PARSER parser); 45 static void freeParser (pANTLR3_TREE_PARSER parser); 54 pANTLR3_TREE_PARSER parser; in antlr3TreeParserNewStream() local 58 parser =(pANTLR3_TREE_PARSER) ANTLR3_MALLOC(sizeof(ANTLR3_TREE_PARSER)); in antlr3TreeParserNewStream() 60 if (parser == NULL) in antlr3TreeParserNewStream() 67 parser->rec = antlr3BaseRecognizerNew(ANTLR3_TYPE_PARSER, sizeHint, state); in antlr3TreeParserNewStream() 69 if (parser->rec == NULL) in antlr3TreeParserNewStream() 71 parser->free(parser); in antlr3TreeParserNewStream() 78 parser->rec->super = parser; in antlr3TreeParserNewStream() [all …]
|
/external/webkit/Source/WebCore/xml/ |
D | XPathGrammar.y | 57 %parse-param { WebCore::XPath::Parser* parser } 123 parser->m_topExpr = $1; 143 parser->registerParseNode($$); 155 parser->unregisterParseNode($1); 164 parser->unregisterParseNode($1); 165 parser->registerParseNode($$); 171 parser->unregisterParseNode($3); 178 parser->unregisterParseNode($2); 179 parser->unregisterParseNode($3); 188 parser->deletePredicateVector($2); [all …]
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
D | MUCUserProvider.java | 51 public PacketExtension parseExtension(XmlPullParser parser) throws Exception { in parseExtension() argument 55 int eventType = parser.next(); in parseExtension() 57 if (parser.getName().equals("invite")) { in parseExtension() 58 mucUser.setInvite(parseInvite(parser)); in parseExtension() 60 if (parser.getName().equals("item")) { in parseExtension() 61 mucUser.setItem(parseItem(parser)); in parseExtension() 63 if (parser.getName().equals("password")) { in parseExtension() 64 mucUser.setPassword(parser.nextText()); in parseExtension() 66 if (parser.getName().equals("status")) { in parseExtension() 67 mucUser.setStatus(new MUCUser.Status(parser.getAttributeValue("", "code"))); in parseExtension() [all …]
|
D | DataFormProvider.java | 46 public PacketExtension parseExtension(XmlPullParser parser) throws Exception { in parseExtension() argument 49 DataForm dataForm = new DataForm(parser.getAttributeValue("", "type")); in parseExtension() 51 int eventType = parser.next(); in parseExtension() 53 if (parser.getName().equals("instructions")) { in parseExtension() 54 dataForm.addInstruction(parser.nextText()); in parseExtension() 56 else if (parser.getName().equals("title")) { in parseExtension() 57 dataForm.setTitle(parser.nextText()); in parseExtension() 59 else if (parser.getName().equals("field")) { in parseExtension() 60 dataForm.addField(parseField(parser)); in parseExtension() 62 else if (parser.getName().equals("item")) { in parseExtension() [all …]
|
D | MUCOwnerProvider.java | 36 public IQ parseIQ(XmlPullParser parser) throws Exception { in parseIQ() argument 40 int eventType = parser.next(); in parseIQ() 42 if (parser.getName().equals("item")) { in parseIQ() 43 mucOwner.addItem(parseItem(parser)); in parseIQ() 45 else if (parser.getName().equals("destroy")) { in parseIQ() 46 mucOwner.setDestroy(parseDestroy(parser)); in parseIQ() 50 mucOwner.addExtension(PacketParserUtils.parsePacketExtension(parser.getName(), in parseIQ() 51 parser.getNamespace(), parser)); in parseIQ() local 55 if (parser.getName().equals("query")) { in parseIQ() 64 private MUCOwner.Item parseItem(XmlPullParser parser) throws Exception { in parseItem() argument [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
D | basic.rb | 40 parser = Identifiers::Parser.new( tokens ) 42 parser.document 44 parser.reported_errors.should be_empty 45 parser.identifiers.should == %w(blah_de_blah) 52 parser = Identifiers::Parser.new( lexer ) 53 parser.document 55 parser.reported_errors.should have( 1 ).thing 64 parser = Identifiers::Parser.new( 'blah_de_blah', :file => 'blah.txt' ) 66 parser.document 68 parser.reported_errors.should be_empty [all …]
|
D | scopes.rb | 31 parser = SimpleScope::Parser.new lexer 32 parser.prog 179 parser = LotsaScopes::Parser.new lexer 180 parser.a 185 parser = LotsaScopes::Parser.new lexer 186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError ) 191 parser = LotsaScopes::Parser.new lexer 192 parser.b( true ) 203 parser = LotsaScopes::Parser.new lexer 205 symbols = parser.c [all …]
|
/external/chromium/chrome/common/extensions/ |
D | update_manifest_unittest.cc | 120 UpdateManifest parser; in TEST() local 123 EXPECT_FALSE(parser.Parse("")); in TEST() 124 EXPECT_FALSE(parser.errors().empty()); in TEST() 126 EXPECT_TRUE(parser.Parse(kMissingAppId)); in TEST() 127 EXPECT_TRUE(parser.results().list.empty()); in TEST() 128 EXPECT_FALSE(parser.errors().empty()); in TEST() 130 EXPECT_TRUE(parser.Parse(kInvalidCodebase)); in TEST() 131 EXPECT_TRUE(parser.results().list.empty()); in TEST() 132 EXPECT_FALSE(parser.errors().empty()); in TEST() 134 EXPECT_TRUE(parser.Parse(kMissingVersion)); in TEST() [all …]
|
/external/smack/src/org/jivesoftware/smack/util/ |
D | PacketParserUtils.java | 73 public static Packet parseMessage(XmlPullParser parser) throws Exception { in parseMessage() argument 75 String id = parser.getAttributeValue("", "id"); in parseMessage() 77 message.setTo(parser.getAttributeValue("", "to")); in parseMessage() 78 message.setFrom(parser.getAttributeValue("", "from")); in parseMessage() 79 message.setType(Message.Type.fromString(parser.getAttributeValue("", "type"))); in parseMessage() 80 String language = getLanguageAttribute(parser); in parseMessage() 99 int eventType = parser.next(); in parseMessage() 101 String elementName = parser.getName(); in parseMessage() 102 String namespace = parser.getNamespace(); in parseMessage() 104 String xmlLang = getLanguageAttribute(parser); in parseMessage() [all …]
|
/external/qemu/ |
D | json-streamer.c | 23 JSONMessageParser *parser = container_of(lexer, JSONMessageParser, lexer); in json_message_process_token() local 29 parser->brace_count++; in json_message_process_token() 32 parser->brace_count--; in json_message_process_token() 35 parser->bracket_count++; in json_message_process_token() 38 parser->bracket_count--; in json_message_process_token() 52 qlist_append(parser->tokens, dict); in json_message_process_token() 54 if (parser->brace_count == 0 && in json_message_process_token() 55 parser->bracket_count == 0) { in json_message_process_token() 56 parser->emit(parser, parser->tokens); in json_message_process_token() 57 QDECREF(parser->tokens); in json_message_process_token() [all …]
|
/external/expat/tests/ |
D | runtests.c | 31 static XML_Parser parser; variable 37 parser = XML_ParserCreate(NULL); in basic_setup() 38 if (parser == NULL) in basic_setup() 45 if (parser != NULL) in basic_teardown() 46 XML_ParserFree(parser); in basic_teardown() 54 _xml_failure(XML_Parser parser, const char *file, int line) in _xml_failure() argument 57 enum XML_Error err = XML_GetErrorCode(parser); in _xml_failure() 63 XML_GetCurrentLineNumber(parser), in _xml_failure() 64 XML_GetCurrentColumnNumber(parser), in _xml_failure() 69 #define xml_failure(parser) _xml_failure((parser), __FILE__, __LINE__) argument [all …]
|
/external/expat/amiga/include/interfaces/ |
D | expat.h | 34 …XML_Parser APICALL (*XML_ExternalEntityParserCreate)(struct ExpatIFace *Self, XML_Parser parser, c… 35 void APICALL (*XML_ParserFree)(struct ExpatIFace *Self, XML_Parser parser); 36 …enum XML_Status APICALL (*XML_Parse)(struct ExpatIFace *Self, XML_Parser parser, const char * s, i… 37 …enum XML_Status APICALL (*XML_ParseBuffer)(struct ExpatIFace *Self, XML_Parser parser, int len, in… 38 void * APICALL (*XML_GetBuffer)(struct ExpatIFace *Self, XML_Parser parser, int len); 39 …void APICALL (*XML_SetStartElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartEl… 40 …void APICALL (*XML_SetEndElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_EndElemen… 41 …void APICALL (*XML_SetElementHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_StartElement… 42 …void APICALL (*XML_SetCharacterDataHandler)(struct ExpatIFace *Self, XML_Parser parser, XML_Charac… 43 …void APICALL (*XML_SetProcessingInstructionHandler)(struct ExpatIFace *Self, XML_Parser parser, XM… [all …]
|
/external/expat/amiga/include/libraries/ |
D | expat.h | 148 XML_SetElementDeclHandler(XML_Parser parser, 160 XML_SetAttlistDeclHandler(XML_Parser parser, 169 XML_SetXmlDeclHandler(XML_Parser parser, 192 XML_ParserReset(XML_Parser parser, const XML_Char *encoding); 242 XML_SetEntityDeclHandler(XML_Parser parser, 272 XML_Parser parser, 296 XML_SetElementHandler(XML_Parser parser, 301 XML_SetStartElementHandler(XML_Parser parser, 305 XML_SetEndElementHandler(XML_Parser parser, 309 XML_SetCharacterDataHandler(XML_Parser parser, [all …]
|
/external/smack/src/org/jivesoftware/smack/ |
D | PacketReader.java | 50 private XmlPullParser parser; field in PacketReader 160 parser = XmlPullParserFactory.newInstance().newPullParser(); in resetParser() 161 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); in resetParser() 162 parser.setInput(connection.reader); in resetParser() 176 int eventType = parser.getEventType(); in parsePackets() 179 if (parser.getName().equals("message")) { in parsePackets() 180 processPacket(PacketParserUtils.parseMessage(parser)); in parsePackets() 182 else if (parser.getName().equals("iq")) { in parsePackets() 183 processPacket(PacketParserUtils.parseIQ(parser, connection)); in parsePackets() 185 else if (parser.getName().equals("presence")) { in parsePackets() [all …]
|
D | BOSHPacketReader.java | 73 final XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); in responseReceived() local 74 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, in responseReceived() 76 parser.setInput(new StringReader(body.toXML())); in responseReceived() 77 int eventType = parser.getEventType(); in responseReceived() 79 eventType = parser.next(); in responseReceived() 81 if (parser.getName().equals("body")) { in responseReceived() 83 } else if (parser.getName().equals("message")) { in responseReceived() 84 connection.processPacket(PacketParserUtils.parseMessage(parser)); in responseReceived() 85 } else if (parser.getName().equals("iq")) { in responseReceived() 86 connection.processPacket(PacketParserUtils.parseIQ(parser, connection)); in responseReceived() [all …]
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t014parser.py | 14 parser = self.getParser(tStream) 15 parser.document() 17 assert len(parser.reportedErrors) == 0, parser.reportedErrors 18 assert parser.events == [ 23 ], parser.events 30 parser = self.getParser(tStream) 32 parser.document() 36 assert len(parser.reportedErrors) == 1, parser.reportedErrors 37 assert parser.events == [], parser.events 44 parser = self.getParser(tStream) [all …]
|
/external/open-vcdiff/src/ |
D | headerparser_test.cc | 35 VCDiffHeaderParserTest() : parser(NULL) { } in VCDiffHeaderParserTest() 38 delete parser; in ~VCDiffHeaderParserTest() 46 parser = new VCDiffHeaderParser( in StartParsing() 49 EXPECT_EQ(encoded_buffer_.data(), parser->UnparsedData()); in StartParsing() 54 const char* prior_position = parser->UnparsedData(); in VerifyByte() 55 EXPECT_TRUE(parser->ParseByte(&decoded_byte)); in VerifyByte() 57 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult()); in VerifyByte() 59 parser->UnparsedData()); in VerifyByte() 64 const char* prior_position = parser->UnparsedData(); in VerifyInt32() 65 EXPECT_TRUE(parser->ParseInt32("decoded int32", &decoded_integer)); in VerifyInt32() [all …]
|
/external/chromium/sdch/open-vcdiff/src/ |
D | headerparser_test.cc | 35 VCDiffHeaderParserTest() : parser(NULL) { } in VCDiffHeaderParserTest() 38 delete parser; in ~VCDiffHeaderParserTest() 46 parser = new VCDiffHeaderParser( in StartParsing() 49 EXPECT_EQ(encoded_buffer_.data(), parser->UnparsedData()); in StartParsing() 54 const char* prior_position = parser->UnparsedData(); in VerifyByte() 55 EXPECT_TRUE(parser->ParseByte(&decoded_byte)); in VerifyByte() 57 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult()); in VerifyByte() 59 parser->UnparsedData()); in VerifyByte() 64 const char* prior_position = parser->UnparsedData(); in VerifyInt32() 65 EXPECT_TRUE(parser->ParseInt32("decoded int32", &decoded_integer)); in VerifyInt32() [all …]
|
/external/smack/src/org/jivesoftware/smack/provider/ |
D | PrivacyProvider.java | 41 public IQ parseIQ(XmlPullParser parser) throws Exception { in parseIQ() argument 45 privacy.addExtension(new DefaultPacketExtension(parser.getName(), parser.getNamespace())); in parseIQ() 48 int eventType = parser.next(); in parseIQ() 50 if (parser.getName().equals("active")) { in parseIQ() 51 String activeName = parser.getAttributeValue("", "name"); in parseIQ() 58 else if (parser.getName().equals("default")) { in parseIQ() 59 String defaultName = parser.getAttributeValue("", "name"); in parseIQ() 66 else if (parser.getName().equals("list")) { in parseIQ() 67 parseList(parser, privacy); in parseIQ() 71 if (parser.getName().equals("query")) { in parseIQ() [all …]
|
/external/expat/lib/ |
D | expat.h | 155 XML_SetElementDeclHandler(XML_Parser parser, 175 XML_SetAttlistDeclHandler(XML_Parser parser, 192 XML_SetXmlDeclHandler(XML_Parser parser, 247 XML_ParserReset(XML_Parser parser, const XML_Char *encoding); 341 XML_SetEntityDeclHandler(XML_Parser parser, 433 XML_Parser parser, 534 XML_SetElementHandler(XML_Parser parser, 539 XML_SetStartElementHandler(XML_Parser parser, 543 XML_SetEndElementHandler(XML_Parser parser, 547 XML_SetCharacterDataHandler(XML_Parser parser, [all …]
|
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/ |
D | Macros.java | 103 public IQ parseIQ(XmlPullParser parser) throws Exception { in parseIQ() argument 108 int eventType = parser.next(); in parseIQ() 110 if (parser.getName().equals("model")) { in parseIQ() 111 String macros = parser.nextText(); in parseIQ() 117 if (parser.getName().equals(ELEMENT_NAME)) { in parseIQ() 126 public Macro parseMacro(XmlPullParser parser) throws Exception { in parseMacro() argument 130 int eventType = parser.next(); in parseMacro() 132 if (parser.getName().equals("title")) { in parseMacro() 133 parser.next(); in parseMacro() 134 macro.setTitle(parser.getText()); in parseMacro() [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
D | tree-rewrite.rb | 1007 parser = FlatList::Parser.new( tokens ) 1009 result = parser.a 1021 parser = SimpleTree::Parser.new( tokens ) 1023 result = parser.a 1035 parser = CombinedRewriteAndAuto::Parser.new( tokens ) 1037 result = parser.a 1045 parser = CombinedRewriteAndAuto::Parser.new( tokens ) 1047 result = parser.a 1058 parser = AvoidDup::Parser.new( tokens ) 1060 result = parser.a [all …]
|