Lines Matching refs:to_zval

124 static gdIOCtx *create_stream_context_from_zval(zval *to_zval);
1917 zval *to_zval = NULL; in PHP_FUNCTION() local
1919 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l!", &imgind, gd_image_ce, &to_zval, &foreground_c… in PHP_FUNCTION()
1925 if (to_zval != NULL) { in PHP_FUNCTION()
1926 ctx = create_stream_context_from_zval(to_zval); in PHP_FUNCTION()
1974 zval *to_zval = NULL; in PHP_FUNCTION() local
1976 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!b", &imgind, gd_image_ce, &to_zval, &compressed) =… in PHP_FUNCTION()
1982 if (to_zval != NULL) { in PHP_FUNCTION()
1983 ctx = create_stream_context_from_zval(to_zval); in PHP_FUNCTION()
4028 static gdIOCtx *create_stream_context_from_zval(zval *to_zval) { in create_stream_context_from_zval() argument
4032 if (Z_TYPE_P(to_zval) == IS_RESOURCE) { in create_stream_context_from_zval()
4033 php_stream_from_zval_no_verify(stream, to_zval); in create_stream_context_from_zval()
4038 } else if (Z_TYPE_P(to_zval) == IS_STRING) { in create_stream_context_from_zval()
4039 if (CHECK_ZVAL_NULL_PATH(to_zval)) { in create_stream_context_from_zval()
4044 stream = php_stream_open_wrapper(Z_STRVAL_P(to_zval), "wb", REPORT_ERRORS|IGNORE_PATH, NULL); in create_stream_context_from_zval()
4049 …_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()
4087 zval *to_zval = NULL; in _php_image_output_ctx() local
4090 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!", &imgind, gd_image_ce, &to_zval) == FAILURE) { in _php_image_output_ctx()
4094 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!ll", &imgind, gd_image_ce, &to_zval, &quality, &ba… in _php_image_output_ctx()
4098 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!ll", &imgind, gd_image_ce, &to_zval, &quality, &sp… in _php_image_output_ctx()
4102 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l", &imgind, gd_image_ce, &to_zval, &quality) == F… in _php_image_output_ctx()
4109 if (to_zval != NULL) { in _php_image_output_ctx()
4110 ctx = create_stream_context_from_zval(to_zval); in _php_image_output_ctx()