Home | History | Annotate | Download | only in xml

Lines Matching defs:elem

62 void SkXMLWriter::doEnd(Elem* elem)
64 delete elem;
73 Elem** elem = fElems.push();
74 *elem = new Elem(name, length);
78 SkXMLWriter::Elem* SkXMLWriter::getEnd()
80 Elem* elem;
81 fElems.pop(&elem);
82 return elem;
161 void SkXMLWriter::startElementLen(const char elem[], size_t length)
163 this->onStartElementLen(elem, length);
172 const char* elem = dom.getName(node);
175 w->addText(elem, strlen(elem));
179 w->startElement(elem);
237 Elem* elem = fElems.top();
239 if (!elem->fHasChildren && !elem->fHasText) {
251 Elem* elem = getEnd();
252 if (elem->fHasChildren || elem->fHasText)
256 fStream.writeText(elem->fName.c_str());
262 doEnd(elem);
314 Elem* elem = this->getEnd();
315 fParser.endElement(elem->fName.c_str());
316 this->doEnd(elem);