Lines Matching refs:to_zval

148 static gdIOCtx *create_stream_context_from_zval(zval *to_zval);
1982 zval *to_zval = NULL; in PHP_FUNCTION() local
1984 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l!", &imgind, gd_image_ce, &to_zval, &foreground_c… in PHP_FUNCTION()
1990 if (to_zval != NULL) { in PHP_FUNCTION()
1991 ctx = create_stream_context_from_zval(to_zval); in PHP_FUNCTION()
2039 zval *to_zval = NULL; in PHP_FUNCTION() local
2041 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!b", &imgind, gd_image_ce, &to_zval, &compressed) =… in PHP_FUNCTION()
2047 if (to_zval != NULL) { in PHP_FUNCTION()
2048 ctx = create_stream_context_from_zval(to_zval); in PHP_FUNCTION()
4104 static gdIOCtx *create_stream_context_from_zval(zval *to_zval) { in create_stream_context_from_zval() argument
4108 if (Z_TYPE_P(to_zval) == IS_RESOURCE) { in create_stream_context_from_zval()
4109 php_stream_from_zval_no_verify(stream, to_zval); in create_stream_context_from_zval()
4114 } else if (Z_TYPE_P(to_zval) == IS_STRING) { in create_stream_context_from_zval()
4115 if (CHECK_ZVAL_NULL_PATH(to_zval)) { in create_stream_context_from_zval()
4120 …stream = php_stream_open_wrapper(Z_STRVAL_P(to_zval), "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_W… in create_stream_context_from_zval()
4125 …_type_error(2, "must be a file name or a stream resource, %s given", zend_zval_type_name(to_zval)); in create_stream_context_from_zval()
4163 zval *to_zval = NULL; in _php_image_output_ctx() local
4166 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!", &imgind, gd_image_ce, &to_zval) == FAILURE) { in _php_image_output_ctx()
4170 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!ll", &imgind, gd_image_ce, &to_zval, &quality, &ba… in _php_image_output_ctx()
4174 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l", &imgind, gd_image_ce, &to_zval, &quality) == F… in _php_image_output_ctx()
4181 if (to_zval != NULL) { in _php_image_output_ctx()
4182 ctx = create_stream_context_from_zval(to_zval); in _php_image_output_ctx()