Lines Matching refs:Event
37 mEventQueue.push(EventData{ Event::kStartDocument, 0, mDepth++ }); in XmlPullParser()
44 XmlPullParser::Event XmlPullParser::next() { in next()
45 const Event currentEvent = getEvent(); in next()
46 if (currentEvent == Event::kBadDocument || currentEvent == Event::kEndDocument) { in next()
57 mEventQueue.push(EventData{ Event::kBadDocument }); in next()
63 mEventQueue.push(EventData{ Event::kBadDocument }); in next()
68 mEventQueue.push(EventData{ Event::kEndDocument, 0, 0 }); in next()
72 Event event = getEvent(); in next()
76 if (event == Event::kStartNamespace || event == Event::kEndNamespace) { in next()
78 if (event == Event::kStartNamespace) { in next()
93 XmlPullParser::Event XmlPullParser::getEvent() const { in getEvent()
114 if (getEvent() != Event::kText) { in getText()
121 const Event currentEvent = getEvent(); in getNamespacePrefix()
122 if (currentEvent != Event::kStartNamespace && currentEvent != Event::kEndNamespace) { in getNamespacePrefix()
129 const Event currentEvent = getEvent(); in getNamespaceUri()
130 if (currentEvent != Event::kStartNamespace && currentEvent != Event::kEndNamespace) { in getNamespaceUri()
156 const Event currentEvent = getEvent(); in getElementNamespace()
157 if (currentEvent != Event::kStartElement && currentEvent != Event::kEndElement) { in getElementNamespace()
164 const Event currentEvent = getEvent(); in getElementName()
165 if (currentEvent != Event::kStartElement && currentEvent != Event::kEndElement) { in getElementName()
180 if (getEvent() != Event::kStartElement) { in getAttributeCount()
210 Event::kStartNamespace, in startNamespaceHandler()
223 Event::kStartElement, XML_GetCurrentLineNumber(parser->mParser), parser->mDepth++ in startElementHandler()
245 Event::kText, in characterDataHandler()
256 Event::kEndElement, XML_GetCurrentLineNumber(parser->mParser), --(parser->mDepth) in endElementHandler()
268 Event::kEndNamespace, in endNamespaceHandler()
281 Event::kComment, in commentDataHandler()