Home
last modified time | relevance | path

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

/PHP-8.2/ext/dom/
H A Dnode.c40 xmlNode *nodep; in dom_node_node_name_read() local
55 ns = nodep->ns; in dom_node_node_name_read()
66 ns = nodep->ns; in dom_node_node_name_read()
211 xmlNode *nodep; in dom_node_node_type_read() local
717 baseuri = xmlNodeGetBase(nodep->doc, nodep); in dom_node_base_uri_read()
1138 if (!nodep->children || child->parent != nodep) { in PHP_METHOD()
1263 xmlNode *nodep; in PHP_METHOD() local
1505 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_METHOD()
1509 nsptr = xmlSearchNs(nodep->doc, nodep, NULL); in PHP_METHOD()
1538 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_METHOD()
[all …]
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 Dnodelist.c36 if (nodep->type == XML_ENTITY_REF_NODE) { in dom_nodelist_iter_start_first_child()
38 dom_entity_reference_fetch_and_sync_declaration(nodep); in dom_nodelist_iter_start_first_child()
41 return nodep->children; in dom_nodelist_iter_start_first_child()
61 if (!nodep) { in php_dom_get_nodelist_length()
76 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_nodelist_length()
77 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_nodelist_length()
79 nodep = nodep->children; in php_dom_get_nodelist_length()
138 if (nodep) { in php_dom_nodelist_get_item_into_zval()
148 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_nodelist_get_item_into_zval()
149 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_nodelist_get_item_into_zval()
[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 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 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()
203 xmlNode *nodep; in PHP_METHOD() local
246 xmlNode *nodep; in PHP_METHOD() local
396 xmlNode *nodep; in PHP_METHOD() local
462 xmlNode *nodep; in PHP_METHOD() local
638 if (nodep != NULL && nodep->type != XML_ATTRIBUTE_DECL) { in PHP_METHOD()
810 xmlNode *nodep; in PHP_METHOD() local
903 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()
55 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); in PHP_METHOD()
96 xmlNode *nodep; in PHP_METHOD() local
108 DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); in PHP_METHOD()
110 if (dom_node_is_read_only(nodep) == SUCCESS) { in PHP_METHOD()
117 err = xmlParseBalancedChunkMemory(nodep->doc, NULL, NULL, 0, (xmlChar *) data, &lst); in PHP_METHOD()
124 php_dom_xmlSetTreeDoc(lst, nodep->doc); in PHP_METHOD()
127 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()
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()
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()
262 xmlNodePtr nodep, curnode=NULL; in php_dom_get_iterator() local
292 nodep = (xmlNode *)dom_object_get_node(objmap->baseobj); in php_dom_get_iterator()
293 if (!nodep) { in php_dom_get_iterator()
298 curnode = (xmlNodePtr) nodep->properties; in php_dom_get_iterator()
300 curnode = dom_nodelist_iter_start_first_child(nodep); in php_dom_get_iterator()
303 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_iterator()
304 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_iterator()
[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()
1280 nodep = parent; in dom_hierarchy()
1282 while (nodep) { in dom_hierarchy()
1286 nodep = nodep->parent; in dom_hierarchy()
1336 nodep = nodep->next; in dom_get_elements_by_tag_name_ns_raw()
1468 xmlReconciliateNs(nodep->doc, nodep); in dom_libxml_reconcile_ensure_namespaces_are_declared()
1477 dom_reconcile_ns_internal(doc, nodep, nodep->parent); in dom_reconcile_ns()
1496 nodep = nodep->next; in dom_reconcile_ns_list_internal()
1502 dom_reconcile_ns_list_internal(doc, nodep, last, nodep->parent); in dom_reconcile_ns_list()
[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.c832 retnodep = nodep; in PHP_METHOD()
847 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_METHOD()
894 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri); in PHP_METHOD()
918 if (nodep == NULL) { in PHP_METHOD()
923 nodep->ns = nsptr; in PHP_METHOD()
987 if (nodep == NULL) { in PHP_METHOD()
1077 zval *nodep = NULL; in PHP_METHOD() local
1484 if (nodep != NULL) { in PHP_METHOD()
1574 if (nodep->type == XML_ELEMENT_NODE && nodep->children) { in php_dom_next_in_tree_order()
1578 if (nodep->next) { in php_dom_next_in_tree_order()
[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 Dphp_dom.h124 void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep);
125 void dom_reconcile_ns_list(xmlDocPtr doc, xmlNodePtr nodep, xmlNodePtr last);
127 void dom_normalize (xmlNodePtr nodep);
128 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int…
141 xmlNodePtr php_dom_create_fake_namespace_decl(xmlNodePtr nodep, xmlNsPtr original, zval *return_val…
159 xmlNodePtr dom_nodelist_iter_start_first_child(xmlNodePtr nodep);
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.2/ext/xsl/
H A Dxsltprocessor.c263 xmlNode *nodep; in xsl_ext_function_php() local
271 nodep = dom_object_get_node(obj); in xsl_ext_function_php()
317 xmlNode *nodep = NULL; in PHP_METHOD() local
326 nodep = php_libxml_import_node(docp); in PHP_METHOD()
328 if (nodep) { in PHP_METHOD()
329 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.2/ext/simplexml/
H A Dsimplexml.c2138 xmlNodePtr nodep = NULL; in sxe_object_clone() local
2167 nodep = xmlDocGetRootElement(docp); in sxe_object_clone()
2169 nodep = xmlDocCopyNode(sxe->node->node, docp, 1); in sxe_object_clone()
2629 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
2637 nodep = php_libxml_import_node(node); in PHP_FUNCTION()
2639 if (!nodep) { in PHP_FUNCTION()
2644 if (nodep->doc == NULL) { in PHP_FUNCTION()
2649 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
2650 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
2653 if (nodep && nodep->type == XML_ELEMENT_NODE) { in PHP_FUNCTION()
[all …]
/PHP-8.2/ext/libxml/
H A Dlibxml.c116 static int php_libxml_unregister_node(xmlNodePtr nodep) in php_libxml_unregister_node() argument
120 php_libxml_node_ptr *nodeptr = nodep->_private; in php_libxml_unregister_node()
1294 xmlNodePtr nodep; in php_libxml_node_decrement_resource() local
1299 nodep = object->node->node; in php_libxml_node_decrement_resource()
1302 php_libxml_node_free_resource(nodep); in php_libxml_node_decrement_resource()

Completed in 66 milliseconds