Home
last modified time | relevance | path

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

1234567

/PHP-8.2/ext/xsl/tests/
H A Dbug70078.phpt20 function testPhpFunction($node) {
30 <node>
32 </node>
49node>test2</node><node>test2</node><node>test2</node><node>test2</node><node>test2</node><node>tes…
/PHP-8.2/ext/ffi/tests/
H A Dlist.phpt26 $node->data = 0;
27 $node->next = $node;
28 $node->prev = $node;
29 $this->root = $node;
34 $node = $root->next;
36 $prev = $node;
37 $node = $node->next;
57 $node->prev->next = $node->next;
58 $node->next->prev = $node->prev;
62 $node = $node->next;
[all …]
/PHP-8.2/ext/soap/
H A Dphp_xml.c193 return xmlSearchNs(node->doc, node->parent, NULL); in attr_find_ns()
202 return xmlSearchNs(node->doc, node, NULL); in node_find_ns()
243 return node; in get_attribute_ex()
245 node = node->next; in get_attribute_ex()
254 return node; in get_node_ex()
256 node = node->next; in get_node_ex()
265 return node; in get_node_recurisve_ex()
272 node = node->next; in get_node_recurisve_ex()
283 node = get_node_ex(node, name, name_ns); in get_node_with_attribute_ex()
293 node = node->next; in get_node_with_attribute_ex()
[all …]
H A Dphp_xml.h22 #define get_attribute(node, name) get_attribute_ex(node, name, NULL) argument
23 #define get_node(node, name) get_node_ex(node, name, NULL) argument
24 #define get_node_recursive(node, name) get_node_recursive_ex(node, name, NULL) argument
25 #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL,… argument
26 #define get_node_with_attribute_recursive(node, name, attr, val) get_node_with_attribute_recursive_… argument
27 #define node_is_equal(node, name) node_is_equal_ex(node, name, NULL) argument
28 #define attr_is_equal(node, name) attr_is_equal_ex(node, name, NULL) argument
33 xmlNsPtr attr_find_ns(xmlAttrPtr node);
34 xmlNsPtr node_find_ns(xmlNodePtr node);
35 int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns);
[all …]
/PHP-8.2/ext/simplexml/
H A Dsimplexml.c130 node = node->next; in sxe_get_element_by_offset()
151 node = node->next; in sxe_find_element_by_name()
193 node = node->next; in sxe_get_element_by_name()
557 node = node->next; in sxe_prop_dim_write()
1057 node = node->next; in sxe_prop_is_empty()
1193 node = node->next; in sxe_get_prop_hash()
1500 node = node->next; in sxe_add_namespaces()
1898 if (sxe->node && sxe->node->node) { in sxe_object_cast_ex()
2108 node = node->next; in PHP_METHOD()
2140 bool is_root_element = sxe->node && sxe->node->node && sxe->node->node->parent in sxe_object_clone()
[all …]
H A Dphp_simplexml_exports.h30 if ((__s)->node && (__s)->node->node) { \
31 __n = (__s)->node->node; \
/PHP-8.2/ext/simplexml/tests/
H A Dbug37386.phpt2 Bug #39760 (autocreating element doesn't assign value to first node)
10 $sx1->node[0] = 'node1';
11 $sx1->node[1] = 'node2';
14 $node = $sx1->node[0];
15 $node[0] = 'New Value';
22 <root><node>node1</node><node>node2</node></root>
25 <root><node>New Value</node><node>node2</node></root>
/PHP-8.2/ext/dom/
H A Dtext.c69 xmlNodePtr node; in dom_text_whole_text_read() local
74 if (node == NULL) { in dom_text_whole_text_read()
80 …while (node->prev && ((node->prev->type == XML_TEXT_NODE) || (node->prev->type == XML_CDATA_SECTIO… in dom_text_whole_text_read()
81 node = node->prev; in dom_text_whole_text_read()
85 while (node && ((node->type == XML_TEXT_NODE) || (node->type == XML_CDATA_SECTION_NODE))) { in dom_text_whole_text_read()
87 node = node->next; in dom_text_whole_text_read()
111 xmlNodePtr node; in PHP_METHOD() local
128 if (node->type != XML_TEXT_NODE && node->type != XML_CDATA_SECTION_NODE) { in PHP_METHOD()
162 if (node->parent != NULL) { in PHP_METHOD()
178 xmlNodePtr node; in PHP_METHOD() local
[all …]
H A Dcharacterdata.c119 xmlNodePtr node; in PHP_METHOD() local
131 cur = xmlNodeGetContent(node); in PHP_METHOD()
189 xmlNodePtr node; in PHP_METHOD() local
203 cur = xmlNodeGetContent(node); in PHP_METHOD()
220 xmlNodeSetContent(node, first); in PHP_METHOD()
222 xmlNodeAddContent(node, second); in PHP_METHOD()
238 xmlNodePtr node; in PHP_METHOD() local
250 cur = xmlNodeGetContent(node); in PHP_METHOD()
276 xmlNodeSetContent(node, substring); in PHP_METHOD()
293 xmlNodePtr node; in PHP_METHOD() local
[all …]
/PHP-8.2/ext/dom/tests/
H A Ddom_test.inc23 function print_node($node)
25 print "Node Name: " . $node->nodeName;
26 print "\nNode Type: " . $node->nodeType;
27 if ($node->nodeType != 3) {
34 if (strlen(trim($node->nodeValue))) {
45 foreach($nodelist as $node)
47 print_node($node);
51 function print_node_compact($node, $spaces)
53 if ($node->nodeType == 3) {
64 foreach ($nodelist as $node) {
[all …]
H A Ddomelement.phpt16 $node = $dom->documentElement;
17 echo "Tag Name: ".$node->tagName."\n";
20 $node->setAttribute('num', '1');
23 $node->removeAttribute('num');
30 $node->setAttributeNode($lang);
32 $node->removeAttributeNode($lang);
46 $node->setAttributeNodeNS($lang);
57 $node->appendChild($element_ns);
59 $node->appendChild($element_ns);
66 $node->setAttribute('idatt', 'n1');
[all …]
H A Ddom007.phpt47 foreach ($nots AS $key=>$node) {
48 echo "Key $key: ".$node->nodeName." (".$node->systemId.") (".$node->publicId.")\n";
56 $node = $nots->getNamedItem('xxx');
57 var_dump($node);
66 foreach ($ents AS $key=>$node) {
70 foreach ($xkeys as $key => $node) {
71 echo $node;
81 echo $node;
85 $node = $ents->item(3);
86 var_dump($node);
[all …]
H A Dbug46335.phpt13 $node = $dom->createTextNode($textascii);
14 $dom->appendChild($node);
16 print "Text: $node->textContent\n";
18 $matched = $node->splitText($start);
22 $node = $dom->createTextNode($text);
23 $dom->appendChild($node);
25 print "Text: $node->textContent\n";
27 $matched = $node->splitText($start);
H A Dbug36756.phpt2 Bug #36756 (DOMDocument::removeChild corrupts node)
12 $node = $xpath->query('/root')->item(0);
13 echo $node->nodeName . "\n";
15 echo "nodeType: " . $node->nodeType . "\n";
19 $node = $xpath->query('//child')->item(0);
20 echo $node->nodeName . "\n";
24 echo "nodeType: " . $node->nodeType . "\n";
H A DtoString_exceptions.phpt18 '<root xmlns:ns="foo"><node attr="foo" /><node>Text</node><ns:node/><?pi foobar?></root>');
25 $node = $root->childNodes[0];
26 $attrs = $node->attributes;
58 <root xmlns:ns="foo"><node attr="foo"/><node>Text</node><ns:node/><?pi foobar?></root>
H A Dgh11682.phpt9 $dom->loadXML('<?xml version="1.0" ?><root><node /></root>');
17 $node = $dom->getElementsByTagName('node')->item(0);
19 $node->before(...$list);
20 $node->remove();
H A DDOMNode_removeChild_basic.phpt42 echo "node $index\n";
53 echo "node $index\n";
60 node 4
64 node 3
72 node 2
76 node 1
84 node 0
89 node 0
97 node 1
H A Dbug54382.phpt18 echo 'namespace node does not exist.' . "\n";
20 echo 'namespace node prefix=' . $ns2->prefix . "\n";
21 echo 'namespace node namespaceURI=' . $ns2->namespaceURI . "\n";
25 namespace node prefix=ns2
26 namespace node namespaceURI=http://ns2
H A DDOMDocument_createProcessingInstruction_basic.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
18 $node->appendChild($test_proc_inst0);
22 $node->appendChild($test_proc_inst1);
/PHP-8.2/ext/libxml/
H A Dlibxml.c139 if(node) { in php_libxml_node_free()
141 ((php_libxml_node_ptr *) node->_private)->node = NULL; in php_libxml_node_free()
182 curnode = node; in php_libxml_node_free_list()
195 xmlRemoveID(node->doc, (xmlAttrPtr) node); in php_libxml_node_free_list()
1157 return node; in php_libxml_import_node()
1166 if (object->node->node == node) { in php_libxml_increment_node_ptr()
1173 object->node = node->_private; in php_libxml_increment_node_ptr()
1182 object->node->node = node; in php_libxml_increment_node_ptr()
1185 node->_private = object->node; in php_libxml_increment_node_ptr()
1257 if (!node) { in php_libxml_node_free_resource()
[all …]
/PHP-8.2/ext/libxml/tests/
H A Dbug42112.phpt2 Bug #42112 (deleting a node produces memory corruption)
12 $node = $doc->getElementById( 'id1' );
13 print 'Deleting Node: '.$node->nodeName."\n";
14 $node->parentNode->removeChild( $node );
22 $node = $doc->getElementById( 'id1' );
23 if ($node) {
24 print 'Found Node: '.$node->nodeName."\n";
/PHP-8.2/ext/tidy/tests/
H A D036.phpt9 $node = $tidy->body();
12 $node->value = "";
18 $node->name = "";
24 $node->type = 1;
30 $node->line = 1;
36 $node->column = 1;
42 $node->proprietary = true;
48 $node->id = null;
54 $node->attribute = [];
60 $node->child = [];
/PHP-8.2/ext/standard/tests/serialize/
H A Dbug78438.phpt70 $node = array_shift($nodes);
71 foreach ($node->childs as $node) {
72 $nodes[] = $node;
86 > Unserialized total node count was 1, expected 1: CORRECT!
91 > Unserialized total node count was 4, expected 4: CORRECT!
96 > Unserialized total node count was 13, expected 13: CORRECT!
101 > Unserialized total node count was 40, expected 40: CORRECT!
106 > Unserialized total node count was 121, expected 121: CORRECT!
111 > Unserialized total node count was 364, expected 364: CORRECT!
116 > Unserialized total node count was 1093, expected 1093: CORRECT!
[all …]
/PHP-8.2/Zend/
H A Dzend_generators.c184 if (node->children == 1) { in zend_generator_remove_child()
185 node->child.single = NULL; in zend_generator_remove_child()
189 if (node->children == 2) { in zend_generator_remove_child()
199 node->children--; in zend_generator_remove_child()
216 generator->node.ptr.root->node.ptr.leaf = NULL; in clear_link_to_root()
487 while (generator->node.parent->node.parent) { in zend_generator_check_placeholder_frame()
530 zend_generator_node *node = &generator->node; in zend_generator_add_child() local
539 (zend_ulong) node->child.single, node->child.single); in zend_generator_add_child()
540 node->child.ht = ht; in zend_generator_add_child()
546 ++node->children; in zend_generator_add_child()
[all …]
/PHP-8.2/ext/spl/tests/
H A Dbug54971.phpt10 <node>val1</node>
11 <node>val2</node>
20 $items = $xpath->query('//node');

Completed in 40 milliseconds

1234567