Home
last modified time | relevance | path

Searched refs:XML_ELEMENT_NODE (Results 1 – 25 of 25) sorted by relevance

/php-src/ext/dom/parentnode/
H A Dtree.c38 while (first && first->type != XML_ELEMENT_NODE) { in dom_parent_node_first_element_child_read()
57 while (last && last->type != XML_ELEMENT_NODE) { in dom_parent_node_last_element_child_read()
78 if (first->type == XML_ELEMENT_NODE) { in dom_parent_node_child_element_count()
155 if (iter->type == XML_ELEMENT_NODE) { in dom_fragment_common_hierarchy_check_part()
182 if (php_dom_has_child_of_type(parent, XML_ELEMENT_NODE)) { in php_dom_fragment_insertion_hierarchy_check_pre_insertion()
210 if (iter->type == XML_ELEMENT_NODE && iter != child) { in php_dom_fragment_insertion_hierarchy_check_replace()
232 && parent->type != XML_ELEMENT_NODE in php_dom_pre_insert_is_parent_invalid()
299 else if (node->type == XML_ELEMENT_NODE) { in dom_is_pre_insert_valid_without_step_1()
301 if (php_dom_has_child_of_type(parentNode, XML_ELEMENT_NODE)) { in dom_is_pre_insert_valid_without_step_1()
317 if ((child != NULL && php_dom_has_sibling_preceding_node(child, XML_ELEMENT_NODE)) in dom_is_pre_insert_valid_without_step_1()
[all …]
/php-src/ext/soap/
H A Dphp_packet_soap.c56 if (trav->type == XML_ELEMENT_NODE) { in parse_packet_soap()
102 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
112 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
119 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in parse_packet_soap()
251 while (resp != NULL && resp->type != XML_ELEMENT_NODE) { in parse_packet_soap()
339 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
393 if (trav->type == XML_ELEMENT_NODE) { in parse_packet_soap()
H A Dphp_xml.c55 } else if ((trav->type != XML_ELEMENT_NODE) && in cleanup_xml_node()
H A Dsoap.c3026 if (trav->type == XML_ELEMENT_NODE) { in deserialize_parameters()
3046 if (trav->type == XML_ELEMENT_NODE) { in deserialize_parameters()
3138 if (trav->type == XML_ELEMENT_NODE) { in get_envelope()
3193 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in deserialize_function_call()
3203 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in deserialize_function_call()
3210 while (trav != NULL && trav->type != XML_ELEMENT_NODE) { in deserialize_function_call()
3239 if (trav->type == XML_ELEMENT_NODE) { in deserialize_function_call()
3305 if (trav->type == XML_ELEMENT_NODE) { in deserialize_function_call()
H A Dphp_encoding.c1600 if (trav->type == XML_ELEMENT_NODE) { in to_zval_object_ex()
2658 if (trav->type == XML_ELEMENT_NODE) { in to_zval_array()
2884 if (trav->type == XML_ELEMENT_NODE) { in guess_zval_convert()
3430 if (node->type == XML_ELEMENT_NODE) { in xmlSearchNsPrefixByHref()
/php-src/ext/dom/lexbor/lexbor/selectors-adapted/
H A Dselectors.c40 return CMP_NODE_TYPE(node, XML_ELEMENT_NODE); in lxb_selectors_adapted_is_matchable_child()
258 if (CMP_NODE_TYPE(node, XML_ELEMENT_NODE) in lxb_selectors_descendant()
303 if (CMP_NODE_TYPE(node, XML_ELEMENT_NODE)) { in lxb_selectors_sibling()
324 if (CMP_NODE_TYPE(node, XML_ELEMENT_NODE) && in lxb_selectors_following()
369 if (!CMP_NODE_TYPE(node, XML_ELEMENT_NODE)) { in lxb_selectors_match_node()
420 if (!CMP_NODE_TYPE(node, XML_ELEMENT_NODE)) { in lxb_selectors_state_tree()
652 || !CMP_NODE_TYPE(node, XML_ELEMENT_NODE)) in lxb_selectors_state_find_check()
864 if (CMP_NODE_TYPE(node, XML_ELEMENT_NODE)) { in lxb_selectors_next_node()
896 if (CMP_NODE_TYPE(node, XML_ELEMENT_NODE)) { in lxb_selectors_state_has_relative()
1107 if (CMP_NODE_TYPE(node, XML_ELEMENT_NODE)) { in lxb_selectors_state_after_nth_child()
[all …]
/php-src/ext/dom/
H A Dnode.c87 case XML_ELEMENT_NODE: in dom_node_node_name_read()
146 case XML_ELEMENT_NODE: { in dom_node_node_value_read()
195 case XML_ELEMENT_NODE: in dom_node_node_value_write()
417 if (nodep->type == XML_ELEMENT_NODE) { in dom_node_attributes_read()
479 case XML_ELEMENT_NODE: in dom_node_namespace_uri_read()
514 case XML_ELEMENT_NODE: in dom_node_prefix_read()
560 case XML_ELEMENT_NODE: in dom_node_prefix_write()
776 if (node->type == XML_ELEMENT_NODE) { in dom_set_document_ref_pointers_node()
1097 && node->type != XML_ELEMENT_NODE in dom_replace_node_validity_checks()
1717 if (this->type == XML_ELEMENT_NODE) { in php_dom_node_is_equal_node()
[all …]
H A Dhtml5_serializer.c141 …if (parent != NULL && parent->type == XML_ELEMENT_NODE && php_dom_ns_is_fast(parent, php_dom_ns_is… in dom_html5_serialize_text_node()
296 case XML_ELEMENT_NODE: { in dom_html5_serialize_node()
341 if (node->type == XML_ELEMENT_NODE) { in dom_html5_serialize_node()
356 if (node->type != XML_ELEMENT_NODE in dom_html5_serialize()
362 if (node->type == XML_ELEMENT_NODE && dom_html5_serializes_as_void(node)) { in dom_html5_serialize()
H A Dnamespace_compat.c368 ZEND_ASSERT(node->type == XML_ELEMENT_NODE); in dom_libxml_reconcile_fast_element_skip()
374 ZEND_ASSERT(node->type == XML_ELEMENT_NODE); in php_dom_libxml_reconcile_modern_single_element_node()
399 if (node->type != XML_ELEMENT_NODE || dom_libxml_reconcile_fast_element_skip(node)) { in php_dom_libxml_reconcile_modern()
416 if (node->type == XML_ELEMENT_NODE) { in php_dom_libxml_reconcile_modern()
441 if (cur->type == XML_ELEMENT_NODE) { in php_dom_get_in_scope_ns()
H A Dnodelist.c96 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_get_nodelist_length()
181 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_nodelist_get_item_into_zval()
H A Dtext.c144 nnode->type = XML_ELEMENT_NODE; in PHP_METHOD()
H A Dxml_common.h94 if (nodep->type == XML_ELEMENT_NODE && nodep->children) { in php_dom_next_in_tree_order()
H A Ddom_iterators.c148 if (objmap->nodetype == XML_ATTRIBUTE_NODE || objmap->nodetype == XML_ELEMENT_NODE) { in dom_fetch_first_iteration_item()
190 objmap->nodetype == XML_ELEMENT_NODE) { in php_dom_iterator_move_forward()
H A Dprivate_data.c83 if (current->type == XML_ELEMENT_NODE) { in php_dom_free_templated_content()
H A Delement.c501 ZEND_ASSERT(current_worklist_item->current_node->type == XML_ELEMENT_NODE); in dom_deep_ns_redef()
521 if (child->type != XML_ELEMENT_NODE) { in dom_deep_ns_redef()
1063 ZEND_ASSERT(node->type == XML_ELEMENT_NODE); in dom_remove_eliminated_ns_single_element()
1084 if (node->type == XML_ELEMENT_NODE) { in dom_remove_eliminated_ns()
1766 if (context->type != XML_ELEMENT_NODE in PHP_METHOD()
1992 if (cur->type == XML_ELEMENT_NODE) { in dom_element_get_in_scope_namespace_info()
2085 if (cur->type == XML_ELEMENT_NODE) { in PHP_METHOD()
2123 ZEND_ASSERT(nodep->type == XML_ELEMENT_NODE); in PHP_METHOD()
H A Dphp_dom.c568 …if (nodep && nodeobj && nodeobj->document && (nodep->type == XML_ELEMENT_NODE || nodep->type == XM… in dom_import_simplexml_common()
1689 case XML_ELEMENT_NODE: in php_dom_create_object()
1880 if (nodep->type == XML_ELEMENT_NODE) { in dom_get_elements_by_tag_name_ns_raw()
1944 case XML_ELEMENT_NODE: in php_dom_normalize_legacy()
1987 } else if (node->type == XML_ELEMENT_NODE) { in php_dom_normalize_modern()
2031 if (nodep->type == XML_ELEMENT_NODE) { in dom_reconcile_ns()
2042 if (nodep->type == XML_ELEMENT_NODE) { in dom_reconcile_ns_list_internal()
2500 if (src_node->type == XML_ELEMENT_NODE) { in dom_clone_container_helper()
2571 if (src_node->type == XML_ELEMENT_NODE) { in dom_clone_helper()
2591 if (src_node->type == XML_ELEMENT_NODE && src_node->children) { in dom_clone_helper()
[all …]
H A Ddocument.c1062 if (node->type == XML_ELEMENT_NODE) { in PHP_METHOD()
1093 if (node->type == XML_ELEMENT_NODE) { in php_dom_transfer_document_ref_single_aux()
1693 if (cur->type == XML_ELEMENT_NODE) { in php_dom_remove_xinclude_nodes()
1703 if (cur->type == XML_ELEMENT_NODE) { in php_dom_remove_xinclude_nodes()
1733 if (current->type == XML_ELEMENT_NODE && current->ns != NULL && current->_private != NULL in dom_xinclude_strip_fallback_references()
1756 while (root && root->type != XML_ELEMENT_NODE && root->type != XML_XINCLUDE_START) { in dom_perform_xinclude()
H A Dxml_document.c85 if (node->type == XML_ELEMENT_NODE) { in dom_mark_namespaces_as_attributes_too()
H A Dhtml_document.c351 if (node->type == XML_ELEMENT_NODE && strcmp((const char *) node->name, searching_for) == 0) { in dom_search_child()
1480 …if (cur->type == XML_ELEMENT_NODE && php_dom_ns_is_fast(cur, php_dom_ns_is_html_magic_token) && ac… in dom_html_document_element_read_raw()
1590 if (node->type == XML_ELEMENT_NODE) { in dom_get_title_element()
1609 if (cur->type == XML_ELEMENT_NODE in dom_get_svg_title_element()
H A Dxml_serializer.c320 ZEND_ASSERT(element->type == XML_ELEMENT_NODE); in dom_recording_the_namespace_information()
1259 case XML_ELEMENT_NODE: in dom_xml_serialization_algorithm()
H A Dphp_dom.stub.php11 const XML_ELEMENT_NODE = UNKNOWN; define
H A Dphp_dom_arginfo.h1812 REGISTER_LONG_CONSTANT("XML_ELEMENT_NODE", XML_ELEMENT_NODE, CONST_PERSISTENT); in register_php_dom_symbols()
/php-src/ext/simplexml/
H A Dsimplexml.c128 if (node->type == XML_ELEMENT_NODE && match_ns(node, sxe->iter.nsprefix, sxe->iter.isprefix)) { in sxe_get_element_by_offset()
152 if (node->type == XML_ELEMENT_NODE && match_ns(node, sxe->iter.nsprefix, sxe->iter.isprefix)) { in sxe_find_element_by_name()
186 if (node->type == XML_ELEMENT_NODE && match_ns(node, sxe->iter.nsprefix, sxe->iter.isprefix)) { in sxe_get_element_by_name()
1440 if (node->type == XML_ELEMENT_NODE) { in sxe_add_namespaces()
1495 if (node->type == XML_ELEMENT_NODE) { in PHP_METHOD()
1508 if (node->type == XML_ELEMENT_NODE) { in sxe_add_registered_namespaces()
1745 if (node && node->type != XML_ELEMENT_NODE) { in PHP_METHOD()
2048 while (node && node->type != XML_ELEMENT_NODE) { in PHP_METHOD()
2380 if (node->type == XML_ELEMENT_NODE) { in php_sxe_iterator_fetch()
2389 if (node->type == XML_ELEMENT_NODE) { in php_sxe_iterator_fetch()
[all …]
/php-src/ext/libxml/
H A Dlibxml.c264 node->type = XML_ELEMENT_NODE; in php_libxml_node_free()
279 case XML_ELEMENT_NODE: { in php_libxml_node_free()
335 if (curnode->type == XML_ELEMENT_NODE) { in php_libxml_node_free_list()
1432 if (node->type == XML_ELEMENT_NODE) { in php_libxml_node_free_resource()
/php-src/ext/xsl/
H A Dxsltprocessor.c143 if (cur->type == XML_ELEMENT_NODE) { in xsl_build_ns_map()
263 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, (const xmlChar *) "key") && xmlStr… in PHP_METHOD()

Completed in 125 milliseconds