Home
last modified time | relevance | path

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

/php-src/ext/dom/
H A Dinternal_helpers.h65 …ic zend_always_inline size_t dom_minimum_modification_nr_since_parsing(php_libxml_ref_obj *doc_ptr) in DOM_DEF_GET_CE_FUNC()
69 return doc_ptr->class_type == PHP_LIBXML_CLASS_MODERN ? 1 : 2; in DOM_DEF_GET_CE_FUNC()
72 …d_always_inline void dom_mark_document_cache_as_modified_since_parsing(php_libxml_ref_obj *doc_ptr) in dom_mark_document_cache_as_modified_since_parsing() argument
74 if (doc_ptr) { in dom_mark_document_cache_as_modified_since_parsing()
75 doc_ptr->cache_tag.modification_nr = MAX(dom_minimum_modification_nr_since_parsing(doc_ptr) + 1, in dom_mark_document_cache_as_modified_since_parsing()
76 doc_ptr->cache_tag.modification_nr); in dom_mark_document_cache_as_modified_since_parsing()
81 static zend_always_inline void dom_mark_ids_modified(php_libxml_ref_obj *doc_ptr) in dom_mark_ids_modified() argument
84 dom_mark_document_cache_as_modified_since_parsing(doc_ptr); in dom_mark_ids_modified()
87 …c zend_always_inline bool dom_is_document_cache_modified_since_parsing(php_libxml_ref_obj *doc_ptr) in dom_is_document_cache_modified_since_parsing() argument
89 …return !doc_ptr || doc_ptr->cache_tag.modification_nr > dom_minimum_modification_nr_since_parsing( in dom_is_document_cache_modified_since_parsing()
H A Dphp_dom.h240 …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
242 ZEND_ASSERT(doc_ptr != NULL); in php_dom_is_cache_tag_stale_from_doc_ptr()
243 return php_libxml_is_cache_tag_stale(cache_tag, &doc_ptr->cache_tag); in php_dom_is_cache_tag_stale_from_doc_ptr()
H A Ddocument.c1482 const php_libxml_ref_obj *doc_ptr = intern->document; in php_dom_finish_loading_document() local
1483 ZEND_ASSERT(doc_ptr != NULL); /* Must exist, we have a document */ in php_dom_finish_loading_document()
1484 class_type = doc_ptr->class_type; in php_dom_finish_loading_document()
1485 old_modification_nr = doc_ptr->cache_tag.modification_nr; in php_dom_finish_loading_document()
/php-src/ext/libxml/
H A Dphp_libxml.h164 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
166 if (doc_ptr) { in php_libxml_invalidate_node_list_cache()
167 php_libxml_invalidate_cache_tag(&doc_ptr->cache_tag); in php_libxml_invalidate_node_list_cache()

Completed in 13 milliseconds