Home
last modified time | relevance | path

Searched refs:cache_tag (Results 1 – 7 of 7) sorted by relevance

/PHP-8.3/ext/dom/
H A Dphp_dom.h89 php_libxml_cache_tag cache_tag; member
100 php_libxml_cache_tag cache_tag; member
206 …ool php_dom_is_cache_tag_stale_from_doc_ptr(const php_libxml_cache_tag *cache_tag, const php_libxm… in php_dom_is_cache_tag_stale_from_doc_ptr() argument
208 ZEND_ASSERT(cache_tag != NULL); in php_dom_is_cache_tag_stale_from_doc_ptr()
212 return cache_tag->modification_nr != doc_ptr->cache_tag.modification_nr; in php_dom_is_cache_tag_stale_from_doc_ptr()
214 …return cache_tag->modification_nr != doc_ptr->cache_tag.modification_nr || UNEXPECTED(doc_ptr->cac… in php_dom_is_cache_tag_stale_from_doc_ptr()
218 …e bool php_dom_is_cache_tag_stale_from_node(const php_libxml_cache_tag *cache_tag, const xmlNodePt… in php_dom_is_cache_tag_stale_from_node() argument
229 return php_dom_is_cache_tag_stale_from_doc_ptr(cache_tag, object_private->document); in php_dom_is_cache_tag_stale_from_node()
232 … void php_dom_mark_cache_tag_up_to_date_from_node(php_libxml_cache_tag *cache_tag, const xmlNodePt… in php_dom_mark_cache_tag_up_to_date_from_node() argument
234 ZEND_ASSERT(cache_tag != NULL); in php_dom_mark_cache_tag_up_to_date_from_node()
[all …]
H A Dnodelist.c83 if (!php_dom_is_cache_tag_stale_from_node(&objmap->cache_tag, nodep)) { in php_dom_get_nodelist_length()
90 php_dom_mark_cache_tag_up_to_date_from_node(&objmap->cache_tag, nodep); in php_dom_get_nodelist_length()
178 …_index && objmap->cached_obj && !php_dom_is_cache_tag_stale_from_node(&objmap->cache_tag, nodep)) { in php_dom_nodelist_get_item_into_zval()
233 if (php_dom_is_cache_tag_stale_from_node(&objmap->cache_tag, itemnode)) { in php_dom_nodelist_get_item_into_zval()
234 php_dom_mark_cache_tag_up_to_date_from_node(&objmap->cache_tag, itemnode); in php_dom_nodelist_get_item_into_zval()
H A Ddom_iterators.c221 if (php_dom_is_cache_tag_stale_from_node(&iterator->cache_tag, basenode)) { in php_dom_iterator_move_forward()
222 php_dom_mark_cache_tag_up_to_date_from_node(&iterator->cache_tag, basenode); in php_dom_iterator_move_forward()
283 iterator->cache_tag.modification_nr = 0; in php_dom_get_iterator()
H A Ddocument.c1387 old_modification_nr = doc_ptr->cache_tag.modification_nr; in dom_finish_loading_document()
1406 intern->document->cache_tag.modification_nr = old_modification_nr; in dom_finish_loading_document()
H A Dphp_dom.c1157 objmap->cache_tag.modification_nr = 0; in dom_nnodemap_objects_new()
/PHP-8.3/ext/libxml/
H A Dphp_libxml.h69 php_libxml_cache_tag cache_tag; member
98 doc_ptr->cache_tag.modification_nr++; in php_libxml_invalidate_node_list_cache()
100 size_t new_modification_nr = doc_ptr->cache_tag.modification_nr + 1; in php_libxml_invalidate_node_list_cache()
102 doc_ptr->cache_tag.modification_nr = new_modification_nr; in php_libxml_invalidate_node_list_cache()
H A Dlibxml.c1374 …object->document->cache_tag.modification_nr = 1; /* iterators start at 0, such that they will star… in php_libxml_increment_doc_ref()

Completed in 26 milliseconds