Lines Matching refs:refp
898 xmlNodePtr refp = NULL; in dom_node_insert_before_legacy() local
901 DOM_GET_OBJ(refp, ref, xmlNodePtr, refpobj); in dom_node_insert_before_legacy()
902 if (refp->parent != parentp) { in dom_node_insert_before_legacy()
920 if (child->type == XML_TEXT_NODE && (refp->type == XML_TEXT_NODE || in dom_node_insert_before_legacy()
921 (refp->prev != NULL && refp->prev->type == XML_TEXT_NODE))) { in dom_node_insert_before_legacy()
923 new_child->parent = refp->parent; in dom_node_insert_before_legacy()
924 new_child->next = refp; in dom_node_insert_before_legacy()
925 new_child->prev = refp->prev; in dom_node_insert_before_legacy()
926 refp->prev = new_child; in dom_node_insert_before_legacy()
931 if (new_child->parent->children == refp) { in dom_node_insert_before_legacy()
940 lastattr = xmlHasProp(refp->parent, child->name); in dom_node_insert_before_legacy()
942 lastattr = xmlHasNsProp(refp->parent, child->name, child->ns->href); in dom_node_insert_before_legacy()
952 new_child = xmlAddPrevSibling(refp, child); in dom_node_insert_before_legacy()
958 new_child = dom_insert_fragment(parentp, refp->prev, refp, child, intern); in dom_node_insert_before_legacy()
961 new_child = xmlAddPrevSibling(refp, child); in dom_node_insert_before_legacy()
1027 xmlNodePtr refp = NULL; in dom_node_insert_before_modern() local
1034 DOM_GET_OBJ(refp, ref, xmlNodePtr, refobjp); in dom_node_insert_before_modern()
1037 php_dom_pre_insert(intern->document, child, parentp, refp); in dom_node_insert_before_modern()