• Home
  • Raw
  • Download

Lines Matching refs:lastChild

2526     xmlNodePtr lastChild;  in xmlSAX2Characters()  local
2546 lastChild = ctxt->node->last; in xmlSAX2Characters()
2556 if (lastChild == NULL) { in xmlSAX2Characters()
2557 lastChild = xmlSAX2TextNode(ctxt, ch, len); in xmlSAX2Characters()
2558 if (lastChild != NULL) { in xmlSAX2Characters()
2559 ctxt->node->children = lastChild; in xmlSAX2Characters()
2560 ctxt->node->last = lastChild; in xmlSAX2Characters()
2561 lastChild->parent = ctxt->node; in xmlSAX2Characters()
2562 lastChild->doc = ctxt->node->doc; in xmlSAX2Characters()
2570 int coalesceText = (lastChild != NULL) && in xmlSAX2Characters()
2571 (lastChild->type == XML_TEXT_NODE) && in xmlSAX2Characters()
2572 (lastChild->name == xmlStringText); in xmlSAX2Characters()
2581 if (lastChild->content == (xmlChar *)&(lastChild->properties)) { in xmlSAX2Characters()
2582 lastChild->content = xmlStrdup(lastChild->content); in xmlSAX2Characters()
2583 lastChild->properties = NULL; in xmlSAX2Characters()
2585 (xmlDictOwns(ctxt->dict, lastChild->content))) { in xmlSAX2Characters()
2586 lastChild->content = xmlStrdup(lastChild->content); in xmlSAX2Characters()
2588 if (lastChild->content == NULL) { in xmlSAX2Characters()
2608 newbuf = (xmlChar *) xmlRealloc(lastChild->content,size); in xmlSAX2Characters()
2614 lastChild->content = newbuf; in xmlSAX2Characters()
2616 memcpy(&lastChild->content[ctxt->nodelen], ch, len); in xmlSAX2Characters()
2618 lastChild->content[ctxt->nodelen] = 0; in xmlSAX2Characters()
2620 if (xmlTextConcat(lastChild, ch, len)) { in xmlSAX2Characters()
2624 ctxt->nodelen = xmlStrlen(lastChild->content); in xmlSAX2Characters()
2629 lastChild = xmlSAX2TextNode(ctxt, ch, len); in xmlSAX2Characters()
2630 if (lastChild != NULL) { in xmlSAX2Characters()
2631 xmlAddChild(ctxt->node, lastChild); in xmlSAX2Characters()
2798 xmlNodePtr ret, lastChild; in xmlSAX2CDataBlock() local
2805 lastChild = xmlGetLastChild(ctxt->node); in xmlSAX2CDataBlock()
2810 if ((lastChild != NULL) && in xmlSAX2CDataBlock()
2811 (lastChild->type == XML_CDATA_SECTION_NODE)) { in xmlSAX2CDataBlock()
2812 xmlTextConcat(lastChild, value, len); in xmlSAX2CDataBlock()