Home | History | Annotate | Download | only in xml

Lines Matching refs:Event

40   event_queue_.push(EventData{Event::kStartDocument, 0, depth_++});
45 XmlPullParser::Event XmlPullParser::Next() {
46 const Event currentEvent = event();
47 if (currentEvent == Event::kBadDocument ||
48 currentEvent == Event::kEndDocument) {
59 event_queue_.push(EventData{Event::kBadDocument});
65 event_queue_.push(EventData{Event::kBadDocument});
70 event_queue_.push(EventData{Event::kEndDocument, 0, 0});
74 Event next_event = event();
78 if (next_event == Event::kStartNamespace ||
79 next_event == Event::kEndNamespace) {
82 if (next_event == Event::kStartNamespace) {
97 XmlPullParser::Event XmlPullParser::event() const {
98 return event_queue_.front().event;
114 if (event() != Event::kText) {
121 const Event current_event = event();
122 if (current_event != Event::kStartNamespace &&
123 current_event != Event::kEndNamespace) {
130 const Event current_event = event();
131 if (current_event != Event::kStartNamespace &&
132 current_event != Event::kEndNamespace) {
157 const Event current_event = event();
158 if (current_event != Event::kStartElement &&
159 current_event != Event::kEndElement) {
166 const Event current_event = event();
167 if (current_event != Event::kStartElement &&
168 current_event != Event::kEndElement) {
183 if (event() != Event::kStartElement) {
214 EventData{Event::kStartNamespace,
224 EventData data = {Event::kStartElement,
248 parser->event_queue_.push(EventData{Event::kText, XML_GetCurrentLineNumber(parser->parser_),
256 EventData data = {Event::kEndElement,
270 EventData{Event::kEndNamespace, XML_GetCurrentLineNumber(parser->parser_),
280 parser->event_queue_.push(EventData{Event::kComment,