Home
last modified time | relevance | path

Searched refs:XML_TEXT_NODE (Results 1 – 17 of 17) sorted by relevance

/php-src/ext/dom/
H A Dtext.c74 …while (node->prev && ((node->prev->type == XML_TEXT_NODE) || (node->prev->type == XML_CDATA_SECTIO… in dom_text_whole_text_read()
79 while (node && ((node->type == XML_TEXT_NODE) || (node->type == XML_CDATA_SECTION_NODE))) { in dom_text_whole_text_read()
146 nnode->type = XML_TEXT_NODE; in PHP_METHOD()
H A Dnode.c124 case XML_TEXT_NODE: in dom_node_node_name_read()
154 case XML_TEXT_NODE: in dom_node_node_value_read()
198 case XML_TEXT_NODE: in dom_node_node_value_write()
683 …&& type != XML_TEXT_NODE && type != XML_CDATA_SECTION_NODE && type != XML_COMMENT_NODE && type != … in dom_skip_text_content()
863 …if (parentp->type == XML_ATTRIBUTE_NODE && child->type != XML_TEXT_NODE && child->type != XML_ENTI… in dom_node_check_legacy_insertion_validity()
920 if (child->type == XML_TEXT_NODE && (refp->type == XML_TEXT_NODE || in dom_node_insert_before_legacy()
921 (refp->prev != NULL && refp->prev->type == XML_TEXT_NODE))) { in dom_node_insert_before_legacy()
971 …if (child->type == XML_TEXT_NODE && parentp->last != NULL && parentp->last->type == XML_TEXT_NODE)… in dom_node_insert_before_legacy()
1098 && node->type != XML_TEXT_NODE in dom_replace_node_validity_checks()
1109 if (parent_is_document && (node->type == XML_TEXT_NODE || node->type == XML_CDATA_SECTION_NODE)) { in dom_replace_node_validity_checks()
[all …]
H A Dhtml5_serializer.c209 if (child->type == XML_TEXT_NODE) { in dom_html5_serialize_element_start()
281 case XML_TEXT_NODE: { in dom_html5_serialize_node()
H A Dxml_serializer.c587 if (child->type == XML_TEXT_NODE) { in dom_xml_serialize_attribute_node_value()
887 …if (child->type == XML_TEXT_NODE || child->type == XML_ENTITY_REF_NODE || child->type == XML_CDATA… in dom_xml_should_format_element()
1269 case XML_TEXT_NODE: in dom_xml_serialization_algorithm()
H A Dphp_dom.c181 case XML_TEXT_NODE: in dom_node_children_valid()
1420 case XML_TEXT_NODE: in node_list_unlink()
1699 case XML_TEXT_NODE: in php_dom_create_object()
1916 while (nextp != NULL && nextp->type == XML_TEXT_NODE) { in dom_merge_adjacent_exclusive_text_nodes()
1934 case XML_TEXT_NODE: in php_dom_normalize_legacy()
1966 if (node->type == XML_TEXT_NODE) { in php_dom_normalize_modern()
2353 case XML_TEXT_NODE: in php_dom_get_content_into_zval()
H A Dhtml5_parser.c94 lxml_text->type = XML_TEXT_NODE; in lexbor_libxml2_bridge_new_text_node_fast()
H A Dphp_dom.stub.php21 const XML_TEXT_NODE = UNKNOWN; define
H A Dhtml_document.c1575 …if ((text->type == XML_TEXT_NODE || text->type == XML_CDATA_SECTION_NODE) && text->content != NULL… in dom_get_child_text_content()
H A Dphp_dom_arginfo.h1814 REGISTER_LONG_CONSTANT("XML_TEXT_NODE", XML_TEXT_NODE, CONST_PERSISTENT); in register_php_dom_symbols()
/php-src/ext/dom/tests/
H A DDOMNode_removeChild_basic.phpt29 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA…
45 if ($current->nodeType == XML_TEXT_NODE) {
H A DDOMNode_cloneNode_basic.phpt29 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA…
43 if ($current->nodeType == XML_TEXT_NODE) {
/php-src/ext/simplexml/
H A Dphp_simplexml_exports.h25 if ((__p)->type == XML_TEXT_NODE) { \
H A Dsimplexml.c747 (!node->children || (node->children->type == XML_TEXT_NODE && !node->children->next && in sxe_prop_dim_exists()
929 if (node->children && node->children->type == XML_TEXT_NODE && !xmlIsBlankNode(node->children)) { in get_base_node_value()
1023 if (node->type == XML_TEXT_NODE) { in sxe_prop_is_empty()
1129 if (node->type == XML_TEXT_NODE) { in sxe_get_prop_hash()
1295 …if (nodeptr->type == XML_TEXT_NODE || nodeptr->type == XML_ELEMENT_NODE || nodeptr->type == XML_AT… in PHP_METHOD()
1301 if (nodeptr->type == XML_TEXT_NODE) { in PHP_METHOD()
/php-src/ext/dom/parentnode/
H A Dtree.c161 } else if (iter->type == XML_TEXT_NODE || iter->type == XML_CDATA_SECTION_NODE) { in dom_fragment_common_hierarchy_check_part()
278 if (parent_is_document && (node->type == XML_TEXT_NODE || node->type == XML_CDATA_SECTION_NODE)) { in dom_is_pre_insert_valid_without_step_1()
498 } else if (node->type == XML_TEXT_NODE) { in dom_insert_node_list_cleanup()
/php-src/ext/soap/
H A Dphp_xml.c51 if (trav->type == XML_TEXT_NODE) { in cleanup_xml_node()
H A Dphp_encoding.c666 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_string()
698 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringr()
731 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringc()
766 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_base64()
797 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_hexbin()
1024 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_double()
1062 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_long()
1142 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_bool()
/php-src/ext/libxml/
H A Dlibxml.c371 case XML_TEXT_NODE: in php_libxml_node_free_list()
1477 if (attr->children->type == XML_TEXT_NODE && attr->children->next == NULL) { in php_libxml_attr_value()

Completed in 104 milliseconds