Lines Matching refs:refp
840 xmlNodePtr child, new_child, parentp, refp; in PHP_METHOD() local
889 DOM_GET_OBJ(refp, ref, xmlNodePtr, refpobj); in PHP_METHOD()
890 if (refp->parent != parentp) { in PHP_METHOD()
899 if (child->type == XML_TEXT_NODE && (refp->type == XML_TEXT_NODE || in PHP_METHOD()
900 (refp->prev != NULL && refp->prev->type == XML_TEXT_NODE))) { in PHP_METHOD()
905 new_child->parent = refp->parent; in PHP_METHOD()
906 new_child->next = refp; in PHP_METHOD()
907 new_child->prev = refp->prev; in PHP_METHOD()
908 refp->prev = new_child; in PHP_METHOD()
913 if (new_child->parent->children == refp) { in PHP_METHOD()
922 lastattr = xmlHasProp(refp->parent, child->name); in PHP_METHOD()
924 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in PHP_METHOD()
935 new_child = _php_dom_insert_fragment(parentp, refp->prev, refp, child, intern, childobj); in PHP_METHOD()
939 new_child = xmlAddPrevSibling(refp, child); in PHP_METHOD()