Lines Matching refs:Event
42 event_queue_.push(EventData{Event::kStartDocument, 0, depth_++}); in XmlPullParser()
49 XmlPullParser::Event XmlPullParser::Next() { in Next()
50 const Event currentEvent = event(); in Next()
51 if (currentEvent == Event::kBadDocument || currentEvent == Event::kEndDocument) { in Next()
63 event_queue_.push(EventData{Event::kBadDocument}); in Next()
72 event_queue_.push(EventData{Event::kBadDocument}); in Next()
77 event_queue_.push(EventData{Event::kEndDocument, 0, 0}); in Next()
81 Event next_event = event(); in Next()
85 if (next_event == Event::kStartNamespace || in Next()
86 next_event == Event::kEndNamespace) { in Next()
89 if (next_event == Event::kStartNamespace) { in Next()
104 XmlPullParser::Event XmlPullParser::event() const { in event()
121 if (event() != Event::kText) { in text()
128 const Event current_event = event(); in namespace_prefix()
129 if (current_event != Event::kStartNamespace && in namespace_prefix()
130 current_event != Event::kEndNamespace) { in namespace_prefix()
137 const Event current_event = event(); in namespace_uri()
138 if (current_event != Event::kStartNamespace && in namespace_uri()
139 current_event != Event::kEndNamespace) { in namespace_uri()
163 const Event current_event = event(); in element_namespace()
164 if (current_event != Event::kStartElement && in element_namespace()
165 current_event != Event::kEndElement) { in element_namespace()
172 const Event current_event = event(); in element_name()
173 if (current_event != Event::kStartElement && in element_name()
174 current_event != Event::kEndElement) { in element_name()
189 if (event() != Event::kStartElement) { in attribute_count()
220 EventData{Event::kStartNamespace, in StartNamespaceHandler()
230 EventData data = {Event::kStartElement, in StartElementHandler()
254 parser->event_queue_.push(EventData{Event::kText, XML_GetCurrentLineNumber(parser->parser_), in CharacterDataHandler()
262 EventData data = {Event::kEndElement, in EndElementHandler()
276 EventData{Event::kEndNamespace, XML_GetCurrentLineNumber(parser->parser_), in EndNamespaceHandler()
286 parser->event_queue_.push(EventData{Event::kComment, in CommentDataHandler()
294 parser->event_queue_.push(EventData{Event::kCdataStart, in StartCdataSectionHandler()
302 parser->event_queue_.push(EventData{Event::kCdataEnd, in EndCdataSectionHandler()