/external/smack/src/org/jivesoftware/smackx/pubsub/provider/ |
SubscriptionProvider.java | 29 public PacketExtension parseExtension(XmlPullParser parser) throws Exception
31 String jid = parser.getAttributeValue(null, "jid");
32 String nodeId = parser.getAttributeValue(null, "node");
33 String subId = parser.getAttributeValue(null, "subid");
34 String state = parser.getAttributeValue(null, "subscription");
37 int tag = parser.next();
39 if ((tag == XmlPullParser.START_TAG) && parser.getName().equals("subscribe-options"))
41 tag = parser.next();
43 if ((tag == XmlPullParser.START_TAG) && parser.getName().equals("required"))
46 while (parser.next() != XmlPullParser.END_TAG && parser.getName() != "subscribe-options"); [all...] |
ItemProvider.java | 34 public PacketExtension parseExtension(XmlPullParser parser) throws Exception {
35 String id = parser.getAttributeValue(null, "id");
36 String node = parser.getAttributeValue(null, "node");
37 String elem = parser.getName();
39 int tag = parser.next();
44 String payloadElemName = parser.getName();
45 String payloadNS = parser.getNamespace();
54 if (tag == XmlPullParser.END_TAG && parser.getName().equals(elem)) {
56 } else if (parser.getEventType() == XmlPullParser.START_TAG) {
57 payloadText.append("<").append(parser.getName()); [all...] |
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
pyexpat.h | 2 * parser modules, such as cElementTree. */ 19 enum XML_Error (*GetErrorCode)(XML_Parser parser); 20 XML_Size (*GetErrorColumnNumber)(XML_Parser parser); 21 XML_Size (*GetErrorLineNumber)(XML_Parser parser); 23 XML_Parser parser, const char *s, int len, int isFinal); 27 void (*ParserFree)(XML_Parser parser); 29 XML_Parser parser, XML_CharacterDataHandler handler); 31 XML_Parser parser, XML_CommentHandler handler); 33 XML_Parser parser, XML_DefaultHandler handler); 35 XML_Parser parser, XML_StartElementHandler start [all...] |
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
pyexpat.h | 2 * parser modules, such as cElementTree. */ 19 enum XML_Error (*GetErrorCode)(XML_Parser parser); 20 XML_Size (*GetErrorColumnNumber)(XML_Parser parser); 21 XML_Size (*GetErrorLineNumber)(XML_Parser parser); 23 XML_Parser parser, const char *s, int len, int isFinal); 27 void (*ParserFree)(XML_Parser parser); 29 XML_Parser parser, XML_CharacterDataHandler handler); 31 XML_Parser parser, XML_CommentHandler handler); 33 XML_Parser parser, XML_DefaultHandler handler); 35 XML_Parser parser, XML_StartElementHandler start [all...] |
/external/smack/src/org/jivesoftware/smack/ |
PacketReader.java | 50 private XmlPullParser parser; field in class:PacketReader 154 * Resets the parser using the latest connection's reader. Reseting the parser is necessary 160 parser = XmlPullParserFactory.newInstance().newPullParser(); 161 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true); 162 parser.setInput(connection.reader); 176 int eventType = parser.getEventType(); 179 if (parser.getName().equals("message")) { 180 processPacket(PacketParserUtils.parseMessage(parser)); 182 else if (parser.getName().equals("iq")) [all...] |
BOSHPacketReader.java | 73 final XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); local 74 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, 76 parser.setInput(new StringReader(body.toXML())); 77 int eventType = parser.getEventType(); 79 eventType = parser.next(); 81 if (parser.getName().equals("body")) { 83 } else if (parser.getName().equals("message")) { 84 connection.processPacket(PacketParserUtils.parseMessage(parser)); 85 } else if (parser.getName().equals("iq")) { 86 connection.processPacket(PacketParserUtils.parseIQ(parser, connection)) [all...] |
/external/chromium_org/third_party/skia/src/svg/ |
SkSVGDefs.cpp | 22 void SkSVGDefs::translate(SkSVGParser& parser, bool defState) { 23 INHERITED::translate(parser, defState);
|
SkSVGRadialGradient.cpp | 25 void SkSVGRadialGradient::translate(SkSVGParser& parser, bool defState) { 27 parser.translateMatrix(f_gradientTransform, &fMatrixID); 28 parser._startElement("radialGradient"); 30 parser._addAttribute("matrix", fMatrixID); 38 parser._addAttribute("center", center); 39 parser._addAttribute("radius", f_r); 40 INHERITED::translate(parser, defState); 41 parser._endElement();
|
SkSVGSymbol.cpp | 19 void SkSVGSymbol::translate(SkSVGParser& parser, bool defState) { 20 INHERITED::translate(parser, defState);
|
SkSVGLine.cpp | 22 void SkSVGLine::translate(SkSVGParser& parser, bool defState) { 23 parser._startElement("line"); 24 INHERITED::translate(parser, defState); 29 parser._endElement();
|
/external/skia/src/svg/ |
SkSVGDefs.cpp | 22 void SkSVGDefs::translate(SkSVGParser& parser, bool defState) { 23 INHERITED::translate(parser, defState);
|
SkSVGRadialGradient.cpp | 25 void SkSVGRadialGradient::translate(SkSVGParser& parser, bool defState) { 27 parser.translateMatrix(f_gradientTransform, &fMatrixID); 28 parser._startElement("radialGradient"); 30 parser._addAttribute("matrix", fMatrixID); 38 parser._addAttribute("center", center); 39 parser._addAttribute("radius", f_r); 40 INHERITED::translate(parser, defState); 41 parser._endElement();
|
SkSVGSymbol.cpp | 19 void SkSVGSymbol::translate(SkSVGParser& parser, bool defState) { 20 INHERITED::translate(parser, defState);
|
SkSVGLine.cpp | 22 void SkSVGLine::translate(SkSVGParser& parser, bool defState) { 23 parser._startElement("line"); 24 INHERITED::translate(parser, defState); 29 parser._endElement();
|
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/ |
Macros.java | 103 public IQ parseIQ(XmlPullParser parser) throws Exception {
108 int eventType = parser.next();
110 if (parser.getName().equals("model")) {
111 String macros = parser.nextText();
117 if (parser.getName().equals(ELEMENT_NAME)) {
126 public Macro parseMacro(XmlPullParser parser) throws Exception {
130 int eventType = parser.next();
132 if (parser.getName().equals("title")) {
133 parser.next();
134 macro.setTitle(parser.getText()); 184 XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); local [all...] |
/ndk/sources/host-tools/ndk-stack/ |
ndk-stack-parser.h | 21 /* Crash parser descriptor. */ 26 * out_handle - Handle to the stream where to print the parser's output. 40 * parser - NdkCrashParser descriptor, created and initialized with a call to 43 void DestroyNdkCrashParser(NdkCrashParser* parser); 47 * parser - NdkCrashParser descriptor, created and initialized with a call to 57 int ParseLine(NdkCrashParser* parser, const char* line);
|
ndk-stack-parser.c | 25 #include "ndk-stack-parser.h" 27 /* Enumerates states of the crash parser. 30 /* Parser expects the beginning of the crash dump. */ 32 /* Parser expects the build fingerprint, or process and thread information. */ 34 /* Parser expects the process and thread information. */ 36 /* Parser expects the signal information, or the first crash frame. */ 38 /* Parser expects a crash frame. */ 42 /* Crash parser descriptor. 51 /* Current state of the parser. */ 84 * parser - NdkCrashParser descriptor, created and initialized with a call t 129 NdkCrashParser* parser; local [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
BridgeXmlBlockParserTest.java | 40 XmlPullParser parser = ParserFactory.create( local 44 parser = new BridgeXmlBlockParser(parser, null, false /* platformResourceFlag */); 46 assertEquals(XmlPullParser.START_DOCUMENT, parser.next()); 48 assertEquals(XmlPullParser.START_TAG, parser.next()); 49 assertEquals("LinearLayout", parser.getName()); 51 assertEquals(XmlPullParser.TEXT, parser.next()); 53 assertEquals(XmlPullParser.START_TAG, parser.next()); 54 assertEquals("Button", parser.getName()); 55 assertEquals(XmlPullParser.TEXT, parser.next()) [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3treeparser.h | 52 /** A pointer to the base recognizer, where most of the parser functions actually 53 * live because they are shared between parser and tree parser and this is the 59 /** Pointer to the common tree node stream for the parser 63 /** Set the input stream and reset the parser 65 void (*setTreeNodeStream) (struct ANTLR3_TREE_PARSER_struct * parser, pANTLR3_COMMON_TREE_NODE_STREAM input); 69 pANTLR3_COMMON_TREE_NODE_STREAM (*getTreeNodeStream) (struct ANTLR3_TREE_PARSER_struct * parser); 71 /** Pointer to a function that knows how to free resources of an ANTLR3 tree parser. 73 void (*free) (struct ANTLR3_TREE_PARSER_struct * parser);
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t017parser.py | 27 parser = self.getParser(tStream) 28 parser.program() 30 assert len(parser.reportedErrors) == 0, parser.reportedErrors 37 parser = self.getParser(tStream) 38 parser.program() 42 assert len(parser.reportedErrors) == 1, parser.reportedErrors 49 parser = self.getParser(tStream) 50 parser.program( [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
BaseNode.java | 20 package org.apache.james.mime4j.field.address.parser;
22 import org.apache.james.mime4j.field.address.parser.Node;
23 import org.apache.james.mime4j.field.address.parser.Token;
|
/external/smack/asmack-master/static-src/custom/org/jivesoftware/smackx/pubsub/provider/ |
ItemProvider.java | 34 public PacketExtension parseExtension(XmlPullParser parser) throws Exception {
35 String id = parser.getAttributeValue(null, "id");
36 String node = parser.getAttributeValue(null, "node");
37 String elem = parser.getName();
39 int tag = parser.next();
44 String payloadElemName = parser.getName();
45 String payloadNS = parser.getNamespace();
54 if (tag == XmlPullParser.END_TAG && parser.getName().equals(elem)) {
56 } else if (parser.getEventType() == XmlPullParser.START_TAG) {
57 payloadText.append("<").append(parser.getName()); [all...] |
/external/chromium_org/build/android/gyp/ |
process_resources.py | 21 parser = optparse.OptionParser() 22 parser.add_option('--android-sdk', help='path to the Android SDK folder') 23 parser.add_option('--android-sdk-tools', 25 parser.add_option('--R-dir', help='directory to hold generated R.java') 26 parser.add_option('--res-dirs', 28 parser.add_option('--crunch-input-dir', 30 parser.add_option('--crunch-output-dir', 32 parser.add_option('--non-constant-id', action='store_true') 33 parser.add_option('--custom-package', help='Java package for R.java') 34 parser.add_option('--android-manifest', help='AndroidManifest.xml path' [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
xmppstanzaparser_unittest.cc | 49 XmppStanzaParser parser(&handler); 53 parser.Parse(fragment.c_str(), fragment.length(), false); 59 XmppStanzaParser parser(&handler); 63 parser.Parse(fragment.c_str(), fragment.length(), false); 68 parser.Parse(fragment.c_str(), fragment.length(), false); 73 parser.Parse(fragment.c_str(), fragment.length(), false); 77 parser.Parse(fragment.c_str(), fragment.length(), false); 82 parser.Parse(fragment.c_str(), fragment.length(), false); 88 XmppStanzaParser parser(&handler); 92 parser.Parse(fragment.c_str(), fragment.length(), false) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/reftests/ |
extract_reference_link.py | 59 parser = ExtractReferenceLinkParser() 60 parser.feed(html_string) 61 parser.close() 63 return parser.matches, parser.mismatches
|