Lines Matching refs:node

112 int dom_node_is_read_only(xmlNodePtr node) {  in dom_node_is_read_only()  argument
113 switch (node->type) { in dom_node_is_read_only()
126 if (node->doc == NULL) { in dom_node_is_read_only()
136 int dom_node_children_valid(xmlNodePtr node) { in dom_node_children_valid() argument
137 switch (node->type) { in dom_node_children_valid()
261 return ((php_libxml_node_ptr *)obj->ptr)->node; in dom_object_get_node()
557 if (intern && intern->node) { in php_dom_export_node()
558 nodep = intern->node->node; in php_dom_export_node()
569 zval *node; in PHP_FUNCTION() local
574 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &node) == FAILURE) { in PHP_FUNCTION()
578 nodeobj = (php_libxml_node_object *)zend_object_store_get_object(node TSRMLS_CC); in PHP_FUNCTION()
579 nodep = php_libxml_import_node(node TSRMLS_CC); in PHP_FUNCTION()
621 ZEND_ARG_INFO(0, node)
1030 void node_list_unlink(xmlNodePtr node TSRMLS_DC) in node_list_unlink()
1034 while (node != NULL) { in node_list_unlink()
1036 wrapper = php_dom_object_get_data(node); in node_list_unlink()
1039 xmlUnlinkNode(node); in node_list_unlink()
1041 if (node->type == XML_ENTITY_REF_NODE) in node_list_unlink()
1043 node_list_unlink(node->children TSRMLS_CC); in node_list_unlink()
1045 switch (node->type) { in node_list_unlink()
1054 node_list_unlink((xmlNodePtr) node->properties TSRMLS_CC); in node_list_unlink()
1059 node = node->next; in node_list_unlink()
1105 if (intern->ptr != NULL && ((php_libxml_node_ptr *)intern->ptr)->node != NULL) { in dom_objects_free_storage()
1106 …bxml_node_ptr *)intern->ptr)->node)->type != XML_DOCUMENT_NODE && ((xmlNodePtr) ((php_libxml_node_… in dom_objects_free_storage()
1179 xmlNodePtr node; in dom_objects_clone() local
1185 node = (xmlNodePtr)dom_object_get_node((dom_object *) object); in dom_objects_clone()
1186 if (node != NULL) { in dom_objects_clone()
1187 cloned_node = xmlDocCopyNode(node, node->doc, 1); in dom_objects_clone()
1190 if (cloned_node->doc == node->doc) { in dom_objects_clone()
1653 xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName) { in dom_get_nsdecl() argument
1656 if (node == NULL) in dom_get_nsdecl()
1660 cur = node->nsDef; in dom_get_nsdecl()
1669 cur = node->nsDef; in dom_get_nsdecl()