Home
last modified time | relevance | path

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

/PHP-5.3/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 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 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 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.c1197 retnodep = nodep; in PHP_FUNCTION()
1211 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_FUNCTION()
1252 nsptr = xmlSearchNsByHref (nodep->doc, nodep, uri); in PHP_FUNCTION()
1269 if (nodep != NULL) { in PHP_FUNCTION()
1270 xmlFreeNode(nodep); in PHP_FUNCTION()
1276 if (nodep == NULL) { in PHP_FUNCTION()
1281 nodep->ns = nsptr; in PHP_FUNCTION()
1337 if (nodep != NULL) { in PHP_FUNCTION()
1344 if (nodep == NULL) { in PHP_FUNCTION()
1808 if (nodep != NULL) { in PHP_FUNCTION()
[all …]
H A Ddomimplementation.c156 xmlNode *nodep; in PHP_METHOD() local
219 nodep = xmlNewDocNode (docp, nsptr, localname, NULL); in PHP_METHOD()
220 if (!nodep) { in PHP_METHOD()
235 nodep->nsDef = nsptr; in PHP_METHOD()
237 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()
389 xmlNodePtr nodep = NULL; in php_xpath_eval() local
418 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj); in php_xpath_eval()
421 if (!nodep) { in php_xpath_eval()
422 nodep = xmlDocGetRootElement(docp); in php_xpath_eval()
425 if (nodep && docp != nodep->doc) { in php_xpath_eval()
430 ctxp->node = nodep; in php_xpath_eval()
434 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()
570 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
581 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) { in PHP_FUNCTION()
1445 xmlNodePtr nodep; in dom_hierarchy() local
1451 nodep = parent; in dom_hierarchy()
1453 while (nodep) { in dom_hierarchy()
1454 if (nodep == child) { in dom_hierarchy()
1457 nodep = nodep->parent; in dom_hierarchy()
1487 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.3/ext/xsl/
H A Dxsltprocessor.c332 xmlNode *nodep; in xsl_ext_function_php() local
341 nodep = dom_object_get_node(obj); in xsl_ext_function_php()
342 valuePush(ctxt, xmlXPathNewNodeSet(nodep)); in xsl_ext_function_php()
390 xmlNode *nodep = NULL; in PHP_FUNCTION() local
400 if (nodep) { in PHP_FUNCTION()
401 doc = nodep->doc; in PHP_FUNCTION()
438 nodep = xmlDocGetRootElement(sheetp->doc); in PHP_FUNCTION()
439 if (nodep && (nodep = nodep->children)) { in PHP_FUNCTION()
440 while (nodep) { in PHP_FUNCTION()
441 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, "key") && xmlStrEqual(nodep->ns->h… in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/libxml/
H A Dlibxml.c154 static int php_libxml_unregister_node(xmlNodePtr nodep TSRMLS_DC) in php_libxml_unregister_node()
158 php_libxml_node_ptr *nodeptr = nodep->_private; in php_libxml_unregister_node()
1049 xmlNodePtr nodep; in php_libxml_node_decrement_resource() local
1054 nodep = object->node->node; in php_libxml_node_decrement_resource()
1057 php_libxml_node_free_resource(nodep TSRMLS_CC); in php_libxml_node_decrement_resource()
/PHP-5.3/ext/simplexml/
H A Dsimplexml.c1944 xmlNodePtr nodep = NULL; in sxe_object_clone() local
1964 nodep = xmlDocCopyNode(sxe->node->node, docp, 1); in sxe_object_clone()
2417 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
2426 nodep = php_libxml_import_node(node TSRMLS_CC); in PHP_FUNCTION()
2428 if (nodep) { in PHP_FUNCTION()
2429 if (nodep->doc == NULL) { in PHP_FUNCTION()
2433 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
2434 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
2438 if (nodep && nodep->type == XML_ELEMENT_NODE) { in PHP_FUNCTION()
2444 php_libxml_increment_doc_ref((php_libxml_node_object *)sxe, nodep->doc TSRMLS_CC); in PHP_FUNCTION()
[all …]

Completed in 60 milliseconds