Lines Matching refs:template_fragments
55 private_data->template_fragments = NULL; in php_dom_private_data_create()
62 if (data->template_fragments != NULL) { in php_dom_private_data_destroy()
64 ZEND_HASH_MAP_FOREACH_PTR(data->template_fragments, node) { in php_dom_private_data_destroy()
67 zend_hash_destroy(data->template_fragments); in php_dom_private_data_destroy()
68 FREE_HASHTABLE(data->template_fragments); in php_dom_private_data_destroy()
79 if (zend_hash_num_elements(private_data->template_fragments) > 0) { in php_dom_free_templated_content()
96 if (private_data->template_fragments == NULL) { in php_dom_add_templated_content()
97 ALLOC_HASHTABLE(private_data->template_fragments); in php_dom_add_templated_content()
98 zend_hash_init(private_data->template_fragments, 0, NULL, NULL, false); in php_dom_add_templated_content()
99 zend_hash_real_init_mixed(private_data->template_fragments); in php_dom_add_templated_content()
102 …zend_hash_index_add_new_ptr(private_data->template_fragments, dom_mangle_pointer_for_key(template_… in php_dom_add_templated_content()
107 if (private_data->template_fragments == NULL) { in php_dom_retrieve_templated_content()
111 …return zend_hash_index_find_ptr(private_data->template_fragments, dom_mangle_pointer_for_key(templ… in php_dom_retrieve_templated_content()
130 if (private_data->template_fragments != NULL) { in php_dom_remove_templated_content()
132 …zval *zv = zend_hash_index_find(private_data->template_fragments, dom_mangle_pointer_for_key(templ… in php_dom_remove_templated_content()
139 zend_hash_del_bucket(private_data->template_fragments, bucket); in php_dom_remove_templated_content()
147 if (private_data->template_fragments != NULL) { in php_dom_get_template_count()
148 return zend_hash_num_elements(private_data->template_fragments); in php_dom_get_template_count()