Home
last modified time | relevance | path

Searched refs:doc_ptr (Results 1 – 3 of 3) sorted by relevance

/PHP-8.3/ext/libxml/
H A Dphp_libxml.h90 static zend_always_inline void php_libxml_invalidate_node_list_cache(php_libxml_ref_obj *doc_ptr) in php_libxml_invalidate_node_list_cache() argument
92 if (!doc_ptr) { in php_libxml_invalidate_node_list_cache()
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()
/PHP-8.3/ext/dom/
H A Dphp_dom.h206 …he_tag_stale_from_doc_ptr(const php_libxml_cache_tag *cache_tag, const php_libxml_ref_obj *doc_ptr) in php_dom_is_cache_tag_stale_from_doc_ptr() argument
209 ZEND_ASSERT(doc_ptr != 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()
H A Ddocument.c1385 const php_libxml_ref_obj *doc_ptr = intern->document; in dom_finish_loading_document() local
1386 ZEND_ASSERT(doc_ptr != NULL); /* Must exist, we have a document */ in dom_finish_loading_document()
1387 old_modification_nr = doc_ptr->cache_tag.modification_nr; in dom_finish_loading_document()

Completed in 12 milliseconds