Home
last modified time | relevance | path

Searched refs:XML_HTML_DOCUMENT_NODE (Results 1 – 15 of 15) sorted by relevance

/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()
231 && parent->type != XML_HTML_DOCUMENT_NODE in php_dom_pre_insert_is_parent_invalid()
259 …_is_document = parentNode->type == XML_DOCUMENT_NODE || parentNode->type == XML_HTML_DOCUMENT_NODE; in dom_is_pre_insert_valid_without_step_1()
270 || node->type == XML_HTML_DOCUMENT_NODE in dom_is_pre_insert_valid_without_step_1()
/php-src/ext/dom/
H A Dnode.c66 if (node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE) { in php_dom_is_node_connected()
117 case XML_HTML_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 …l parent_is_document = parent->type == XML_DOCUMENT_NODE || parent->type == XML_HTML_DOCUMENT_NODE; in dom_replace_node_validity_checks()
1470 bool clone_document = n->type == XML_DOCUMENT_NODE || n->type == XML_HTML_DOCUMENT_NODE; in PHP_METHOD()
1860 case XML_HTML_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.c359 && node->type != XML_HTML_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 Dinner_outer_html_mixin.c65 if (context_document->type == XML_HTML_DOCUMENT_NODE) { in dom_element_html_fragment_serialize()
431 if (parent->type == XML_DOCUMENT_NODE || parent->type == XML_HTML_DOCUMENT_NODE) { in dom_element_outer_html_write()
H A Dphp_dom.c611 if (original_node->type == XML_HTML_DOCUMENT_NODE) { in php_dom_update_document_after_clone()
612 cloned_node->type = XML_HTML_DOCUMENT_NODE; in php_dom_update_document_after_clone()
640 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()
1678 case XML_HTML_DOCUMENT_NODE: in php_dom_create_object()
1858 …const xmlChar *local_to_use = nodep->doc->type == XML_HTML_DOCUMENT_NODE && php_dom_ns_is_fast(nod… in dom_match_qualified_name_for_tag_name_equality()
2543 …NT_FRAG_NODE && src_node->type != XML_DOCUMENT_NODE && src_node->type != XML_HTML_DOCUMENT_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()
2750 lxml_doc->type = XML_HTML_DOCUMENT_NODE; in php_dom_create_html_doc()
H A Ddocument.c480 if (docp->type == XML_HTML_DOCUMENT_NODE) { in PHP_METHOD()
602 if (docp->type == XML_HTML_DOCUMENT_NODE) { in PHP_METHOD()
697 if (docp->type == XML_HTML_DOCUMENT_NODE && php_dom_follow_spec_intern(intern)) { in PHP_METHOD()
769 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()
1196 || nodep->type == XML_HTML_DOCUMENT_NODE in dom_document_adopt_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 Dnamespace_compat.c314 …return nodep->doc && nodep->doc->type == XML_HTML_DOCUMENT_NODE && php_dom_ns_is_fast(nodep, php_d… in php_dom_ns_is_html_and_document_is_html()
H A Delement.c393 …if (attr->atype != XML_ATTRIBUTE_ID && attr->doc->type == XML_HTML_DOCUMENT_NODE && attr->ns == NU… in dom_check_register_attribute_id()
1752 …context == NULL || context->type == XML_DOCUMENT_NODE || context->type == XML_HTML_DOCUMENT_NODE) { in PHP_METHOD()
1838 if (thisp->doc != NULL && thisp->doc->type == XML_HTML_DOCUMENT_NODE in PHP_METHOD()
H A Dxml_serializer.c1265 case XML_HTML_DOCUMENT_NODE: in dom_xml_serialization_algorithm()
H A Dphp_dom.stub.php71 const XML_HTML_DOCUMENT_NODE = UNKNOWN; define
H A Dphp_dom_arginfo.h1824 REGISTER_LONG_CONSTANT("XML_HTML_DOCUMENT_NODE", XML_HTML_DOCUMENT_NODE, CONST_PERSISTENT); in register_php_dom_symbols()
/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()
1614 || node->parent->type == XML_HTML_DOCUMENT_NODE); in lxb_selectors_pseudo_class()
/php-src/ext/libxml/
H A Dlibxml.c1418 case XML_HTML_DOCUMENT_NODE: in php_libxml_node_free_resource()
/php-src/ext/simplexml/
H A Dsimplexml.c2082 …ode->parent->type == XML_DOCUMENT_NODE || sxe->node->node->parent->type == XML_HTML_DOCUMENT_NODE); in sxe_object_clone()
2593 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()

Completed in 90 milliseconds