Home
last modified time | relevance | path

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

/PHP-8.3/ext/dom/
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 || !nodep->ExternalID) { 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()
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
93 if (nodep == NULL) { in dom_entity_notation_name_read()
102 if (!nodep->content) { in dom_entity_notation_name_read()
[all …]
H A Dnode.c48 if (nodep->ns != NULL && nodep->ns->prefix != NULL) { in dom_node_get_node_name_attribute_or_element()
219 xmlNode *nodep; in dom_node_node_type_read() local
756 baseuri = xmlNodeGetBase(nodep->doc, nodep); in dom_node_base_uri_read()
1163 if (!nodep->children || child->parent != nodep) { in PHP_METHOD()
1291 xmlNode *nodep; in PHP_METHOD() local
1380 xmlNode *nodep; in PHP_METHOD() local
1418 xmlNode *nodep; in PHP_METHOD() local
1709 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_METHOD()
1713 nsptr = xmlSearchNs(nodep->doc, nodep, NULL); in PHP_METHOD()
1742 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_METHOD()
[all …]
H A Dnodelist.c59 return nodep->children; in dom_nodelist_iter_start_first_child()
79 if (!nodep) { in php_dom_get_nodelist_length()
105 xmlNodePtr basep = nodep; in php_dom_get_nodelist_length()
106 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_nodelist_length()
107 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_nodelist_length()
109 nodep = nodep->children; in php_dom_get_nodelist_length()
172 xmlNodePtr nodep = basep; in php_dom_nodelist_get_item_into_zval() local
198 nodep = dom_nodelist_iter_start_first_child(nodep); in php_dom_nodelist_get_item_into_zval()
202 nodep = nodep->next; in php_dom_nodelist_get_item_into_zval()
204 itemnode = nodep; in php_dom_nodelist_get_item_into_zval()
[all …]
H A Dprocessinginstruction.c36 xmlNodePtr nodep = NULL, oldnode = NULL; in PHP_METHOD() local
52 nodep = xmlNewPI((xmlChar *) name, (xmlChar *) value); in PHP_METHOD()
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 = dom_object_get_node(obj); in dom_processinginstruction_data_read() local
98 if (nodep == NULL) { in dom_processinginstruction_data_read()
103 php_dom_get_content_into_zval(nodep, retval, false); in dom_processinginstruction_data_read()
110 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 Dentityreference.c85 xmlNodePtr nodep = dom_object_get_node(obj); in dom_entity_reference_child_read() local
87 if (nodep == NULL) { in dom_entity_reference_child_read()
92 xmlEntityPtr entity = dom_entity_reference_fetch_and_sync_declaration(nodep); in dom_entity_reference_child_read()
104 xmlNodePtr nodep = dom_object_get_node(obj); in dom_entity_reference_text_content_read() local
106 if (nodep == NULL) { in dom_entity_reference_text_content_read()
111 dom_entity_reference_fetch_and_sync_declaration(nodep); in dom_entity_reference_text_content_read()
117 xmlNodePtr nodep = dom_object_get_node(obj); in dom_entity_reference_child_nodes_read() local
119 if (nodep == NULL) { in dom_entity_reference_child_nodes_read()
124 dom_entity_reference_fetch_and_sync_declaration(nodep); in dom_entity_reference_child_nodes_read()
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()
55 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
62 xmlNode *nodep; in PHP_METHOD() local
74 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
76 if (dom_node_is_read_only(nodep) == SUCCESS) { in PHP_METHOD()
83 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, (xmlChar *) data, &lst); in PHP_METHOD()
89 xmlAddChildList(nodep,lst); in PHP_METHOD()
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()
277 xmlNode *nodep; in PHP_METHOD() local
326 xmlNode *nodep; in PHP_METHOD() local
368 xmlNode *nodep; in PHP_METHOD() local
603 xmlNode *nodep; in PHP_METHOD() local
664 xmlNode *nodep; in PHP_METHOD() local
786 if (nodep != NULL && nodep->type != XML_ATTRIBUTE_DECL) { in PHP_METHOD()
949 xmlNode *nodep; in PHP_METHOD() local
[all …]
H A Dphp_dom.c462 return nodep; in php_dom_export_node()
481 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) { in PHP_FUNCTION()
1312 nodep = nodep->parent; in dom_hierarchy()
1365 nodep = nodep->children; in dom_get_elements_by_tag_name_ns_raw()
1371 nodep = nodep->next; in dom_get_elements_by_tag_name_ns_raw()
1375 nodep = nodep->parent; in dom_get_elements_by_tag_name_ns_raw()
1385 nodep = nodep->next; in dom_get_elements_by_tag_name_ns_raw()
1493 xmlReconciliateNs(nodep->doc, nodep); in dom_libxml_reconcile_ensure_namespaces_are_declared()
1502 dom_reconcile_ns_internal(doc, nodep, nodep->parent); in dom_reconcile_ns()
1521 nodep = nodep->next; in dom_reconcile_ns_list_internal()
[all …]
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()
57 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, (xmlNodePtr)nodep, (void *)intern); in PHP_METHOD()
H A Dnamednodemap.c46 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_get_namednodemap_length() local
47 if (nodep) { in php_dom_get_namednodemap_length()
48 xmlAttrPtr curnode = nodep->properties; in php_dom_get_namednodemap_length()
95 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_named_node_map_get_named_item() local
96 if (nodep) { in php_dom_named_node_map_get_named_item()
147 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_named_node_map_get_item() local
148 if (nodep) { in php_dom_named_node_map_get_item()
149 xmlNodePtr curnode = (xmlNodePtr)nodep->properties; in php_dom_named_node_map_get_item()
207 xmlNodePtr nodep; in PHP_METHOD() local
233 nodep = dom_object_get_node(objmap->baseobj); in PHP_METHOD()
[all …]
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()
164 xmlNodePtr nodep, nodeparent; in dom_attr_owner_element_read() local
166 nodep = dom_object_get_node(obj); in dom_attr_owner_element_read()
168 if (nodep == NULL) { in dom_attr_owner_element_read()
173 nodeparent = nodep->parent; in dom_attr_owner_element_read()
H A Dcharacterdata.c40 xmlNodePtr nodep = dom_object_get_node(obj); in dom_characterdata_data_read() local
42 if (nodep == NULL) { in dom_characterdata_data_read()
54 xmlNode *nodep = dom_object_get_node(obj); in dom_characterdata_data_write() local
56 if (nodep == NULL) { in dom_characterdata_data_write()
79 xmlNodePtr nodep = dom_object_get_node(obj); in dom_characterdata_length_read() local
82 if (nodep == NULL) { in dom_characterdata_length_read()
87 if (nodep->content) { in dom_characterdata_length_read()
88 length = xmlUTF8Strlen(nodep->content); in dom_characterdata_length_read()
151 xmlNode *nodep; in PHP_METHOD() local
161 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
[all …]
H A Ddocument.c797 retnodep = nodep; in PHP_METHOD()
812 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_METHOD()
884 if (nodep == NULL) { in PHP_METHOD()
983 if (nodep == NULL) { in PHP_METHOD()
1111 xmlNodePtr nodep; in PHP_METHOD() local
1526 if (nodep != NULL) { in PHP_METHOD()
1633 if (nodep->type == XML_ELEMENT_NODE && nodep->children) { in php_dom_next_in_tree_order()
1637 if (nodep->next) { in php_dom_next_in_tree_order()
1638 return nodep->next; in php_dom_next_in_tree_order()
1642 nodep = nodep->parent; in php_dom_next_in_tree_order()
[all …]
H A Dphp_dom.h131 xmlNsPtr dom_get_ns_unchecked(xmlNodePtr nodep, char *uri, char *prefix);
132 void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep);
133 void dom_reconcile_ns_list(xmlDocPtr doc, xmlNodePtr nodep, xmlNodePtr last);
135 void dom_normalize (xmlNodePtr nodep);
136 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr basep, xmlNodePtr nodep, char *ns, char *lo…
149 xmlNodePtr php_dom_create_fake_namespace_decl(xmlNodePtr nodep, xmlNsPtr original, zval *return_val…
150 void php_dom_get_content_into_zval(const xmlNode *nodep, zval *target, bool default_is_null);
152 zend_string *dom_node_get_node_name_attribute_or_element(const xmlNode *nodep);
154 bool php_dom_adopt_node(xmlNodePtr nodep, dom_object *dom_object_new_document, xmlDocPtr new_docume…
167 void dom_remove_all_children(xmlNodePtr nodep);
[all …]
H A Ddom_iterators.c86 xmlNode *nodep = NULL; in php_dom_libxml_hash_iter() local
96 nodep = iter->node; in php_dom_libxml_hash_iter()
98 return nodep; in php_dom_libxml_hash_iter()
313 xmlNodePtr nodep = basep; in php_dom_get_iterator() local
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()
317 nodep = nodep->children; in php_dom_get_iterator()
320 basep, nodep, (char *) objmap->ns, (char *) objmap->local, &curindex, 0); in php_dom_get_iterator()
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 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()
58 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
H A Dxpath.c163 xmlNode *nodep; in dom_xpath_ext_function_php() local
171 nodep = dom_object_get_node(obj); in dom_xpath_ext_function_php()
172 valuePush(ctxt, xmlXPathNewNodeSet(nodep)); in dom_xpath_ext_function_php()
334 xmlNodePtr nodep = NULL; in php_xpath_eval() local
365 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj); in php_xpath_eval()
368 if (!nodep) { in php_xpath_eval()
369 nodep = xmlDocGetRootElement(docp); in php_xpath_eval()
372 if (nodep && docp != nodep->doc) { in php_xpath_eval()
377 ctxp->node = nodep; in php_xpath_eval()
381 ns = xmlGetNsList(docp, nodep); in php_xpath_eval()
H A Ddomimplementation.c121 xmlNode *nodep; in PHP_METHOD() local
187 nodep = xmlNewDocNode(docp, nsptr, (xmlChar *) localname, NULL); in PHP_METHOD()
188 if (!nodep) { in PHP_METHOD()
203 nodep->nsDef = nsptr; in PHP_METHOD()
205 xmlDocSetRootElement(docp, nodep); in PHP_METHOD()
/PHP-8.3/ext/xsl/
H A Dxsltprocessor.c275 xmlNode *nodep; in xsl_ext_function_php() local
283 nodep = dom_object_get_node(obj); in xsl_ext_function_php()
329 xmlNode *nodep = NULL; in PHP_METHOD() local
338 nodep = php_libxml_import_node(docp); in PHP_METHOD()
340 if (nodep) { in PHP_METHOD()
341 doc = nodep->doc; in PHP_METHOD()
377 nodep = xmlDocGetRootElement(sheetp->doc); in PHP_METHOD()
378 if (nodep && (nodep = nodep->children)) { in PHP_METHOD()
379 while (nodep) { in PHP_METHOD()
380 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, (const xmlChar *) "key") && xmlStr… in PHP_METHOD()
[all …]
/PHP-8.3/ext/simplexml/
H A Dsimplexml.c2131 xmlNodePtr nodep = NULL; in sxe_object_clone() local
2160 nodep = xmlDocGetRootElement(docp); in sxe_object_clone()
2162 nodep = xmlDocCopyNode(sxe->node->node, docp, 1); in sxe_object_clone()
2622 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
2630 nodep = php_libxml_import_node(node); in PHP_FUNCTION()
2632 if (!nodep) { in PHP_FUNCTION()
2637 if (nodep->doc == NULL) { in PHP_FUNCTION()
2642 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
2643 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
2646 if (nodep && nodep->type == XML_ELEMENT_NODE) { in PHP_FUNCTION()
[all …]
/PHP-8.3/ext/libxml/
H A Dlibxml.c163 static void php_libxml_unregister_node(xmlNodePtr nodep) in php_libxml_unregister_node() argument
167 php_libxml_node_ptr *nodeptr = nodep->_private; in php_libxml_unregister_node()
1452 xmlNodePtr nodep = obj_node->node; in php_libxml_node_decrement_resource() local
1455 php_libxml_node_free_resource(nodep); in php_libxml_node_decrement_resource()

Completed in 87 milliseconds