Home
last modified time | relevance | path

Searched refs:nodep (Results 1 – 22 of 22) sorted by relevance

/PHP-5.4/ext/dom/
H A Dnode.c201 xmlNode *nodep; in dom_node_node_name_read() local
290 xmlNode *nodep; in dom_node_node_value_read() local
334 xmlNode *nodep; in dom_node_node_value_write() local
384 xmlNode *nodep; in dom_node_node_type_read() local
448 xmlNode *nodep; in dom_node_child_nodes_read() local
621 xmlNode *nodep; in dom_node_attributes_read() local
899 baseuri = xmlNodeGetBase(nodep->doc, nodep); in dom_node_base_uri_read()
1660 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
1664 nsptr = xmlSearchNs(nodep->doc, nodep, NULL); in PHP_FUNCTION()
1693 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
[all …]
H A Dnodelist.c57 xmlNodePtr nodep, curnode; in dom_nodelist_length_read() local
71 if (nodep) { in dom_nodelist_length_read()
73 curnode = nodep->children; in dom_nodelist_length_read()
82 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in dom_nodelist_length_read()
83 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in dom_nodelist_length_read()
85 nodep = nodep->children; in dom_nodelist_length_read()
114 xmlNodePtr nodep, curnode; in PHP_FUNCTION() local
144 if (nodep) { in PHP_FUNCTION()
153 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
154 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in PHP_FUNCTION()
[all …]
H A Dnotation.c50 xmlEntityPtr nodep; in dom_notation_public_id_read() local
52 nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read()
54 if (nodep == NULL) { in dom_notation_public_id_read()
60 if (nodep->ExternalID) { in dom_notation_public_id_read()
61 ZVAL_STRING(*retval, (char *) (nodep->ExternalID), 1); in dom_notation_public_id_read()
78 xmlEntityPtr nodep; in dom_notation_system_id_read() local
80 nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read()
82 if (nodep == NULL) { in dom_notation_system_id_read()
88 if (nodep->SystemID) { in dom_notation_system_id_read()
89 ZVAL_STRING(*retval, (char *) (nodep->SystemID), 1); in dom_notation_system_id_read()
H A Dentity.c49 xmlEntity *nodep; in dom_entity_public_id_read() local
51 nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_public_id_read()
53 if (nodep == NULL) { in dom_entity_public_id_read()
77 xmlEntity *nodep; in dom_entity_system_id_read() local
79 nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_system_id_read()
81 if (nodep == NULL) { in dom_entity_system_id_read()
90 ZVAL_STRING(*retval, (char *) (nodep->SystemID), 1); in dom_entity_system_id_read()
105 xmlEntity *nodep; in dom_entity_notation_name_read() local
108 nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_notation_name_read()
110 if (nodep == NULL) { in dom_entity_notation_name_read()
[all …]
H A Dprocessinginstruction.c55 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
77 if (!nodep) { in PHP_METHOD()
100 xmlNodePtr nodep; in dom_processinginstruction_target_read() local
102 nodep = dom_object_get_node(obj); in dom_processinginstruction_target_read()
104 if (nodep == NULL) { in dom_processinginstruction_target_read()
124 xmlNodePtr nodep; in dom_processinginstruction_data_read() local
127 nodep = dom_object_get_node(obj); in dom_processinginstruction_data_read()
129 if (nodep == NULL) { in dom_processinginstruction_data_read()
150 xmlNode *nodep; in dom_processinginstruction_data_write() local
152 nodep = dom_object_get_node(obj); in dom_processinginstruction_data_write()
[all …]
H A Dcharacterdata.c81 xmlNodePtr nodep; in dom_characterdata_data_read() local
86 if (nodep == NULL) { in dom_characterdata_data_read()
106 xmlNode *nodep; in dom_characterdata_data_write() local
110 if (nodep == NULL) { in dom_characterdata_data_write()
142 xmlNodePtr nodep; in dom_characterdata_length_read() local
225 xmlNode *nodep; in PHP_FUNCTION() local
237 if ((nodep->content == (xmlChar *) &(nodep->properties)) || in PHP_FUNCTION()
238 ((nodep->doc != NULL) && (nodep->doc->dict != NULL) && in PHP_FUNCTION()
239 xmlDictOwns(nodep->doc->dict, nodep->content))) { in PHP_FUNCTION()
240 nodep->content = xmlStrncatNew(nodep->content, arg, arg_len); in PHP_FUNCTION()
[all …]
H A Ddocumentfragment.c57 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
68 nodep = xmlNewDocFragment(NULL); in PHP_METHOD()
70 if (!nodep) { in PHP_METHOD()
82 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC); in PHP_METHOD()
124 xmlNode *nodep; in PHP_METHOD() local
135 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
137 if (dom_node_is_read_only(nodep) == SUCCESS) { in PHP_METHOD()
143 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, data, &lst); in PHP_METHOD()
149 php_dom_xmlSetTreeDoc(lst, nodep->doc); in PHP_METHOD()
152 xmlAddChildList(nodep,lst); in PHP_METHOD()
H A Delement.c213 if (!nodep) { in PHP_METHOD()
252 ns = nodep->ns; in dom_element_tag_name_read()
332 xmlNode *nodep; in PHP_FUNCTION() local
375 xmlNode *nodep; in PHP_FUNCTION() local
535 xmlNode *nodep; in PHP_FUNCTION() local
601 xmlNode *nodep; in PHP_FUNCTION() local
776 if (nodep != NULL && nodep->type != XML_ATTRIBUTE_DECL) { in PHP_FUNCTION()
872 xmlNode *nodep; in PHP_FUNCTION() local
959 xmlNode *nodep; in PHP_FUNCTION() local
1060 xmlNode *nodep; in PHP_FUNCTION() local
[all …]
H A Dnamednodemap.c90 xmlNodePtr nodep; in dom_namednodemap_length_read() local
102 nodep = dom_object_get_node(objmap->baseobj); in dom_namednodemap_length_read()
103 if (nodep) { in dom_namednodemap_length_read()
104 curnode = nodep->properties; in dom_namednodemap_length_read()
136 xmlNodePtr nodep; in PHP_FUNCTION() local
162 if (nodep) { in PHP_FUNCTION()
210 xmlNodePtr nodep, curnode; in PHP_FUNCTION() local
233 if (nodep) { in PHP_FUNCTION()
234 curnode = (xmlNodePtr)nodep->properties; in PHP_FUNCTION()
268 xmlNodePtr nodep; in PHP_FUNCTION() local
[all …]
H A Ddom_iterators.c85 xmlNode *nodep = NULL; in php_dom_libxml_hash_iter() local
95 nodep = iter->node; in php_dom_libxml_hash_iter()
97 return nodep; in php_dom_libxml_hash_iter()
274 xmlNodePtr nodep, curnode=NULL; in php_dom_get_iterator() local
303 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj); in php_dom_get_iterator()
304 if (!nodep) { in php_dom_get_iterator()
309 curnode = (xmlNodePtr) nodep->properties; in php_dom_get_iterator()
311 curnode = (xmlNodePtr) nodep->children; in php_dom_get_iterator()
314 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_iterator()
315 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_iterator()
[all …]
H A Dcdatasection.c54 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
67 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len); in PHP_METHOD()
69 if (!nodep) { in PHP_METHOD()
80 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC); in PHP_METHOD()
H A Dcomment.c54 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
67 nodep = xmlNewComment((xmlChar *) value); in PHP_METHOD()
69 if (!nodep) { in PHP_METHOD()
80 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern … in PHP_METHOD()
H A Dattr.c60 xmlAttrPtr nodep = NULL; in PHP_METHOD() local
82 nodep = xmlNewProp(NULL, (xmlChar *) name, value); in PHP_METHOD()
84 if (!nodep) { in PHP_METHOD()
94 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern … in PHP_METHOD()
213 xmlNodePtr nodep, nodeparent; in dom_attr_owner_element_read() local
216 nodep = dom_object_get_node(obj); in dom_attr_owner_element_read()
218 if (nodep == NULL) { in dom_attr_owner_element_read()
225 nodeparent = nodep->parent; in dom_attr_owner_element_read()
H A Ddocument.c1198 retnodep = nodep; in PHP_FUNCTION()
1212 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_FUNCTION()
1253 nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri); in PHP_FUNCTION()
1270 if (nodep != NULL) { in PHP_FUNCTION()
1271 xmlFreeNode(nodep); in PHP_FUNCTION()
1277 if (nodep == NULL) { in PHP_FUNCTION()
1282 nodep->ns = nsptr; in PHP_FUNCTION()
1338 if (nodep != NULL) { in PHP_FUNCTION()
1345 if (nodep == NULL) { in PHP_FUNCTION()
1819 if (nodep != NULL) { in PHP_FUNCTION()
[all …]
H A Ddomimplementation.c155 xmlNode *nodep; in PHP_METHOD() local
218 nodep = xmlNewDocNode (docp, nsptr, localname, NULL); in PHP_METHOD()
219 if (!nodep) { in PHP_METHOD()
234 nodep->nsDef = nsptr; in PHP_METHOD()
236 xmlDocSetRootElement(docp, nodep); in PHP_METHOD()
H A Dtext.c69 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
82 nodep = xmlNewText((xmlChar *) value); in PHP_METHOD()
84 if (!nodep) { in PHP_METHOD()
95 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC); in PHP_METHOD()
H A Dxpath.c223 xmlNode *nodep; in dom_xpath_ext_function_php() local
232 nodep = dom_object_get_node(obj); in dom_xpath_ext_function_php()
233 valuePush(ctxt, xmlXPathNewNodeSet(nodep)); in dom_xpath_ext_function_php()
390 xmlNodePtr nodep = NULL; in php_xpath_eval() local
419 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj); in php_xpath_eval()
422 if (!nodep) { in php_xpath_eval()
423 nodep = xmlDocGetRootElement(docp); in php_xpath_eval()
426 if (nodep && docp != nodep->doc) { in php_xpath_eval()
431 ctxp->node = nodep; in php_xpath_eval()
435 ns = xmlGetNsList(docp, nodep); in php_xpath_eval()
H A Dphp_dom.c553 xmlNodePtr nodep = NULL; in php_dom_export_node() local
560 return nodep; in php_dom_export_node()
569 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
580 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) { in PHP_FUNCTION()
1447 xmlNodePtr nodep; in dom_hierarchy() local
1453 nodep = parent; in dom_hierarchy()
1455 while (nodep) { in dom_hierarchy()
1456 if (nodep == child) { in dom_hierarchy()
1459 nodep = nodep->parent; in dom_hierarchy()
1489 ret = nodep; in dom_get_elements_by_tag_name_ns_raw()
[all …]
H A Dphp_dom.h112 void dom_normalize (xmlNodePtr nodep TSRMLS_DC);
113 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int…
/PHP-5.4/ext/xsl/
H A Dxsltprocessor.c350 xmlNode *nodep; in xsl_ext_function_php() local
359 nodep = dom_object_get_node(obj); in xsl_ext_function_php()
360 valuePush(ctxt, xmlXPathNewNodeSet(nodep)); in xsl_ext_function_php()
408 xmlNode *nodep = NULL; in PHP_FUNCTION() local
418 if (nodep) { in PHP_FUNCTION()
419 doc = nodep->doc; in PHP_FUNCTION()
456 nodep = xmlDocGetRootElement(sheetp->doc); in PHP_FUNCTION()
457 if (nodep && (nodep = nodep->children)) { in PHP_FUNCTION()
458 while (nodep) { in PHP_FUNCTION()
459 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, "key") && xmlStrEqual(nodep->ns->h… in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/simplexml/
H A Dsimplexml.c1992 xmlNodePtr nodep = NULL; in sxe_object_clone() local
2012 nodep = xmlDocCopyNode(sxe->node->node, docp, 1); in sxe_object_clone()
2465 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
2474 nodep = php_libxml_import_node(node TSRMLS_CC); in PHP_FUNCTION()
2476 if (nodep) { in PHP_FUNCTION()
2477 if (nodep->doc == NULL) { in PHP_FUNCTION()
2481 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
2482 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
2486 if (nodep && nodep->type == XML_ELEMENT_NODE) { in PHP_FUNCTION()
2492 php_libxml_increment_doc_ref((php_libxml_node_object *)sxe, nodep->doc TSRMLS_CC); in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/libxml/
H A Dlibxml.c162 static int php_libxml_unregister_node(xmlNodePtr nodep TSRMLS_DC) in php_libxml_unregister_node()
166 php_libxml_node_ptr *nodeptr = nodep->_private; in php_libxml_unregister_node()
1293 xmlNodePtr nodep; in php_libxml_node_decrement_resource() local
1298 nodep = object->node->node; in php_libxml_node_decrement_resource()
1301 php_libxml_node_free_resource(nodep TSRMLS_CC); in php_libxml_node_decrement_resource()

Completed in 63 milliseconds