Home
last modified time | relevance | path

Searched refs:XML_DOCUMENT_NODE (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/dom/
H A Dinner_outer_html_mixin.c77 ZEND_ASSERT(context_document->type == XML_DOCUMENT_NODE); in dom_element_html_fragment_serialize()
347 if (context_node->doc->type == XML_DOCUMENT_NODE) { in dom_parse_fragment()
431 if (parent->type == XML_DOCUMENT_NODE || parent->type == XML_HTML_DOCUMENT_NODE) { in dom_element_outer_html_write()
H A Dnode.c66 if (node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE) { in php_dom_is_node_connected()
118 case XML_DOCUMENT_NODE: in dom_node_node_name_read()
452 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in dom_node_owner_document_read()
874 if (child->type == XML_DOCUMENT_NODE || child->type == XML_HTML_DOCUMENT_NODE) { in dom_node_check_legacy_insertion_validity()
1108 …bool parent_is_document = parent->type == XML_DOCUMENT_NODE || parent->type == XML_HTML_DOCUMENT_N… in dom_replace_node_validity_checks()
1470 bool clone_document = n->type == XML_DOCUMENT_NODE || n->type == XML_HTML_DOCUMENT_NODE; in PHP_METHOD()
1859 case XML_DOCUMENT_NODE: in dom_node_lookup_prefix()
1951 } else if (node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE) { in dom_locate_a_namespace()
1993 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_METHOD()
2061 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_METHOD()
[all …]
H A Dhtml5_serializer.c358 && node->type != XML_DOCUMENT_NODE in dom_html5_serialize()
381 …if (node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE || node->type == XML_D… in dom_html5_serialize_outer()
H A Dphp_dom.c640 if (node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE) { in dom_objects_store_clone_obj()
1444 if (node->type != XML_DOCUMENT_NODE && node->type != XML_HTML_DOCUMENT_NODE) { in dom_objects_free_storage()
1673 case XML_DOCUMENT_NODE: in php_dom_create_object()
1791 if (child->type == XML_DOCUMENT_NODE) { in dom_hierarchy()
2543 …DE && src_node->type != XML_DOCUMENT_FRAG_NODE && src_node->type != XML_DOCUMENT_NODE && src_node-… in dom_clone_helper()
2548 if (src_node->type == XML_DOCUMENT_NODE || src_node->type == XML_HTML_DOCUMENT_NODE) { in dom_clone_helper()
2631 …if (clone->type == XML_DOCUMENT_NODE || clone->type == XML_HTML_DOCUMENT_NODE || clone->type == XM… in dom_clone_node()
H A Dphp_dom.h294 if (parent->type == XML_DOCUMENT_NODE || parent->type == XML_HTML_DOCUMENT_NODE) { in php_dom_first_child_of_container_node()
H A Ddocument.c769 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE) { in PHP_METHOD()
819 if (nodep->type == XML_HTML_DOCUMENT_NODE || nodep->type == XML_DOCUMENT_NODE) { in dom_modern_document_import_node()
1195 if (UNEXPECTED(nodep->type == XML_DOCUMENT_NODE in dom_document_adopt_node()
H A Dxml_serializer.c1266 case XML_DOCUMENT_NODE: in dom_xml_serialization_algorithm()
H A Dphp_dom.stub.php51 const XML_DOCUMENT_NODE = UNKNOWN; define
H A Delement.c1752 …if (context == NULL || context->type == XML_DOCUMENT_NODE || context->type == XML_HTML_DOCUMENT_NO… in PHP_METHOD()
H A Dphp_dom_arginfo.h1820 REGISTER_LONG_CONSTANT("XML_DOCUMENT_NODE", XML_DOCUMENT_NODE, CONST_PERSISTENT); in register_php_dom_symbols()
/php-src/ext/dom/parentnode/
H A Dtree.c111 if (contextNode->type == XML_DOCUMENT_NODE || contextNode->type == XML_HTML_DOCUMENT_NODE) { in dom_doc_from_context_node()
230 return parent->type != XML_DOCUMENT_NODE in php_dom_pre_insert_is_parent_invalid()
259 …bool parent_is_document = parentNode->type == XML_DOCUMENT_NODE || parentNode->type == XML_HTML_DO… in dom_is_pre_insert_valid_without_step_1()
269 || node->type == XML_DOCUMENT_NODE in dom_is_pre_insert_valid_without_step_1()
/php-src/ext/simplexml/
H A Dsimplexml.c254 node->parent->type == XML_DOCUMENT_NODE) { in sxe_prop_dim_read()
441 node->parent->type == XML_DOCUMENT_NODE) { in sxe_prop_dim_write()
1373 if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { in PHP_METHOD()
1386 if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { in PHP_METHOD()
2082 …&& (sxe->node->node->parent->type == XML_DOCUMENT_NODE || sxe->node->node->parent->type == XML_HTM… in sxe_object_clone()
2593 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
/php-src/ext/libxml/
H A Dlibxml.c174 if (nodep->type != XML_DOCUMENT_NODE) { in php_libxml_unregister_node()
1417 case XML_DOCUMENT_NODE: in php_libxml_node_free_resource()
/php-src/ext/dom/lexbor/lexbor/selectors-adapted/
H A Dselectors.c404 if (CMP_NODE_TYPE(node, XML_DOCUMENT_NODE) || CMP_NODE_TYPE(node, XML_HTML_DOCUMENT_NODE) in lxb_selectors_state_tree()
1613 && (node->parent->type == XML_DOCUMENT_FRAG_NODE || node->parent->type == XML_DOCUMENT_NODE in lxb_selectors_pseudo_class()

Completed in 124 milliseconds