Lines Matching refs:pNewChild
305 CNode *const pNewChild(CNode::GetImplementation(xNewChild)); in appendChild() local
306 if (!pNewChild) { throw RuntimeException(); } in appendChild()
307 xmlNodePtr const cur = pNewChild->GetNodePtr(); in appendChild()
328 if (!IsChildTypeAllowed(pNewChild->m_aNodeType)) { in appendChild()
341 CAttr *const pCAttr(dynamic_cast<CAttr *>(pNewChild)); in appendChild()
360 pNewChild->invalidate(); // cur has been freed in appendChild()
685 xmlNodePtr const pNewChild(pNewNode->GetNodePtr()); in insertBefore() local
687 if (!pNewChild || !pRefChild) { throw RuntimeException(); } in insertBefore()
689 if (pNewChild == m_aNodePtr) { in insertBefore()
695 if (pNewChild->parent != NULL) in insertBefore()
708 if (XML_ATTRIBUTE_NODE == pNewChild->type) { in insertBefore()
720 pNewChild->next = cur; in insertBefore()
721 pNewChild->prev = cur->prev; in insertBefore()
722 cur->prev = pNewChild; in insertBefore()
723 if (pNewChild->prev != NULL) { in insertBefore()
724 pNewChild->prev->next = pNewChild; in insertBefore()
726 pNewChild->parent = cur->parent; in insertBefore()
727 if (pNewChild->parent->children == cur) { in insertBefore()
728 pNewChild->parent->children = pNewChild; in insertBefore()