Home
last modified time | relevance | path

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

/PHP-8.4/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-8.4/ext/dom/
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 Dinner_html_mixin.c80 ZEND_ASSERT(context_document->type == XML_DOCUMENT_NODE); in dom_element_inner_html_read()
344 if (context_node->doc->type == XML_DOCUMENT_NODE) { in dom_element_inner_html_write()
H A Dhtml5_serializer.c358 && node->type != XML_DOCUMENT_NODE in dom_html5_serialize()
383 …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.c645 if (node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE) { in dom_objects_store_clone_obj()
1448 if (node->type != XML_DOCUMENT_NODE && node->type != XML_HTML_DOCUMENT_NODE) { in dom_objects_free_storage()
1683 case XML_DOCUMENT_NODE: in php_dom_create_object()
1801 if (child->type == XML_DOCUMENT_NODE) { in dom_hierarchy()
2553 …DE && src_node->type != XML_DOCUMENT_FRAG_NODE && src_node->type != XML_DOCUMENT_NODE && src_node-… in dom_clone_helper()
2558 if (src_node->type == XML_DOCUMENT_NODE || src_node->type == XML_HTML_DOCUMENT_NODE) { in dom_clone_helper()
2641 …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()
1191 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 Dphp_dom_arginfo.h1813 REGISTER_LONG_CONSTANT("XML_DOCUMENT_NODE", XML_DOCUMENT_NODE, CONST_PERSISTENT); in register_php_dom_symbols()
/PHP-8.4/ext/simplexml/
H A Dsimplexml.c264 node->parent->type == XML_DOCUMENT_NODE) { in sxe_prop_dim_read()
451 node->parent->type == XML_DOCUMENT_NODE) { in sxe_prop_dim_write()
1381 if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { in PHP_METHOD()
1394 if (node->parent && (XML_DOCUMENT_NODE == node->parent->type)) { in PHP_METHOD()
2090 …&& (sxe->node->node->parent->type == XML_DOCUMENT_NODE || sxe->node->node->parent->type == XML_HTM… in sxe_object_clone()
2601 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
/PHP-8.4/ext/libxml/
H A Dlibxml.c174 if (nodep->type != XML_DOCUMENT_NODE) { in php_libxml_unregister_node()
1422 case XML_DOCUMENT_NODE: in php_libxml_node_free_resource()
/PHP-8.4/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 130 milliseconds