Lines Matching refs:document
278 if (obj->document) { in dom_document_strict_error_checking_read()
279 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_strict_error_checking_read()
290 if (obj->document) { in dom_document_strict_error_checking_write()
291 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_strict_error_checking_write()
305 if (obj->document) { in dom_document_format_output_read()
306 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_format_output_read()
316 if (obj->document) { in dom_document_format_output_write()
317 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_format_output_write()
330 if (obj->document) { in dom_document_validate_on_parse_read()
331 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_validate_on_parse_read()
341 if (obj->document) { in dom_document_validate_on_parse_write()
342 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_validate_on_parse_write()
355 if (obj->document) { in dom_document_resolve_externals_read()
356 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_resolve_externals_read()
366 if (obj->document) { in dom_document_resolve_externals_write()
367 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_resolve_externals_write()
380 if (obj->document) { in dom_document_preserve_whitespace_read()
381 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_preserve_whitespace_read()
391 if (obj->document) { in dom_document_preserve_whitespace_write()
392 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_preserve_whitespace_write()
405 if (obj->document) { in dom_document_recover_read()
406 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_recover_read()
416 if (obj->document) { in dom_document_recover_write()
417 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_recover_write()
430 if (obj->document) { in dom_document_substitue_entities_read()
431 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_substitue_entities_read()
441 if (obj->document) { in dom_document_substitue_entities_write()
442 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_substitue_entities_write()
536 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_METHOD()
689 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_METHOD()
726 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_METHOD()
762 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_METHOD()
914 php_dom_throw_error(errorcode, dom_get_strict_error(intern->document)); in PHP_METHOD()
983 php_dom_throw_error(errorcode, dom_get_strict_error(intern->document)); in PHP_METHOD()
1140 intern->document = NULL; in PHP_METHOD()
1212 php_libxml_ref_obj *document = NULL; in dom_document_parser() local
1220 document = intern->document; in dom_document_parser()
1223 doc_props = dom_get_doc_props(document); in dom_document_parser()
1230 if (document == NULL) { in dom_document_parser()
1375 doc_prop = intern->document->doc_props; in dom_parse_document()
1376 intern->document->doc_props = NULL; in dom_parse_document()
1382 intern->document = NULL; in dom_parse_document()
1386 intern->document->doc_props = doc_prop; in dom_parse_document()
1442 doc_props = dom_get_doc_props(intern->document); in PHP_METHOD()
1481 doc_props = dom_get_doc_props(intern->document); in PHP_METHOD()
1488 php_dom_throw_error(WRONG_DOCUMENT_ERR, dom_get_strict_error(intern->document)); in PHP_METHOD()
1988 doc_prop = intern->document->doc_props; in dom_load_html()
1989 intern->document->doc_props = NULL; in dom_load_html()
1995 intern->document = NULL; in dom_load_html()
1999 intern->document->doc_props = doc_prop; in dom_load_html()
2052 doc_props = dom_get_doc_props(intern->document); in PHP_METHOD()
2085 doc_props = dom_get_doc_props(intern->document); in PHP_METHOD()
2092 php_dom_throw_error(WRONG_DOCUMENT_ERR, dom_get_strict_error(intern->document)); in PHP_METHOD()
2169 dom_set_doc_classmap(intern->document, basece, ce); in PHP_METHOD()