/php-src/ext/dom/ |
H A D | private_data.c | 39 return private_data == NULL ? NULL : &private_data->header; in php_dom_libxml_private_data_header() 44 return private_data == NULL ? NULL : &private_data->ns_mapper; in php_dom_ns_mapper_from_private() 49 php_dom_private_data *private_data = emalloc(sizeof(*private_data)); in php_dom_private_data_create() local 52 private_data->ns_mapper.html_ns = NULL; in php_dom_private_data_create() 53 private_data->ns_mapper.prefixless_xmlns_ns = NULL; in php_dom_private_data_create() 55 private_data->template_fragments = NULL; in php_dom_private_data_create() 56 return private_data; in php_dom_private_data_create() 96 if (private_data->template_fragments == NULL) { in php_dom_add_templated_content() 107 if (private_data->template_fragments == NULL) { in php_dom_retrieve_templated_content() 130 if (private_data->template_fragments != NULL) { in php_dom_remove_templated_content() [all …]
|
H A D | private_data.h | 45 …libxml_private_data_header *php_dom_libxml_private_data_header(php_dom_private_data *private_data); 46 php_dom_libxml_ns_mapper *php_dom_ns_mapper_from_private(php_dom_private_data *private_data); 49 void php_dom_add_templated_content(php_dom_private_data *private_data, const xmlNode *template_node… 50 xmlNodePtr php_dom_retrieve_templated_content(php_dom_private_data *private_data, const xmlNode *te… 51 xmlNodePtr php_dom_ensure_templated_content(php_dom_private_data *private_data, xmlNodePtr template… 52 void php_dom_remove_templated_content(php_dom_private_data *private_data, const xmlNode *template_n… 53 uint32_t php_dom_get_template_count(const php_dom_private_data *private_data); 54 void dom_add_element_ns_hook(php_dom_private_data *private_data, xmlNodePtr element);
|
H A D | domimplementation.c | 270 php_dom_private_data *private_data = php_dom_private_data_create(); in PHP_METHOD() local 271 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in PHP_METHOD() 312 intern->document->private_data = php_dom_libxml_private_data_header(private_data); in PHP_METHOD() 342 php_dom_private_data_destroy(private_data); in PHP_METHOD() 371 php_dom_private_data *private_data = php_dom_private_data_create(); in PHP_METHOD() local 372 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in PHP_METHOD() 402 php_dom_private_data_destroy(private_data); in PHP_METHOD() 414 intern->document->private_data = php_dom_libxml_private_data_header(private_data); in PHP_METHOD()
|
H A D | html5_parser.h | 74 php_dom_private_data *private_data 82 php_dom_private_data *private_data
|
H A D | xml_serializer.h | 28 …r out, xmlNodePtr node, bool format, bool require_well_formed, php_dom_private_data *private_data);
|
H A D | html5_parser.c | 112 php_dom_private_data *private_data in lexbor_libxml2_bridge_convert() argument 117 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in lexbor_libxml2_bridge_convert() 182 dom_add_element_ns_hook(private_data, lxml_element); in lexbor_libxml2_bridge_convert() 183 php_dom_add_templated_content(private_data, lxml_element, lxml_child_parent); in lexbor_libxml2_bridge_convert() 341 php_dom_private_data *private_data in lexbor_libxml2_bridge_convert_document() argument 354 private_data in lexbor_libxml2_bridge_convert_document() 370 php_dom_private_data *private_data in lexbor_libxml2_bridge_convert_fragment() argument 383 private_data in lexbor_libxml2_bridge_convert_fragment()
|
H A D | xml_document.c | 126 intern->document->private_data = php_dom_libxml_private_data_header(php_dom_private_data_create()); in PHP_METHOD() 240 php_dom_private_data *private_data = php_dom_private_data_create(); in dom_document_convert_to_modern() local 241 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in dom_document_convert_to_modern() 242 document->private_data = php_dom_libxml_private_data_header(private_data); in dom_document_convert_to_modern()
|
H A D | html5_serializer.h | 28 php_dom_private_data *private_data; member
|
H A D | html_document.c | 918 php_dom_private_data *private_data = php_dom_private_data_create(); in PHP_METHOD() local 926 private_data in PHP_METHOD() 930 php_dom_private_data_destroy(private_data); in PHP_METHOD() 958 intern->document->private_data = php_dom_libxml_private_data_header(private_data); in PHP_METHOD() 970 php_dom_private_data *private_data = NULL; in PHP_METHOD() local 1109 private_data = php_dom_private_data_create(); in PHP_METHOD() 1117 private_data in PHP_METHOD() 1179 intern->document->private_data = php_dom_libxml_private_data_header(private_data); in PHP_METHOD() 1185 if (private_data != NULL) { in PHP_METHOD() 1186 php_dom_private_data_destroy(private_data); in PHP_METHOD() [all …]
|
H A D | xml_common.h | 89 return (php_dom_private_data *) intern->document->private_data; in php_dom_get_private_data()
|
H A D | inner_outer_html_mixin.c | 68 ctx.private_data = php_dom_get_private_data(obj); in dom_element_html_fragment_serialize() 87 php_dom_private_data *private_data = php_dom_get_private_data(obj); in dom_element_html_fragment_serialize() local 92 status = dom_xml_serialize(ctxt, out, child, false, true, private_data); in dom_element_html_fragment_serialize()
|
H A D | xml_serializer.c | 73 php_dom_private_data *private_data; member 1146 if (ctx->private_data != NULL) { in dom_xml_serialize_element_node() 1147 child = php_dom_retrieve_templated_content(ctx->private_data, element); in dom_xml_serialize_element_node() 1298 …tr out, xmlNodePtr node, bool format, bool require_well_formed, php_dom_private_data *private_data) in dom_xml_serialize() argument 1317 ctx.private_data = private_data; in dom_xml_serialize()
|
H A D | node.c | 1469 php_dom_private_data *private_data = NULL; in PHP_METHOD() local 1473 private_data = php_dom_private_data_create(); in PHP_METHOD() 1475 private_data = php_dom_get_private_data(intern); in PHP_METHOD() 1479 node = dom_clone_node(php_dom_ns_mapper_from_private(private_data), n, n->doc, recursive); in PHP_METHOD() 1482 if (clone_document && private_data != NULL) { in PHP_METHOD() 1483 php_dom_private_data_destroy(private_data); in PHP_METHOD() 1491 if (private_data) { in PHP_METHOD() 1502 ZEND_ASSERT(new_intern->document->private_data == NULL); in PHP_METHOD() 1503 new_intern->document->private_data = php_dom_libxml_private_data_header(private_data); in PHP_METHOD()
|
H A D | html5_serializer.c | 300 children = php_dom_retrieve_templated_content(ctx->private_data, node); in dom_html5_serialize_node() 369 xmlNodePtr children = php_dom_retrieve_templated_content(ctx->private_data, node); in dom_html5_serialize()
|
H A D | config.w32 | 11 …l_document.c xml_serializer.c html5_serializer.c html5_parser.c namespace_compat.c private_data.c \
|
H A D | php_dom.c | 638 php_dom_private_data *private_data = NULL; in dom_objects_store_clone_obj() local 641 private_data = php_dom_private_data_create(); in dom_objects_store_clone_obj() 643 private_data = php_dom_get_private_data(intern); in dom_objects_store_clone_obj() 647 …xmlNodePtr cloned_node = dom_clone_node(php_dom_ns_mapper_from_private(private_data), node, node->… in dom_objects_store_clone_obj() 651 if (private_data != NULL) { in dom_objects_store_clone_obj() 652 clone->document->private_data = php_dom_libxml_private_data_header(private_data); in dom_objects_store_clone_obj()
|
H A D | config.m4 | 218 private_data.c
|
/php-src/ext/libxml/ |
H A D | php_libxml.h | 114 php_libxml_private_data_header *private_data; member 192 …php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data);
|
H A D | libxml.c | 1294 … php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data) in php_libxml_increment_node_ptr() argument 1311 object->node->_private = private_data; in php_libxml_increment_node_ptr() 1318 object->node->_private = private_data; in php_libxml_increment_node_ptr() 1366 object->document->private_data = NULL; in php_libxml_increment_doc_ref() 1379 if (document->private_data != NULL) { in php_libxml_decrement_doc_ref_directly() 1380 document->private_data->dtor(document->private_data); in php_libxml_decrement_doc_ref_directly()
|
/php-src/ext/curl/ |
H A D | curl_private.h | 105 zval private_data; member
|
H A D | interface.c | 523 zend_get_gc_buffer_add_zval(gc_buffer, &curl->private_data); in curl_get_gc() 1312 ZVAL_COPY(&ch->private_data, &source->private_data); in _php_setup_easy_copy_handlers() 1987 zval_ptr_dtor(&ch->private_data); in _php_curl_setopt() 1988 ZVAL_COPY(&ch->private_data, zvalue); in _php_curl_setopt() 2652 if (!Z_ISUNDEF(ch->private_data)) { in PHP_FUNCTION() 2653 RETURN_COPY(&ch->private_data); in PHP_FUNCTION() 2864 zval_ptr_dtor(&ch->private_data); in curl_free_obj()
|