Lines Matching refs:doc_props

155 	dom_doc_propsptr doc_props;  in dom_get_doc_props()  local
157 if (document && document->doc_props) { in dom_get_doc_props()
158 return document->doc_props; in dom_get_doc_props()
160 doc_props = emalloc(sizeof(libxml_doc_props)); in dom_get_doc_props()
161 doc_props->formatoutput = 0; in dom_get_doc_props()
162 doc_props->validateonparse = 0; in dom_get_doc_props()
163 doc_props->resolveexternals = 0; in dom_get_doc_props()
164 doc_props->preservewhitespace = 1; in dom_get_doc_props()
165 doc_props->substituteentities = 0; in dom_get_doc_props()
166 doc_props->stricterror = 1; in dom_get_doc_props()
167 doc_props->recover = 0; in dom_get_doc_props()
168 doc_props->classmap = NULL; in dom_get_doc_props()
170 document->doc_props = doc_props; in dom_get_doc_props()
172 return doc_props; in dom_get_doc_props()
203 dom_doc_propsptr doc_props; in dom_set_doc_classmap() local
206 doc_props = dom_get_doc_props(document); in dom_set_doc_classmap()
207 if (doc_props->classmap == NULL) { in dom_set_doc_classmap()
211 ALLOC_HASHTABLE(doc_props->classmap); in dom_set_doc_classmap()
212 zend_hash_init(doc_props->classmap, 0, NULL, NULL, 0); in dom_set_doc_classmap()
215 …return zend_hash_update(doc_props->classmap, basece->name, basece->name_length + 1, &ce, sizeof(ze… in dom_set_doc_classmap()
217 zend_hash_del(doc_props->classmap, basece->name, basece->name_length + 1); in dom_set_doc_classmap()
225 dom_doc_propsptr doc_props; in dom_get_doc_classmap() local
229 doc_props = dom_get_doc_props(document); in dom_get_doc_classmap()
230 if (doc_props->classmap) { in dom_get_doc_classmap()
231 …if (zend_hash_find(doc_props->classmap, basece->name, basece->name_length + 1, (void**) &ce) == S… in dom_get_doc_classmap()
244 dom_doc_propsptr doc_props; in dom_get_strict_error() local
246 doc_props = dom_get_doc_props(document); in dom_get_strict_error()
247 stricterror = doc_props->stricterror; in dom_get_strict_error()
249 efree(doc_props); in dom_get_strict_error()