Home
last modified time | relevance | path

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

/PHP-7.4/ext/dom/
H A Dnode.c199 xmlNode *nodep; in dom_node_node_name_read() local
214 ns = nodep->ns; in dom_node_node_name_read()
225 ns = nodep->ns; in dom_node_node_name_read()
370 xmlNode *nodep; in dom_node_node_type_read() local
810 baseuri = xmlNodeGetBase(nodep->doc, nodep); in dom_node_base_uri_read()
1340 xmlNode *nodep; in PHP_FUNCTION() local
1431 xmlNode *nodep; in PHP_FUNCTION() local
1604 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
1608 nsptr = xmlSearchNs(nodep->doc, nodep, NULL); in PHP_FUNCTION()
1638 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
[all …]
H A Dnodelist.c62 xmlNodePtr nodep, curnode; in dom_nodelist_length_read() local
76 if (nodep) { in dom_nodelist_length_read()
78 curnode = nodep->children; in dom_nodelist_length_read()
87 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in dom_nodelist_length_read()
88 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in dom_nodelist_length_read()
90 nodep = nodep->children; in dom_nodelist_length_read()
139 xmlNodePtr nodep, curnode; in PHP_FUNCTION() local
168 if (nodep) { in PHP_FUNCTION()
177 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
178 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in PHP_FUNCTION()
[all …]
H A Dprocessinginstruction.c51 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
69 if (!nodep) { in PHP_METHOD()
90 xmlNodePtr nodep = dom_object_get_node(obj); in dom_processinginstruction_target_read() local
92 if (nodep == NULL) { in dom_processinginstruction_target_read()
97 ZVAL_STRING(retval, (char *) (nodep->name)); in dom_processinginstruction_target_read()
111 xmlNodePtr nodep; in dom_processinginstruction_data_read() local
114 nodep = dom_object_get_node(obj); in dom_processinginstruction_data_read()
116 if (nodep == NULL) { in dom_processinginstruction_data_read()
121 if ((content = xmlNodeGetContent(nodep)) != NULL) { in dom_processinginstruction_data_read()
133 xmlNode *nodep = dom_object_get_node(obj); in dom_processinginstruction_data_write() local
[all …]
H A Dnotation.c48 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read() local
50 if (nodep == NULL) { in dom_notation_public_id_read()
55 if (nodep->ExternalID) { in dom_notation_public_id_read()
56 ZVAL_STRING(retval, (char *) (nodep->ExternalID)); in dom_notation_public_id_read()
73 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read() local
75 if (nodep == NULL) { in dom_notation_system_id_read()
80 if (nodep->SystemID) { in dom_notation_system_id_read()
81 ZVAL_STRING(retval, (char *) (nodep->SystemID)); in dom_notation_system_id_read()
H A Dentity.c47 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_public_id_read() local
49 if (nodep == NULL) { in dom_entity_public_id_read()
54 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) { in dom_entity_public_id_read()
57 ZVAL_STRING(retval, (char *) (nodep->ExternalID)); in dom_entity_public_id_read()
72 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_system_id_read() local
74 if (nodep == NULL) { in dom_entity_system_id_read()
79 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) { in dom_entity_system_id_read()
82 ZVAL_STRING(retval, (char *) (nodep->SystemID)); in dom_entity_system_id_read()
97 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_notation_name_read() local
100 if (nodep == NULL) { in dom_entity_notation_name_read()
[all …]
H A Ddocumentfragment.c53 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
60 nodep = xmlNewDocFragment(NULL); in PHP_METHOD()
62 if (!nodep) { in PHP_METHOD()
73 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
114 xmlNode *nodep; in PHP_METHOD() local
126 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
128 if (dom_node_is_read_only(nodep) == SUCCESS) { in PHP_METHOD()
134 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, (xmlChar *) data, &lst); in PHP_METHOD()
140 php_dom_xmlSetTreeDoc(lst, nodep->doc); in PHP_METHOD()
143 xmlAddChildList(nodep,lst); in PHP_METHOD()
H A Delement.c206 if (!nodep) { in PHP_METHOD()
242 ns = nodep->ns; in dom_element_tag_name_read()
321 xmlNode *nodep; in PHP_FUNCTION() local
365 xmlNode *nodep; in PHP_FUNCTION() local
530 xmlNode *nodep; in PHP_FUNCTION() local
597 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
986 xmlNode *nodep; in PHP_FUNCTION() local
1089 xmlNode *nodep; in PHP_FUNCTION() local
[all …]
H A Dnamednodemap.c92 xmlNodePtr nodep; in dom_namednodemap_length_read() local
104 nodep = dom_object_get_node(objmap->baseobj); in dom_namednodemap_length_read()
105 if (nodep) { in dom_namednodemap_length_read()
106 curnode = nodep->properties; in dom_namednodemap_length_read()
138 xmlNodePtr nodep; in PHP_FUNCTION() local
165 if (nodep) { in PHP_FUNCTION()
213 xmlNodePtr nodep, curnode; in PHP_FUNCTION() local
242 if (nodep) { in PHP_FUNCTION()
243 curnode = (xmlNodePtr)nodep->properties; in PHP_FUNCTION()
278 xmlNodePtr nodep; in PHP_FUNCTION() local
[all …]
H A Dcdatasection.c50 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
59 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len); in PHP_METHOD()
61 if (!nodep) { in PHP_METHOD()
71 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
H A Dcomment.c50 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
59 nodep = xmlNewComment((xmlChar *) value); in PHP_METHOD()
61 if (!nodep) { in PHP_METHOD()
72 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
H A Dattr.c56 xmlAttrPtr nodep = NULL; in PHP_METHOD() local
74 nodep = xmlNewProp(NULL, (xmlChar *) name, (xmlChar *) value); in PHP_METHOD()
76 if (!nodep) { in PHP_METHOD()
85 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
187 xmlNodePtr nodep, nodeparent; in dom_attr_owner_element_read() local
189 nodep = dom_object_get_node(obj); in dom_attr_owner_element_read()
191 if (nodep == NULL) { in dom_attr_owner_element_read()
196 nodeparent = nodep->parent; in dom_attr_owner_element_read()
H A Ddom_iterators.c87 xmlNode *nodep = NULL; in php_dom_libxml_hash_iter() local
97 nodep = iter->node; in php_dom_libxml_hash_iter()
99 return nodep; in php_dom_libxml_hash_iter()
262 xmlNodePtr nodep, curnode=NULL; in php_dom_get_iterator() local
293 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj); in php_dom_get_iterator()
294 if (!nodep) { in php_dom_get_iterator()
299 curnode = (xmlNodePtr) nodep->properties; in php_dom_get_iterator()
301 curnode = (xmlNodePtr) nodep->children; in php_dom_get_iterator()
304 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_iterator()
305 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_iterator()
[all …]
H A Dcharacterdata.c79 xmlNodePtr nodep = dom_object_get_node(obj); in dom_characterdata_data_read() local
82 if (nodep == NULL) { in dom_characterdata_data_read()
87 if ((content = xmlNodeGetContent(nodep)) != NULL) { in dom_characterdata_data_read()
99 xmlNode *nodep = dom_object_get_node(obj); in dom_characterdata_data_write() local
102 if (nodep == NULL) { in dom_characterdata_data_write()
127 xmlNodePtr nodep = dom_object_get_node(obj); in dom_characterdata_length_read() local
131 if (nodep == NULL) { in dom_characterdata_length_read()
136 content = xmlNodeGetContent(nodep); in dom_characterdata_length_read()
207 xmlNode *nodep; in PHP_FUNCTION() local
217 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_FUNCTION()
[all …]
H A Ddocument.c1015 retnodep = nodep; in PHP_FUNCTION()
1029 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_FUNCTION()
1072 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri); in PHP_FUNCTION()
1089 if (nodep != NULL) { in PHP_FUNCTION()
1090 xmlFreeNode(nodep); in PHP_FUNCTION()
1096 if (nodep == NULL) { in PHP_FUNCTION()
1101 nodep->ns = nsptr; in PHP_FUNCTION()
1159 if (nodep != NULL) { in PHP_FUNCTION()
1166 if (nodep == NULL) { in PHP_FUNCTION()
1651 if (nodep != NULL) { in PHP_FUNCTION()
[all …]
H A Ddomimplementation.c161 xmlNode *nodep; in PHP_METHOD() local
227 nodep = xmlNewDocNode(docp, nsptr, (xmlChar *) localname, NULL); in PHP_METHOD()
228 if (!nodep) { in PHP_METHOD()
243 nodep->nsDef = nsptr; in PHP_METHOD()
245 xmlDocSetRootElement(docp, nodep); in PHP_METHOD()
H A Dtext.c65 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
74 nodep = xmlNewText((xmlChar *) value); in PHP_METHOD()
76 if (!nodep) { in PHP_METHOD()
87 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
H A Dxpath.c204 xmlNode *nodep; in dom_xpath_ext_function_php() local
212 nodep = dom_object_get_node(obj); in dom_xpath_ext_function_php()
213 valuePush(ctxt, xmlXPathNewNodeSet(nodep)); in dom_xpath_ext_function_php()
351 xmlNodePtr nodep = NULL; in php_xpath_eval() local
381 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj); in php_xpath_eval()
384 if (!nodep) { in php_xpath_eval()
385 nodep = xmlDocGetRootElement(docp); in php_xpath_eval()
388 if (nodep && docp != nodep->doc) { in php_xpath_eval()
393 ctxp->node = nodep; in php_xpath_eval()
397 ns = xmlGetNsList(docp, nodep); in php_xpath_eval()
H A Dphp_dom.c465 xmlNodePtr nodep = NULL; in php_dom_export_node() local
472 return nodep; in php_dom_export_node()
481 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
492 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) { in PHP_FUNCTION()
1303 xmlNodePtr nodep; in dom_hierarchy() local
1313 nodep = parent; in dom_hierarchy()
1315 while (nodep) { in dom_hierarchy()
1316 if (nodep == child) { in dom_hierarchy()
1319 nodep = nodep->parent; in dom_hierarchy()
1349 ret = nodep; in dom_get_elements_by_tag_name_ns_raw()
[all …]
H A Dphp_dom.h114 void dom_normalize (xmlNodePtr nodep);
115 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int…
/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c346 xmlNode *nodep; in xsl_ext_function_php() local
354 nodep = dom_object_get_node(obj); in xsl_ext_function_php()
402 xmlNode *nodep = NULL; in PHP_FUNCTION() local
410 nodep = php_libxml_import_node(docp); in PHP_FUNCTION()
412 if (nodep) { in PHP_FUNCTION()
413 doc = nodep->doc; in PHP_FUNCTION()
448 nodep = xmlDocGetRootElement(sheetp->doc); in PHP_FUNCTION()
449 if (nodep && (nodep = nodep->children)) { in PHP_FUNCTION()
450 while (nodep) { in PHP_FUNCTION()
451 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, (const xmlChar *) "key") && xmlStr… in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/simplexml/
H A Dsimplexml.c2032 xmlNodePtr nodep = NULL; in sxe_object_clone() local
2052 nodep = xmlDocCopyNode(sxe->node->node, docp, 1); in sxe_object_clone()
2533 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
2543 nodep = php_libxml_import_node(node); in PHP_FUNCTION()
2545 if (nodep) { in PHP_FUNCTION()
2546 if (nodep->doc == NULL) { in PHP_FUNCTION()
2550 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
2551 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
2555 if (nodep && nodep->type == XML_ELEMENT_NODE) { in PHP_FUNCTION()
2564 php_libxml_increment_doc_ref((php_libxml_node_object *)sxe, nodep->doc); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/libxml/
H A Dlibxml.c162 static int php_libxml_unregister_node(xmlNodePtr nodep) in php_libxml_unregister_node() argument
166 php_libxml_node_ptr *nodeptr = nodep->_private; in php_libxml_unregister_node()
1381 xmlNodePtr nodep; in php_libxml_node_decrement_resource() local
1386 nodep = object->node->node; in php_libxml_node_decrement_resource()
1389 php_libxml_node_free_resource(nodep); in php_libxml_node_decrement_resource()

Completed in 88 milliseconds