Home
last modified time | relevance | path

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

/php-src/ext/dom/
H A Dtext.c75 …while (node->prev && ((node->prev->type == XML_TEXT_NODE) || (node->prev->type == XML_CDATA_SECTIO… in dom_text_whole_text_read()
80 while (node && ((node->type == XML_TEXT_NODE) || (node->type == XML_CDATA_SECTION_NODE))) { in dom_text_whole_text_read()
155 nnode->type = XML_TEXT_NODE; in PHP_METHOD()
H A Dnode.c123 case XML_TEXT_NODE: in dom_node_node_name_read()
154 case XML_TEXT_NODE: in dom_node_node_value_read()
197 case XML_TEXT_NODE: in dom_node_node_value_write()
711 …&& type != XML_TEXT_NODE && type != XML_CDATA_SECTION_NODE && type != XML_COMMENT_NODE && type != … in dom_skip_text_content()
870 if (child->type == XML_TEXT_NODE && (refp->type == XML_TEXT_NODE || in dom_node_insert_before_legacy()
871 (refp->prev != NULL && refp->prev->type == XML_TEXT_NODE))) { in dom_node_insert_before_legacy()
924 …if (child->type == XML_TEXT_NODE && parentp->last != NULL && parentp->last->type == XML_TEXT_NODE)… in dom_node_insert_before_legacy()
1054 && node->type != XML_TEXT_NODE in dom_replace_node_validity_checks()
1065 if (parent_is_document && (node->type == XML_TEXT_NODE || node->type == XML_CDATA_SECTION_NODE)) { in dom_replace_node_validity_checks()
1311 if (child->type == XML_TEXT_NODE && nodep->last != NULL && nodep->last->type == XML_TEXT_NODE) { in dom_node_append_child_legacy()
[all …]
H A Dhtml5_serializer.c203 if (child->type == XML_TEXT_NODE) { in dom_html5_serialize_element_start()
275 case XML_TEXT_NODE: { in dom_html5_serialize_node()
H A Dparentnode.c176 } else if (iter->type == XML_TEXT_NODE || iter->type == XML_CDATA_SECTION_NODE) { in dom_fragment_common_hierarchy_check_part()
290 if (parent_is_document && (node->type == XML_TEXT_NODE || node->type == XML_CDATA_SECTION_NODE)) { in dom_is_pre_insert_valid_without_step_1()
492 } else if (node->type == XML_TEXT_NODE) { in dom_insert_node_list_cleanup()
H A Dxml_serializer.c552 if (child->type == XML_TEXT_NODE) { in dom_xml_serialize_attribute_node_value()
764 …if (child->type == XML_TEXT_NODE || child->type == XML_ENTITY_REF_NODE || child->type == XML_CDATA… in dom_xml_should_format_element()
1128 case XML_TEXT_NODE: in dom_xml_serialization_algorithm()
H A Dphp_dom.c179 case XML_TEXT_NODE: in dom_node_children_valid()
1317 case XML_TEXT_NODE: in node_list_unlink()
1576 case XML_TEXT_NODE: in php_dom_create_object()
1798 while (nextp != NULL && nextp->type == XML_TEXT_NODE) { in dom_merge_adjacent_exclusive_text_nodes()
1816 case XML_TEXT_NODE: in php_dom_normalize_legacy()
1848 if (node->type == XML_TEXT_NODE) { in php_dom_normalize_modern()
2235 case XML_TEXT_NODE: in php_dom_get_content_into_zval()
H A Dhtml5_parser.c86 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 Dphp_dom_arginfo.h1806 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.c738 (!node->children || (node->children->type == XML_TEXT_NODE && !node->children->next && in sxe_prop_dim_exists()
920 if (node->children && node->children->type == XML_TEXT_NODE && !xmlIsBlankNode(node->children)) { in _get_base_node_value()
1014 if (node->type == XML_TEXT_NODE) { in sxe_prop_is_empty()
1120 if (node->type == XML_TEXT_NODE) { in sxe_get_prop_hash()
1286 …if (nodeptr->type == XML_TEXT_NODE || nodeptr->type == XML_ELEMENT_NODE || nodeptr->type == XML_AT… in PHP_METHOD()
1292 if (nodeptr->type == XML_TEXT_NODE) { in PHP_METHOD()
/php-src/ext/soap/
H A Dphp_xml.c51 if (trav->type == XML_TEXT_NODE) { in cleanup_xml_node()
H A Dphp_encoding.c665 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_string()
697 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringr()
730 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_stringc()
765 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_base64()
796 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_hexbin()
988 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_double()
1026 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_long()
1106 if (data->children->type == XML_TEXT_NODE && data->children->next == NULL) { in to_zval_bool()
/php-src/ext/libxml/
H A Dlibxml.c361 case XML_TEXT_NODE: in php_libxml_node_free_list()
1467 if (attr->children->type == XML_TEXT_NODE && attr->children->next == NULL) { in php_libxml_attr_value()

Completed in 90 milliseconds