/PHP-7.4/ext/dom/ |
H A D | characterdata.c | 159 xmlNodePtr node; in PHP_FUNCTION() local 171 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 231 xmlNodePtr node; in PHP_FUNCTION() local 245 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 262 xmlNodeSetContent(node, first); in PHP_FUNCTION() 264 xmlNodeAddContent(node, second); in PHP_FUNCTION() 281 xmlNodePtr node; in PHP_FUNCTION() local 293 cur = xmlNodeGetContent(node); in PHP_FUNCTION() 319 xmlNodeSetContent(node, substring); in PHP_FUNCTION() 337 xmlNodePtr node; in PHP_FUNCTION() local [all …]
|
H A D | entityreference.c | 49 xmlNode *node; in PHP_METHOD() local 65 node = xmlNewReference(NULL, (xmlChar *) name); in PHP_METHOD() 67 if (!node) { in PHP_METHOD() 78 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern); in PHP_METHOD()
|
/PHP-7.4/ext/dom/tests/ |
H A D | DOMDocument_createProcessingInstruction_basic.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 18 $node->appendChild($test_proc_inst0); 22 $node->appendChild($test_proc_inst1);
|
H A D | bug32615.phpt | 19 $node = $dom->createElement('newfirst'); 20 $frag->appendChild($node); 29 $node = $frag->appendChild(new DOMElement('fourth')); 33 $node = $root->insertBefore($frag, $node); 39 $root->replaceChild($frag, $node); 58 $node = $frag->appendChild(new DOMElement('fourth')); 63 $root->insertBefore($frag, $node);
|
H A D | node_textcontent.phpt | 27 $node = $dom->getElementById('test'); 28 var_dump($node->textContent); 29 $node->textContent = $text; 30 var_dump($node->textContent == $text); 32 var_dump($dom->saveHTML($node));
|
H A D | DOMNode_insertBefore.phpt | 18 echo "Add new node B\n"; 21 echo "Add new node A before B\n"; 29 Add new node B 32 Add new node A before B
|
H A D | DOMNode_issamenode_basic.phpt | 19 $node = $dom->documentElement; 20 if($node->isSameNode($node)) 27 if($nodelist->item(0)->isSameNode($node))
|
H A D | DOMDocument_createAttribute_basic.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 18 $node->appendChild($test_attribute);
|
H A D | bug43364.phpt | 10 foreach($nodes as $node) { 11 if($node instanceof DOMElement) { 13 if($node->childNodes->length > 0) { 14 $count += loopElements($node->childNodes);
|
H A D | DOMDocument_createAttribute_error1.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 18 $node->appendChild($failed_test_attribute);
|
H A D | DOMDocument_createProcessingInstruction_error.phpt | 13 $node = $doc->createElement("para"); 14 $newnode = $doc->appendChild($node); 19 $node->appendChild($test_proc_inst);
|
H A D | bug81433.phpt | 18 $node = $element->getAttributeNode("id"); 19 var_dump($node->isId()); 22 var_dump($node->isId());
|
H A D | DOMNode_cloneNode_basic.phpt | 71 echo "node $index\n"; 76 node 0 84 node 1 92 node 2 95 node 3 103 node 4
|
H A D | domxpath.phpt | 12 foreach ($nodelist AS $node) { 14 $val += $node->textContent; 33 if ($node = $nodelist->item(0)) { 34 print $node->textContent."\n";
|
H A D | domattributes.phpt | 16 $node = $dom->documentElement; 18 $lang = $node->getAttributeNode('language'); 31 $top_element = $node->cloneNode();
|
/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | xml_to_dandarpc.c | 171 if(node) { in DANDARPC_to_xml_element_worker() 173 const char* id = XMLRPC_GetValueID(node); in DANDARPC_to_xml_element_worker() 174 XMLRPC_VALUE_TYPE type = XMLRPC_GetValueType(node); in DANDARPC_to_xml_element_worker() 202 … simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node)); in DANDARPC_to_xml_element_worker() 206 snprintf(buf, BUF_SIZE, "%i", XMLRPC_GetValueInt(node)); in DANDARPC_to_xml_element_worker() 216 snprintf(buf, BUF_SIZE, "%f", XMLRPC_GetValueDouble(node)); in DANDARPC_to_xml_element_worker() 227 … base64_encode_xmlrpc(&buf, XMLRPC_GetValueBase64(node), XMLRPC_GetValueStringLen(node)); in DANDARPC_to_xml_element_worker() 235 XMLRPC_VALUE xIter = XMLRPC_VectorRewind(node); in DANDARPC_to_xml_element_worker() 257 xIter = XMLRPC_VectorNext(node); in DANDARPC_to_xml_element_worker() 272 xml_element* DANDARPC_VALUE_to_xml_element(XMLRPC_VALUE node) { in DANDARPC_VALUE_to_xml_element() argument [all …]
|
H A D | queue.h | 32 } node ; typedef 38 node *head, *tail, *cursor; 44 node *loc ; 85 #define Q_Iter_Next_F(qi) (qi ? (q_iter)((node*)qi)->next : NULL) 86 #define Q_Iter_Prev_F(qi) (qi ? (q_iter)((node*)qi)->prev : NULL) 87 #define Q_Iter_Get_F(qi) (qi ? ((node*)qi)->data : NULL)
|
H A D | queue.c | 284 node *n; in Q_PushHead() 293 q->head = (node*)p; in Q_PushHead() 336 node *p; in Q_PushTail() 344 q->tail = (node *)n; in Q_PushTail() 402 q->head = (node *)n; in Q_PopHead() 444 q->tail = (node *)p; in Q_PopTail() 533 n = ((node*)iter)->next; in Q_Iter_Del() 534 p = ((node*)iter)->prev; in Q_Iter_Del() 535 d = ((node*)iter)->data; in Q_Iter_Del() 542 if (q->cursor == (node*)iter) { in Q_Iter_Del() [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug65328.phpt | 40 /** @var Node $node */ 41 foreach($iterator as $node) { 42 if($node->getUid() === $uid) { 43 return $node; 58 /** @var Node $node */ 60 if($node->getUid() == $uid) { 61 $result->push($node); 200 * @param Node $node 206 $headNode = $node; 208 $headNode = $node; [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_compile.h | 92 znode node; member 617 (node).jmp_addr 620 (node).jmp_addr = (val); \ 625 (node).jmp_addr = (op_array)->opcodes + (node).opline_num; \ 630 (node).opline_num = (node).jmp_addr - (op_array)->opcodes; \ 645 (node).jmp_offset = ZEND_OPLINE_NUM_TO_OFFSET(op_array, opline, (node).opline_num); \ 659 # define CT_CONSTANT(node) \ argument 666 (node).zv 670 (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \ 685 (node).constant = \ [all …]
|
H A D | zend_generators.h | 85 zend_generator_node node; member 118 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current() 123 leaf = generator->node.children ? generator->node.ptr.leaf : generator; in zend_generator_get_current() 124 root = leaf->node.ptr.root; in zend_generator_get_current() 126 if (EXPECTED(root->execute_data && root->node.parent == NULL)) { in zend_generator_get_current()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | zend_cfg.h | 105 #define CRT_CONSTANT_EX(op_array, opline, node, rt_constants) \ argument 107 RT_CONSTANT(opline, (node)) \ 109 CT_CONSTANT_EX(op_array, (node).constant) \ 112 #define CRT_CONSTANT(node) \ argument 113 CRT_CONSTANT_EX(op_array, opline, node, (build_flags & ZEND_RT_CONSTANTS))
|
/PHP-7.4/ext/libxml/ |
H A D | php_libxml.h | 73 xmlNodePtr node; member 79 php_libxml_node_ptr *node; member 94 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, v… 101 PHP_LIBXML_API void php_libxml_node_free_list(xmlNodePtr node); 102 PHP_LIBXML_API void php_libxml_node_free_resource(xmlNodePtr node);
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | bug43221.phpt | 8 $n = $xml->addChild("node", "value"); 18 <root><node xmlns:foo="http://bar.com" a="b" foo:e="f">value</node></root>
|
/PHP-7.4/Zend/tests/ |
H A D | unset_prop_recursion.phpt | 8 function insert(Node $node) { 9 $node->parent = $this; 10 $this->children[] = $node;
|