Lines Matching refs:newval
349 int dom_document_encoding_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_encoding_write()
362 if (newval->type != IS_STRING) { in dom_document_encoding_write()
363 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_encoding_write()
364 value_copy = *newval; in dom_document_encoding_write()
366 newval = &value_copy; in dom_document_encoding_write()
368 convert_to_string(newval); in dom_document_encoding_write()
371 handler = xmlFindCharEncodingHandler(Z_STRVAL_P(newval)); in dom_document_encoding_write()
378 docp->encoding = xmlStrdup((const xmlChar *) Z_STRVAL_P(newval)); in dom_document_encoding_write()
383 if (newval == &value_copy) { in dom_document_encoding_write()
384 zval_dtor(newval); in dom_document_encoding_write()
416 int dom_document_standalone_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_standalone_write()
429 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_standalone_write()
430 value_copy = *newval; in dom_document_standalone_write()
432 newval = &value_copy; in dom_document_standalone_write()
434 convert_to_long(newval); in dom_document_standalone_write()
436 standalone = Z_LVAL_P(newval); in dom_document_standalone_write()
447 if (newval == &value_copy) { in dom_document_standalone_write()
448 zval_dtor(newval); in dom_document_standalone_write()
485 int dom_document_version_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_version_write()
501 if (newval->type != IS_STRING) { in dom_document_version_write()
502 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_version_write()
503 value_copy = *newval; in dom_document_version_write()
505 newval = &value_copy; in dom_document_version_write()
507 convert_to_string(newval); in dom_document_version_write()
510 docp->version = xmlStrdup((const xmlChar *) Z_STRVAL_P(newval)); in dom_document_version_write()
512 if (newval == &value_copy) { in dom_document_version_write()
513 zval_dtor(newval); in dom_document_version_write()
540 int dom_document_strict_error_checking_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_strict_error_checking_write()
545 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_strict_error_checking_write()
546 value_copy = *newval; in dom_document_strict_error_checking_write()
548 newval = &value_copy; in dom_document_strict_error_checking_write()
550 convert_to_boolean(newval); in dom_document_strict_error_checking_write()
554 doc_prop->stricterror = Z_LVAL_P(newval); in dom_document_strict_error_checking_write()
557 if (newval == &value_copy) { in dom_document_strict_error_checking_write()
558 zval_dtor(newval); in dom_document_strict_error_checking_write()
583 int dom_document_format_output_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_format_output_write()
588 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_format_output_write()
589 value_copy = *newval; in dom_document_format_output_write()
591 newval = &value_copy; in dom_document_format_output_write()
593 convert_to_boolean(newval); in dom_document_format_output_write()
597 doc_prop->formatoutput = Z_LVAL_P(newval); in dom_document_format_output_write()
600 if (newval == &value_copy) { in dom_document_format_output_write()
601 zval_dtor(newval); in dom_document_format_output_write()
625 int dom_document_validate_on_parse_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_validate_on_parse_write()
630 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_validate_on_parse_write()
631 value_copy = *newval; in dom_document_validate_on_parse_write()
633 newval = &value_copy; in dom_document_validate_on_parse_write()
635 convert_to_boolean(newval); in dom_document_validate_on_parse_write()
639 doc_prop->validateonparse = Z_LVAL_P(newval); in dom_document_validate_on_parse_write()
642 if (newval == &value_copy) { in dom_document_validate_on_parse_write()
643 zval_dtor(newval); in dom_document_validate_on_parse_write()
667 int dom_document_resolve_externals_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_resolve_externals_write()
672 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_resolve_externals_write()
673 value_copy = *newval; in dom_document_resolve_externals_write()
675 newval = &value_copy; in dom_document_resolve_externals_write()
677 convert_to_boolean(newval); in dom_document_resolve_externals_write()
681 doc_prop->resolveexternals = Z_LVAL_P(newval); in dom_document_resolve_externals_write()
684 if (newval == &value_copy) { in dom_document_resolve_externals_write()
685 zval_dtor(newval); in dom_document_resolve_externals_write()
709 int dom_document_preserve_whitespace_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_preserve_whitespace_write()
714 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_preserve_whitespace_write()
715 value_copy = *newval; in dom_document_preserve_whitespace_write()
717 newval = &value_copy; in dom_document_preserve_whitespace_write()
719 convert_to_boolean(newval); in dom_document_preserve_whitespace_write()
723 doc_prop->preservewhitespace = Z_LVAL_P(newval); in dom_document_preserve_whitespace_write()
726 if (newval == &value_copy) { in dom_document_preserve_whitespace_write()
727 zval_dtor(newval); in dom_document_preserve_whitespace_write()
751 int dom_document_recover_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_recover_write()
756 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_recover_write()
757 value_copy = *newval; in dom_document_recover_write()
759 newval = &value_copy; in dom_document_recover_write()
761 convert_to_boolean(newval); in dom_document_recover_write()
765 doc_prop->recover = Z_LVAL_P(newval); in dom_document_recover_write()
768 if (newval == &value_copy) { in dom_document_recover_write()
769 zval_dtor(newval); in dom_document_recover_write()
793 int dom_document_substitue_entities_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_substitue_entities_write()
798 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_substitue_entities_write()
799 value_copy = *newval; in dom_document_substitue_entities_write()
801 newval = &value_copy; in dom_document_substitue_entities_write()
803 convert_to_boolean(newval); in dom_document_substitue_entities_write()
807 doc_prop->substituteentities = Z_LVAL_P(newval); in dom_document_substitue_entities_write()
810 if (newval == &value_copy) { in dom_document_substitue_entities_write()
811 zval_dtor(newval); in dom_document_substitue_entities_write()
846 int dom_document_document_uri_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_document_document_uri_write()
862 if (newval->type != IS_STRING) { in dom_document_document_uri_write()
863 if(Z_REFCOUNT_P(newval) > 1) { in dom_document_document_uri_write()
864 value_copy = *newval; in dom_document_document_uri_write()
866 newval = &value_copy; in dom_document_document_uri_write()
868 convert_to_string(newval); in dom_document_document_uri_write()
871 docp->URL = xmlStrdup((const xmlChar *) Z_STRVAL_P(newval)); in dom_document_document_uri_write()
873 if (newval == &value_copy) { in dom_document_document_uri_write()
874 zval_dtor(newval); in dom_document_document_uri_write()