Home
last modified time | relevance | path

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

/PHP-8.1/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.c50 xmlNodePtr nodep = dom_object_get_node(objmap->baseobj); in php_dom_get_nodelist_length() local
51 if (!nodep) { in php_dom_get_nodelist_length()
57 xmlNodePtr curnode = nodep->children; in php_dom_get_nodelist_length()
66 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_get_nodelist_length()
67 nodep = xmlDocGetRootElement((xmlDoc *) nodep); in php_dom_get_nodelist_length()
69 nodep = nodep->children; in php_dom_get_nodelist_length()
128 if (nodep) { in php_dom_nodelist_get_item_into_zval()
131 xmlNodePtr curnode = nodep->children; in php_dom_nodelist_get_item_into_zval()
138 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in php_dom_nodelist_get_item_into_zval()
139 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 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()
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 Dphp_dom.c453 return nodep; in php_dom_export_node()
472 if (nodep && nodeobj && (nodep->type == XML_ELEMENT_NODE || nodep->type == XML_ATTRIBUTE_NODE)) { in PHP_FUNCTION()
1312 nodep = parent; in dom_hierarchy()
1314 while (nodep) { in dom_hierarchy()
1318 nodep = nodep->parent; in dom_hierarchy()
1368 nodep = nodep->next; in dom_get_elements_by_tag_name_ns_raw()
1500 xmlReconciliateNs(nodep->doc, nodep); in dom_libxml_reconcile_ensure_namespaces_are_declared()
1509 dom_reconcile_ns_internal(doc, nodep, nodep->parent); in dom_reconcile_ns()
1528 nodep = nodep->next; in dom_reconcile_ns_list_internal()
1534 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 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 Ddocument.c832 retnodep = nodep; in PHP_METHOD()
847 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href); in PHP_METHOD()
889 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri); in PHP_METHOD()
906 if (nodep != NULL) { in PHP_METHOD()
907 xmlFreeNode(nodep); in PHP_METHOD()
913 if (nodep == NULL) { in PHP_METHOD()
918 nodep->ns = nsptr; in PHP_METHOD()
982 if (nodep == NULL) { in PHP_METHOD()
1072 zval *nodep = NULL; in PHP_METHOD() local
1479 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()
58 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern); 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()
331 xmlNodePtr nodep = NULL; in php_xpath_eval() local
362 DOM_GET_OBJ(nodep, context, xmlNodePtr, nodeobj); in php_xpath_eval()
365 if (!nodep) { in php_xpath_eval()
366 nodep = xmlDocGetRootElement(docp); in php_xpath_eval()
369 if (nodep && docp != nodep->doc) { in php_xpath_eval()
374 ctxp->node = nodep; in php_xpath_eval()
378 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()
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…
/PHP-8.1/ext/xsl/
H A Dxsltprocessor.c269 xmlNode *nodep; in xsl_ext_function_php() local
277 nodep = dom_object_get_node(obj); in xsl_ext_function_php()
324 xmlNode *nodep = NULL; in PHP_METHOD() local
333 nodep = php_libxml_import_node(docp); in PHP_METHOD()
335 if (nodep) { in PHP_METHOD()
336 doc = nodep->doc; in PHP_METHOD()
372 nodep = xmlDocGetRootElement(sheetp->doc); in PHP_METHOD()
373 if (nodep && (nodep = nodep->children)) { in PHP_METHOD()
374 while (nodep) { in PHP_METHOD()
375 …if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, (const xmlChar *) "key") && xmlStr… in PHP_METHOD()
[all …]
/PHP-8.1/ext/simplexml/
H A Dsimplexml.c2106 xmlNodePtr nodep = NULL; in sxe_object_clone() local
2135 nodep = xmlDocGetRootElement(docp); in sxe_object_clone()
2137 nodep = xmlDocCopyNode(sxe->node->node, docp, 1); in sxe_object_clone()
2613 xmlNodePtr nodep = NULL; in PHP_FUNCTION() local
2621 nodep = php_libxml_import_node(node); in PHP_FUNCTION()
2623 if (!nodep) { in PHP_FUNCTION()
2628 if (nodep->doc == NULL) { in PHP_FUNCTION()
2633 if (nodep->type == XML_DOCUMENT_NODE || nodep->type == XML_HTML_DOCUMENT_NODE) { in PHP_FUNCTION()
2634 nodep = xmlDocGetRootElement((xmlDocPtr) nodep); in PHP_FUNCTION()
2637 if (nodep && nodep->type == XML_ELEMENT_NODE) { in PHP_FUNCTION()
[all …]
/PHP-8.1/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()
1339 xmlNodePtr nodep; in php_libxml_node_decrement_resource() local
1344 nodep = object->node->node; in php_libxml_node_decrement_resource()
1347 php_libxml_node_free_resource(nodep); in php_libxml_node_decrement_resource()

Completed in 75 milliseconds