Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 123) sorted by path

12345

/PHP-5.5/
H A DNEWS336 node name). (Christoph Michael Becker)
1222 . Fixed bug #66084 (simplexml_load_string() mangles empty node name)
2782 . Implemented FR #55218 Get namespaces from current node. (Lonny)
4190 . Fixed bug #54601 (Removing the doctype node segfaults). (Hannes)
5206 - Changed tidyNode class to disallow manual node creation. (Pierrick)
5223 single text node when using libxml2.7.3+. (Kalle)
6066 - Added DOMNode::getLineNo to get line number of parsed node. (Rob)
7280 - Fixed bug #42112 (deleting a node produces memory corruption). (Rob)
7325 - Fixed bug #41833 (addChild() on a non-existent node, no node created,
7686 node). (Tony)
[all …]
/PHP-5.5/Zend/tests/
H A Dgc_017.phpt16 function insert($node) {
17 $node->parent = $this;
18 $this->children[] = $node;
/PHP-5.5/Zend/
H A Dzend_execute.c53 #define get_zval_ptr(op_type, node, ex, should_free, type) _get_zval_ptr(op_type, node, ex, should_… argument
54 #define get_zval_ptr_ptr(op_type, node, ex, should_free, type) _get_zval_ptr_ptr(op_type, node, ex,… argument
55 #define get_obj_zval_ptr(op_type, node, ex, should_free, type) _get_obj_zval_ptr(op_type, node, ex,… argument
56 #define get_obj_zval_ptr_ptr(op_type, node, ex, should_free, type) _get_obj_zval_ptr_ptr(op_type, n… argument
354 return node->zv; in _get_zval_ptr()
357 should_free->var = TMP_FREE(&EX_T(node->var).tmp_var); in _get_zval_ptr()
358 return &EX_T(node->var).tmp_var; in _get_zval_ptr()
369 return _get_zval_ptr_cv(node->var, type TSRMLS_CC); in _get_zval_ptr()
453 return _get_zval_ptr_ptr_cv(node->var, type TSRMLS_CC); in _get_zval_ptr_ptr()
1732 return get_zval_ptr(op_type, node, execute_data, should_free, type); in zend_get_zval_ptr()
[all …]
H A Dzend_execute.h384 ZEND_API zval *zend_get_zval_ptr(int op_type, const znode_op *node, const zend_execute_data *execut…
385 ZEND_API zval **zend_get_zval_ptr_ptr(int op_type, const znode_op *node, const zend_execute_data *e…
/PHP-5.5/ext/dom/
H A Dcharacterdata.c178 xmlNodePtr node; in PHP_FUNCTION() local
189 cur = xmlNodeGetContent(node); in PHP_FUNCTION()
260 xmlNodePtr node; in PHP_FUNCTION() local
272 cur = xmlNodeGetContent(node); in PHP_FUNCTION()
289 xmlNodeSetContent(node, first); in PHP_FUNCTION()
290 xmlNodeAddContent(node, arg); in PHP_FUNCTION()
291 xmlNodeAddContent(node, second); in PHP_FUNCTION()
308 xmlNodePtr node; in PHP_FUNCTION() local
319 cur = xmlNodeGetContent(node); in PHP_FUNCTION()
363 xmlNodePtr node; in PHP_FUNCTION() local
[all …]
H A Dconfig.m425 element.c node.c string_extend.c characterdata.c \
H A Dconfig.w3211 node.c string_extend.c characterdata.c documenttype.c \
H A Ddocument.c905 xmlNode *node; in PHP_FUNCTION() local
923 if (!node) { in PHP_FUNCTION()
938 xmlNode *node; in PHP_FUNCTION() local
950 if (!node) { in PHP_FUNCTION()
978 if (!node) { in PHP_FUNCTION()
1006 if (!node) { in PHP_FUNCTION()
1034 if (!node) { in PHP_FUNCTION()
1067 if (!node) { in PHP_FUNCTION()
1102 if (!node) { in PHP_FUNCTION()
1136 if (!node) { in PHP_FUNCTION()
[all …]
H A Ddom.dsp182 SOURCE=.\node.c
H A Ddom_iterators.c35 xmlNode *node; member
52 if(priv->node == NULL) { in itemHashScanner()
53 priv->node = (xmlNode *)payload; in itemHashScanner()
93 iter->node = NULL; in php_dom_libxml_hash_iter()
95 nodep = iter->node; in php_dom_libxml_hash_iter()
171 xmlNodePtr curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_current_key()
211 curnode = (xmlNodePtr)((php_libxml_node_ptr *)intern->ptr)->node; in php_dom_iterator_move_forward()
H A Ddomimplementation.c153 zval *node = NULL; in PHP_METHOD() local
163 …ers(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_documenttype_c… in PHP_METHOD()
167 if (node != NULL) { in PHP_METHOD()
168 DOM_GET_OBJ(doctype, node, xmlDtdPtr, doctobj); in PHP_METHOD()
H A Delement.c534 zval *id, *node; in PHP_FUNCTION() local
540 …END_NUM_ARGS() TSRMLS_CC, getThis(), "OO", &id, dom_element_class_entry, &node, dom_attr_class_ent… in PHP_FUNCTION()
551 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION()
566 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) in PHP_FUNCTION()
600 zval *id, *node; in PHP_FUNCTION() local
617 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION()
958 zval *id, *node; in PHP_FUNCTION() local
976 DOM_GET_OBJ(attrp, node, xmlAttrPtr, attrobj); in PHP_FUNCTION()
997 ((php_libxml_node_ptr *)oldobj->ptr)->node == (xmlNodePtr) attrp) in PHP_FUNCTION()
1216 zval *id, *node; in PHP_FUNCTION() local
[all …]
H A Dentityreference.c52 xmlNode *node; in PHP_METHOD() local
73 node = xmlNewReference(NULL, name); in PHP_METHOD()
75 if (!node) { in PHP_METHOD()
86 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC); in PHP_METHOD()
H A Dnode.c970 node = newchild; in _php_dom_insert_fragment()
984 node = node->next; in _php_dom_insert_fragment()
1250 zval *id, *node; in PHP_FUNCTION() local
1301 zval *id, *node; in PHP_FUNCTION() local
1431 xmlNode *n, *node; in PHP_FUNCTION() local
1444 if (!node) { in PHP_FUNCTION()
1468 node->ns = ns; in PHP_FUNCTION()
1472 node->properties = xmlCopyPropList(node, n->properties); in PHP_FUNCTION()
1571 zval *id, *node; in PHP_FUNCTION() local
1792 ctxp->node = NULL; in dom_canonicalization()
[all …]
H A Dphp_dom.c112 switch (node->type) { in dom_node_is_read_only()
136 switch (node->type) { in dom_node_children_valid()
557 nodep = intern->node->node; in php_dom_export_node()
568 zval *node; in PHP_FUNCTION() local
1054 node = node->next; in node_list_unlink()
1174 xmlNodePtr node; in dom_objects_clone() local
1181 if (node != NULL) { in dom_objects_clone()
1182 cloned_node = xmlDocCopyNode(node, node->doc, 1); in dom_objects_clone()
1651 if (node == NULL) in dom_get_nsdecl()
1655 cur = node->nsDef; in dom_get_nsdecl()
[all …]
H A Dphp_dom.h107 void node_list_unlink(xmlNodePtr node TSRMLS_DC);
109 xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix);
111 xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName);
117 int dom_node_is_read_only(xmlNodePtr node);
118 int dom_node_children_valid(xmlNodePtr node);
134 if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \
/PHP-5.5/ext/dom/examples/
H A Ddom1.inc23 function print_node($node)
25 print "Node Name: " . $node->nodeName;
26 print "\nNode Type: " . $node->nodeType;
27 $child_count = $node->childNodes->length;
30 print "\nNode Content: " . $node->nodeValue;
37 foreach($nodelist as $node)
39 print_node($node);
/PHP-5.5/ext/dom/tests/
H A DDOMDocument_createAttribute_basic.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
18 $node->appendChild($test_attribute);
H A DDOMDocument_createAttribute_error1.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
18 $node->appendChild($failed_test_attribute);
H A DDOMDocument_createEntityReference_basic.phpt2 DOMDocument::createEntityReference() should create a new entity reference node
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);
H A DDOMDocument_createProcessingInstruction_error.phpt13 $node = $doc->createElement("para");
14 $newnode = $doc->appendChild($node);
19 $node->appendChild($test_proc_inst);
H A DDOMNode_C14NFile_basic.phpt26 $node = $doc->getElementsByTagName('title')->item(0);
27 var_dump($node->C14NFile($output));
H A DDOMNode_C14N_basic.phpt25 $node = $doc->getElementsByTagName('title')->item(0);
26 var_dump($node->C14N());
H A DDOMNode_cloneNode_basic.phpt71 echo "node $index\n";
77 node 0
85 node 1
93 node 2
96 node 3
104 node 4

Completed in 75 milliseconds

12345