Lines Matching refs:doc_props
163 dom_doc_propsptr doc_props; in dom_get_doc_props() local
165 if (document && document->doc_props) { in dom_get_doc_props()
166 return document->doc_props; in dom_get_doc_props()
168 doc_props = emalloc(sizeof(libxml_doc_props)); in dom_get_doc_props()
169 doc_props->formatoutput = 0; in dom_get_doc_props()
170 doc_props->validateonparse = 0; in dom_get_doc_props()
171 doc_props->resolveexternals = 0; in dom_get_doc_props()
172 doc_props->preservewhitespace = 1; in dom_get_doc_props()
173 doc_props->substituteentities = 0; in dom_get_doc_props()
174 doc_props->stricterror = 1; in dom_get_doc_props()
175 doc_props->recover = 0; in dom_get_doc_props()
176 doc_props->classmap = NULL; in dom_get_doc_props()
178 document->doc_props = doc_props; in dom_get_doc_props()
180 return doc_props; in dom_get_doc_props()
211 dom_doc_propsptr doc_props; in dom_set_doc_classmap() local
214 doc_props = dom_get_doc_props(document); in dom_set_doc_classmap()
215 if (doc_props->classmap == NULL) { in dom_set_doc_classmap()
219 ALLOC_HASHTABLE(doc_props->classmap); in dom_set_doc_classmap()
220 zend_hash_init(doc_props->classmap, 0, NULL, NULL, 0); in dom_set_doc_classmap()
223 zend_hash_update_ptr(doc_props->classmap, basece->name, ce); in dom_set_doc_classmap()
225 zend_hash_del(doc_props->classmap, basece->name); in dom_set_doc_classmap()
233 dom_doc_propsptr doc_props; in dom_get_doc_classmap() local
236 doc_props = dom_get_doc_props(document); in dom_get_doc_classmap()
237 if (doc_props->classmap) { in dom_get_doc_classmap()
238 zend_class_entry *ce = zend_hash_find_ptr(doc_props->classmap, basece->name); in dom_get_doc_classmap()
252 dom_doc_propsptr doc_props; in dom_get_strict_error() local
254 doc_props = dom_get_doc_props(document); in dom_get_strict_error()
255 stricterror = doc_props->stricterror; in dom_get_strict_error()
257 efree(doc_props); in dom_get_strict_error()