Lines Matching refs:to_zval

124 static gdIOCtx *create_stream_context_from_zval(zval *to_zval);
1918 zval *to_zval = NULL; in PHP_FUNCTION() local
1920 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l!", &imgind, gd_image_ce, &to_zval, &foreground_c… in PHP_FUNCTION()
1926 if (to_zval != NULL) { in PHP_FUNCTION()
1927 ctx = create_stream_context_from_zval(to_zval); in PHP_FUNCTION()
1975 zval *to_zval = NULL; in PHP_FUNCTION() local
1977 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!b", &imgind, gd_image_ce, &to_zval, &compressed) =… in PHP_FUNCTION()
1983 if (to_zval != NULL) { in PHP_FUNCTION()
1984 ctx = create_stream_context_from_zval(to_zval); in PHP_FUNCTION()
4034 static gdIOCtx *create_stream_context_from_zval(zval *to_zval) { in create_stream_context_from_zval() argument
4038 if (Z_TYPE_P(to_zval) == IS_RESOURCE) { in create_stream_context_from_zval()
4039 php_stream_from_zval_no_verify(stream, to_zval); in create_stream_context_from_zval()
4044 } else if (Z_TYPE_P(to_zval) == IS_STRING) { in create_stream_context_from_zval()
4045 if (CHECK_ZVAL_NULL_PATH(to_zval)) { in create_stream_context_from_zval()
4050 stream = php_stream_open_wrapper(Z_STRVAL_P(to_zval), "wb", REPORT_ERRORS|IGNORE_PATH, NULL); in create_stream_context_from_zval()
4055 …type_error(2, "must be a file name or a stream resource, %s given", zend_zval_value_name(to_zval)); in create_stream_context_from_zval()
4093 zval *to_zval = NULL; in _php_image_output_ctx() local
4096 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!", &imgind, gd_image_ce, &to_zval) == FAILURE) { in _php_image_output_ctx()
4100 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!ll", &imgind, gd_image_ce, &to_zval, &quality, &ba… in _php_image_output_ctx()
4104 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!ll", &imgind, gd_image_ce, &to_zval, &quality, &sp… in _php_image_output_ctx()
4108 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l", &imgind, gd_image_ce, &to_zval, &quality) == F… in _php_image_output_ctx()
4115 if (to_zval != NULL) { in _php_image_output_ctx()
4116 ctx = create_stream_context_from_zval(to_zval); in _php_image_output_ctx()