Lines Matching refs:filename

81 zend_bool php_imagick_is_url(const char *filename TSRMLS_DC)  in php_imagick_is_url()
85 …if (php_stream_locate_url_wrapper(filename, &path_for_open, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC)… in php_imagick_is_url()
91 zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filen… in php_imagick_file_init() argument
107 strlcpy(file->filename, filename, MaxTextExtent); in php_imagick_file_init()
112 GetPathComponent(file->filename, MagickPath, magick_path); in php_imagick_file_init()
123 else if (php_imagick_is_url(filename TSRMLS_CC)) { in php_imagick_file_init()
136 GetPathComponent(file->filename, HeadPath, head_path); in php_imagick_file_init()
137 GetPathComponent(file->filename, TailPath, tail_path); in php_imagick_file_init()
173 if (MagickReadImage(intern->magick_wand, file->filename) == MagickFalse) { in php_imagick_read_image_using_imagemagick()
188 if (MagickPingImage(intern->magick_wand, file->filename) == MagickFalse) { in php_imagick_read_image_using_imagemagick()
210 stream = php_stream_open_wrapper(file->filename, "rb", (IGNORE_PATH) & ~REPORT_ERRORS, NULL); in php_imagick_read_image_using_php_streams()
212 …stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNORE_PATH) & ~REPORT_E… in php_imagick_read_image_using_php_streams()
255 int php_imagick_safe_mode_check(const char *filename TSRMLS_DC) in php_imagick_safe_mode_check()
258 …if (PG(safe_mode) && (!php_checkuid_ex(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ER… in php_imagick_safe_mode_check()
262 if (PG(open_basedir) && php_check_open_basedir_ex(filename, 0 TSRMLS_CC)) { in php_imagick_safe_mode_check()
300 status = MagickWriteImage(intern->magick_wand, file->filename); in php_imagick_write_file()
302 status = MagickWriteImages(intern->magick_wand, file->filename, adjoin); in php_imagick_write_file()