Lines Matching refs:cur
1675 static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur) /* {{{ */ in php_dom_free_xinclude_node() argument
1679 xincnode = cur; in php_dom_free_xinclude_node()
1680 cur = cur->next; in php_dom_free_xinclude_node()
1684 return cur; in php_dom_free_xinclude_node()
1688 static void php_dom_remove_xinclude_nodes(xmlNodePtr cur) /* {{{ */ in php_dom_remove_xinclude_nodes() argument
1690 while(cur) { in php_dom_remove_xinclude_nodes()
1691 if (cur->type == XML_XINCLUDE_START) { in php_dom_remove_xinclude_nodes()
1692 cur = php_dom_free_xinclude_node(cur); in php_dom_remove_xinclude_nodes()
1695 while(cur && cur->type != XML_XINCLUDE_END) { in php_dom_remove_xinclude_nodes()
1697 if (cur->type == XML_ELEMENT_NODE) { in php_dom_remove_xinclude_nodes()
1698 php_dom_remove_xinclude_nodes(cur->children); in php_dom_remove_xinclude_nodes()
1700 cur = cur->next; in php_dom_remove_xinclude_nodes()
1703 if (cur && cur->type == XML_XINCLUDE_END) { in php_dom_remove_xinclude_nodes()
1704 cur = php_dom_free_xinclude_node(cur); in php_dom_remove_xinclude_nodes()
1707 if (cur->type == XML_ELEMENT_NODE) { in php_dom_remove_xinclude_nodes()
1708 php_dom_remove_xinclude_nodes(cur->children); in php_dom_remove_xinclude_nodes()
1710 cur = cur->next; in php_dom_remove_xinclude_nodes()