Lines Matching refs:document

457 	if (obj->document) {  in dom_document_strict_error_checking_read()
458 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_strict_error_checking_read()
469 if (obj->document) { in dom_document_strict_error_checking_write()
470 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_strict_error_checking_write()
484 if (obj->document) { in dom_document_format_output_read()
485 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_format_output_read()
495 if (obj->document) { in dom_document_format_output_write()
496 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_format_output_write()
509 if (obj->document) { in dom_document_validate_on_parse_read()
510 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_validate_on_parse_read()
520 if (obj->document) { in dom_document_validate_on_parse_write()
521 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_validate_on_parse_write()
534 if (obj->document) { in dom_document_resolve_externals_read()
535 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_resolve_externals_read()
545 if (obj->document) { in dom_document_resolve_externals_write()
546 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_resolve_externals_write()
559 if (obj->document) { in dom_document_preserve_whitespace_read()
560 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_preserve_whitespace_read()
570 if (obj->document) { in dom_document_preserve_whitespace_write()
571 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_preserve_whitespace_write()
584 if (obj->document) { in dom_document_recover_read()
585 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_recover_read()
595 if (obj->document) { in dom_document_recover_write()
596 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_recover_write()
609 if (obj->document) { in dom_document_substitue_entities_read()
610 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_substitue_entities_read()
620 if (obj->document) { in dom_document_substitue_entities_write()
621 dom_doc_propsptr doc_prop = dom_get_doc_props(obj->document); in dom_document_substitue_entities_write()
712 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
860 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
896 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
931 php_dom_throw_error(INVALID_CHARACTER_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
1074 php_dom_throw_error(errorcode, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
1143 php_dom_throw_error(errorcode, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
1289 intern->document = NULL; in PHP_METHOD()
1358 php_libxml_ref_obj *document = NULL; in dom_document_parser() local
1366 document = intern->document; in dom_document_parser()
1369 doc_props = dom_get_doc_props(document); in dom_document_parser()
1376 if (document == NULL) { in dom_document_parser()
1517 doc_prop = intern->document->doc_props; in dom_parse_document()
1518 intern->document->doc_props = NULL; in dom_parse_document()
1524 intern->document = NULL; in dom_parse_document()
1528 intern->document->doc_props = doc_prop; in dom_parse_document()
1587 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
1626 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
1633 php_dom_throw_error(WRONG_DOCUMENT_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
2065 doc_prop = intern->document->doc_props; in dom_load_html()
2066 intern->document->doc_props = NULL; in dom_load_html()
2072 intern->document = NULL; in dom_load_html()
2076 intern->document->doc_props = doc_prop; in dom_load_html()
2134 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
2167 doc_props = dom_get_doc_props(intern->document); in PHP_FUNCTION()
2174 php_dom_throw_error(WRONG_DOCUMENT_ERR, dom_get_strict_error(intern->document)); in PHP_FUNCTION()
2248 if (dom_set_doc_classmap(intern->document, basece, ce) == FAILURE) { in PHP_METHOD()