Searched refs:cache_tag (Results 1 – 7 of 7) sorted by relevance
/PHP-8.3/ext/dom/ |
H A D | php_dom.h | 89 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 D | nodelist.c | 83 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 D | dom_iterators.c | 221 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 D | document.c | 1387 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 D | php_dom.c | 1157 objmap->cache_tag.modification_nr = 0; in dom_nnodemap_objects_new()
|
/PHP-8.3/ext/libxml/ |
H A D | php_libxml.h | 69 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 D | libxml.c | 1374 …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