Lines Matching refs:filename
34 char *filename = NULL; in PHP_METHOD() local
41 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &filename, &filename_len) =… in PHP_METHOD()
61 if (filename) { in PHP_METHOD()
62 MagickSetImageFilename(intern->magick_wand, filename); in PHP_METHOD()
3600 char *filename; in PHP_METHOD() local
3607 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { in PHP_METHOD()
3613 if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) { in PHP_METHOD()
3622 php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC); in PHP_METHOD()
3716 char *filename; in PHP_METHOD() local
3723 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { in PHP_METHOD()
3729 if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) { in PHP_METHOD()
3737 php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC); in PHP_METHOD()
3749 char *filename = NULL; in PHP_METHOD() local
3756 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &filename, &filename_len) =… in PHP_METHOD()
3777 if (filename) { in PHP_METHOD()
3778 MagickSetImageFilename(intern->magick_wand, filename); in PHP_METHOD()
3854 char *filename = NULL; in PHP_METHOD() local
3861 …s(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!", &image_string, &image_string_len, &filename, &filename_len) =… in PHP_METHOD()
3880 MagickSetImageFilename(intern->magick_wand, filename); in PHP_METHOD()
8342 char *filename; local
8352 filename = MagickGetImageFilename(intern->magick_wand);
8354 if (filename == (char *)NULL) {
8358 IM_ZVAL_STRING(return_value, filename);
8359 IMAGICK_FREE_MAGICK_MEMORY(filename);
8650 char *format, *identify, *filename, *signature; local
8681 filename = MagickGetImageFilename (intern->magick_wand);
8682 s_add_assoc_str (return_value, "imageName", filename);
8683 IMAGICK_FREE_MAGICK_MEMORY(filename);
8806 char *filename; local
8811 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
8819 status = MagickSetImageFilename(intern->magick_wand, filename);
9995 char *filename = NULL; local
10002 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &filename, &filename_len) == FAILURE) {
10010 if (!filename) {
10011 filename = MagickGetImageFilename(intern->magick_wand);
10013 if (!filename) {
10017 filename_len = strlen(filename);
10026 if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) {
10034 php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC);
10036 IMAGICK_FREE_MAGICK_MEMORY(filename);
10042 IMAGICK_FREE_MAGICK_MEMORY(filename);
10053 char *filename; local
10060 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &filename, &filename_len, &adjoin) == F…
10073 if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) {
10081 php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC);
11473 char *filename; local
11480 filename = (char *)MagickGetFilename(intern->magick_wand);
11482 if (filename) {
11483 IM_ZVAL_STRING(return_value, filename);
11484 IMAGICK_FREE_MAGICK_MEMORY(filename);
11930 char *filename; local
11935 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
11940 status = MagickSetFilename(intern->magick_wand, filename);
12061 char *filename; local
12072 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
12078 if ((rc = php_imagick_file_access_check (filename TSRMLS_CC)) != IMAGICK_RW_OK) {
12079 php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC);
12087 intern->progress_monitor_name = estrdup(filename);