Lines Matching refs:doc_props
214 dom_doc_propsptr doc_props; in dom_get_doc_props() local
216 if (document && document->doc_props) { in dom_get_doc_props()
217 return document->doc_props; in dom_get_doc_props()
219 doc_props = emalloc(sizeof(libxml_doc_props)); in dom_get_doc_props()
220 memcpy(doc_props, &default_doc_props, sizeof(libxml_doc_props)); in dom_get_doc_props()
222 document->doc_props = doc_props; in dom_get_doc_props()
224 return doc_props; in dom_get_doc_props()
231 if (document && document->doc_props) { in dom_get_doc_props_read_only()
232 return document->doc_props; in dom_get_doc_props_read_only()
267 dom_doc_propsptr doc_props; in dom_set_doc_classmap() local
270 doc_props = dom_get_doc_props(document); in dom_set_doc_classmap()
271 if (doc_props->classmap == NULL) { in dom_set_doc_classmap()
275 ALLOC_HASHTABLE(doc_props->classmap); in dom_set_doc_classmap()
276 zend_hash_init(doc_props->classmap, 0, NULL, NULL, false); in dom_set_doc_classmap()
279 zend_hash_update_ptr(doc_props->classmap, basece->name, ce); in dom_set_doc_classmap()
281 zend_hash_del(doc_props->classmap, basece->name); in dom_set_doc_classmap()
289 libxml_doc_props const* doc_props = dom_get_doc_props_read_only(document); in dom_get_doc_classmap() local
290 if (doc_props->classmap) { in dom_get_doc_classmap()
291 zend_class_entry *ce = zend_hash_find_ptr(doc_props->classmap, basece->name); in dom_get_doc_classmap()