Home
last modified time | relevance | path

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

/PHP-8.0/ext/dom/
H A Dnode.c41 xmlNode *nodep; in dom_node_node_name_read() local
56 ns = nodep->ns; in dom_node_node_name_read()
67 ns = nodep->ns; in dom_node_node_name_read()
211 xmlNode *nodep; in dom_node_node_type_read() local
716 baseuri = xmlNodeGetBase(nodep->doc, nodep); in dom_node_base_uri_read()
1253 xmlNode *nodep; in PHP_METHOD() local
1342 xmlNode *nodep; in PHP_METHOD() local
1500 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_METHOD()
1504 nsptr = xmlSearchNs(nodep->doc, nodep, NULL); in PHP_METHOD()
1533 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_METHOD()
[all …]
H A Dnodelist.c42 xmlNodePtr nodep, curnode; in dom_nodelist_length_read() local
56 if (nodep) { in dom_nodelist_length_read()
58 curnode = nodep->children; in dom_nodelist_length_read()
67 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in dom_nodelist_length_read()
68 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in dom_nodelist_length_read()
70 nodep = nodep->children; in dom_nodelist_length_read()
117 xmlNodePtr nodep, curnode; in PHP_METHOD() local
146 if (nodep) { in PHP_METHOD()
155 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_METHOD()
156 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in PHP_METHOD()
[all …]
H A Dprocessinginstruction.c36 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
54 if (!nodep) { in PHP_METHOD()
75 xmlNodePtr nodep = dom_object_get_node(obj); in dom_processinginstruction_target_read() local
77 if (nodep == NULL) { in dom_processinginstruction_target_read()
82 ZVAL_STRING(retval, (char *) (nodep->name)); in dom_processinginstruction_target_read()
96 xmlNodePtr nodep; in dom_processinginstruction_data_read() local
99 nodep = dom_object_get_node(obj); in dom_processinginstruction_data_read()
101 if (nodep == NULL) { in dom_processinginstruction_data_read()
106 if ((content = xmlNodeGetContent(nodep)) != NULL) { in dom_processinginstruction_data_read()
118 xmlNode *nodep = dom_object_get_node(obj); in dom_processinginstruction_data_write() local
[all …]
H A Dnotation.c42 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_public_id_read() local
44 if (nodep == NULL) { in dom_notation_public_id_read()
49 if (nodep->ExternalID) { in dom_notation_public_id_read()
50 ZVAL_STRING(retval, (char *) (nodep->ExternalID)); in dom_notation_public_id_read()
67 xmlEntityPtr nodep = (xmlEntityPtr) dom_object_get_node(obj); in dom_notation_system_id_read() local
69 if (nodep == NULL) { in dom_notation_system_id_read()
74 if (nodep->SystemID) { in dom_notation_system_id_read()
75 ZVAL_STRING(retval, (char *) (nodep->SystemID)); in dom_notation_system_id_read()
H A Dentity.c41 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_public_id_read() local
43 if (nodep == NULL) { in dom_entity_public_id_read()
48 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) { in dom_entity_public_id_read()
51 ZVAL_STRING(retval, (char *) (nodep->ExternalID)); in dom_entity_public_id_read()
66 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_system_id_read() local
68 if (nodep == NULL) { in dom_entity_system_id_read()
73 if (nodep->etype != XML_EXTERNAL_GENERAL_UNPARSED_ENTITY) { in dom_entity_system_id_read()
76 ZVAL_STRING(retval, (char *) (nodep->SystemID)); in dom_entity_system_id_read()
91 xmlEntity *nodep = (xmlEntity *) dom_object_get_node(obj); in dom_entity_notation_name_read() local
94 if (nodep == NULL) { in dom_entity_notation_name_read()
[all …]
H A Dnamednodemap.c43 xmlNodePtr nodep; in dom_namednodemap_length_read() local
55 nodep = dom_object_get_node(objmap->baseobj); in dom_namednodemap_length_read()
56 if (nodep) { in dom_namednodemap_length_read()
57 curnode = nodep->properties; in dom_namednodemap_length_read()
88 xmlNodePtr nodep; in PHP_METHOD() local
115 if (nodep) { in PHP_METHOD()
142 xmlNodePtr nodep, curnode; in PHP_METHOD() local
170 if (nodep) { in PHP_METHOD()
171 curnode = (xmlNodePtr)nodep->properties; in PHP_METHOD()
204 xmlNodePtr nodep; in PHP_METHOD() local
[all …]
H A Delement.c88 if (!nodep) { in PHP_METHOD()
113 xmlNodePtr nodep; in dom_element_tag_name_read() local
124 ns = nodep->ns; in dom_element_tag_name_read()
202 xmlNode *nodep; in PHP_METHOD() local
245 xmlNode *nodep; in PHP_METHOD() local
407 xmlNode *nodep; in PHP_METHOD() local
473 xmlNode *nodep; in PHP_METHOD() local
649 if (nodep != NULL && nodep->type != XML_ATTRIBUTE_DECL) { in PHP_METHOD()
744 xmlNode *nodep; in PHP_METHOD() local
856 xmlNode *nodep; in PHP_METHOD() local
[all …]
H A Ddocumentfragment.c36 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
43 nodep = xmlNewDocFragment(NULL); in PHP_METHOD()
45 if (!nodep) { in PHP_METHOD()
56 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
97 xmlNode *nodep; in PHP_METHOD() local
109 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
111 if (dom_node_is_read_only(nodep) == SUCCESS) { in PHP_METHOD()
118 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, (xmlChar *) data, &lst); in PHP_METHOD()
125 php_dom_xmlSetTreeDoc(lst, nodep->doc); in PHP_METHOD()
128 xmlAddChildList(nodep,lst); in PHP_METHOD()
H A Dcdatasection.c36 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
45 nodep = xmlNewCDataBlock(NULL, (xmlChar *) value, value_len); in PHP_METHOD()
47 if (!nodep) { in PHP_METHOD()
57 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
H A Dcomment.c36 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
45 nodep = xmlNewComment((xmlChar *) value); in PHP_METHOD()
47 if (!nodep) { in PHP_METHOD()
58 …php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
H A Dattr.c38 xmlAttrPtr nodep = NULL; in PHP_METHOD() local
56 nodep = xmlNewProp(NULL, (xmlChar *) name, (xmlChar *) value); in PHP_METHOD()
58 if (!nodep) { in PHP_METHOD()
67 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
169 xmlNodePtr nodep, nodeparent; in dom_attr_owner_element_read() local
171 nodep = dom_object_get_node(obj); in dom_attr_owner_element_read()
173 if (nodep == NULL) { in dom_attr_owner_element_read()
178 nodeparent = nodep->parent; in dom_attr_owner_element_read()
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()
261 xmlNodePtr nodep, curnode=NULL; in php_dom_get_iterator() local
291 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj); in php_dom_get_iterator()
292 if (!nodep) { in php_dom_get_iterator()
297 curnode = (xmlNodePtr) nodep->properties; in php_dom_get_iterator()
299 curnode = (xmlNodePtr) nodep->children; in php_dom_get_iterator()
302 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_iterator()
303 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_iterator()
[all …]
H A Dparentnode.c33 xmlNode *nodep, *first = NULL; in dom_parent_node_first_element_child_read() local
35 nodep = dom_object_get_node(obj); in dom_parent_node_first_element_child_read()
37 if (nodep == NULL) { in dom_parent_node_first_element_child_read()
43 first = nodep->children; in dom_parent_node_first_element_child_read()
66 xmlNode *nodep, *last = NULL; in dom_parent_node_last_element_child_read() local
68 nodep = dom_object_get_node(obj); in dom_parent_node_last_element_child_read()
70 if (nodep == NULL) { in dom_parent_node_last_element_child_read()
76 last = nodep->last; in dom_parent_node_last_element_child_read()
99 xmlNode *nodep, *first = NULL; in dom_parent_node_child_element_count() local
104 if (nodep == NULL) { in dom_parent_node_child_element_count()
[all …]
H A Dcharacterdata.c40 xmlNodePtr nodep = dom_object_get_node(obj); in dom_characterdata_data_read() local
43 if (nodep == NULL) { in dom_characterdata_data_read()
48 if ((content = xmlNodeGetContent(nodep)) != NULL) { in dom_characterdata_data_read()
60 xmlNode *nodep = dom_object_get_node(obj); in dom_characterdata_data_write() local
63 if (nodep == NULL) { in dom_characterdata_data_write()
88 xmlNodePtr nodep = dom_object_get_node(obj); in dom_characterdata_length_read() local
92 if (nodep == NULL) { in dom_characterdata_length_read()
97 content = xmlNodeGetContent(nodep); in dom_characterdata_length_read()
166 xmlNode *nodep; in PHP_METHOD() local
176 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
[all …]
H A Ddocument.c818 retnodep = nodep; in PHP_METHOD()
833 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_METHOD()
875 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri); in PHP_METHOD()
892 if (nodep != NULL) { in PHP_METHOD()
893 xmlFreeNode(nodep); in PHP_METHOD()
899 if (nodep == NULL) { in PHP_METHOD()
904 nodep->ns = nsptr; in PHP_METHOD()
968 if (nodep == NULL) { in PHP_METHOD()
1039 zval *nodep = NULL; in PHP_METHOD() local
1443 if (nodep != NULL) { in PHP_METHOD()
[all …]
H A Dtext.c37 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
46 nodep = xmlNewText((xmlChar *) value); in PHP_METHOD()
48 if (!nodep) { in PHP_METHOD()
59 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
H A Dphp_dom.c442 xmlNodePtr nodep = NULL; in php_dom_export_node() local
449 return nodep; in php_dom_export_node()
457 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
468 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) { in PHP_FUNCTION()
1244 xmlNodePtr nodep; in dom_hierarchy() local
1254 nodep = parent; in dom_hierarchy()
1256 while (nodep) { in dom_hierarchy()
1257 if (nodep == child) { in dom_hierarchy()
1260 nodep = nodep->parent; in dom_hierarchy()
1290 ret = nodep; in dom_get_elements_by_tag_name_ns_raw()
[all …]
H A Ddomimplementation.c126 xmlNode *nodep; in PHP_METHOD() local
192 nodep = xmlNewDocNode(docp, nsptr, (xmlChar *) localname, NULL); in PHP_METHOD()
193 if (!nodep) { in PHP_METHOD()
208 nodep->nsDef = nsptr; in PHP_METHOD()
210 xmlDocSetRootElement(docp, nodep); in PHP_METHOD()
H A Dxpath.c160 xmlNode *nodep; in dom_xpath_ext_function_php() local
168 nodep = dom_object_get_node(obj); in dom_xpath_ext_function_php()
169 valuePush(ctxt, xmlXPathNewNodeSet(nodep)); in dom_xpath_ext_function_php()
330 xmlNodePtr nodep = NULL; in php_xpath_eval() local
361 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj); in php_xpath_eval()
364 if (!nodep) { in php_xpath_eval()
365 nodep = xmlDocGetRootElement(docp); in php_xpath_eval()
368 if (nodep && docp != nodep->doc) { in php_xpath_eval()
373 ctxp->node = nodep; in php_xpath_eval()
377 ns = xmlGetNsList(docp, nodep); in php_xpath_eval()
H A Dphp_dom.h112 void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep);
114 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-8.0/ext/xsl/
H A Dxsltprocessor.c264 xmlNode *nodep; in xsl_ext_function_php() local
272 nodep = dom_object_get_node(obj); in xsl_ext_function_php()
319 xmlNode *nodep = NULL; in PHP_METHOD() local
328 nodep = php_libxml_import_node(docp); in PHP_METHOD()
330 if (nodep) { in PHP_METHOD()
331 doc = nodep->doc; in PHP_METHOD()
365 nodep = xmlDocGetRootElement(sheetp->doc); in PHP_METHOD()
366 if (nodep && (nodep = nodep->children)) { in PHP_METHOD()
367 while (nodep) { in PHP_METHOD()
368 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, (const xmlChar *) "key") && xmlStr… in PHP_METHOD()
[all …]
/PHP-8.0/ext/simplexml/
H A Dsimplexml.c2110 xmlNodePtr nodep = NULL; in sxe_object_clone() local
2139 nodep = xmlDocGetRootElement(docp); in sxe_object_clone()
2141 nodep = xmlDocCopyNode(sxe->node->node, docp, 1); in sxe_object_clone()
2620 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
2628 nodep = php_libxml_import_node(node); in PHP_FUNCTION()
2630 if (!nodep) { in PHP_FUNCTION()
2635 if (nodep->doc == NULL) { in PHP_FUNCTION()
2640 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
2641 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
2644 if (nodep && nodep->type == XML_ELEMENT_NODE) { in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/libxml/
H A Dlibxml.c114 static int php_libxml_unregister_node(xmlNodePtr nodep) in php_libxml_unregister_node() argument
118 php_libxml_node_ptr *nodeptr = nodep->_private; in php_libxml_unregister_node()
1357 xmlNodePtr nodep; in php_libxml_node_decrement_resource() local
1362 nodep = object->node->node; in php_libxml_node_decrement_resource()
1365 php_libxml_node_free_resource(nodep); in php_libxml_node_decrement_resource()

Completed in 89 milliseconds