Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 15 of 15) sorted by relevance

/imagick/util/
H A DgenSymbols.sh7 filename="/home/travis/im/imagemagick-${IMAGEMAGICK_VERSION}/lib/${arg}"
8 if [ -f "$filename" ]
10 nm -gC "$filename" > ./util/symbols.magickwand.txt
15 filename="/home/travis/im/imagemagick-${IMAGEMAGICK_VERSION}/lib/${arg}"
16 if [ -f "$filename" ]
18 nm -gC "$filename" > ./util/symbols.magickcore.txt
H A DscanHeaders.php237 foreach ($enumToCheck as $filename => $enums) {
244 $enumNameList = getEnumList($enum, $pathToImageMagick.$filename);
258 function getEnumList($enum, $filename) argument
260 $fileContents = file_get_contents($filename);
263 echo "Could not read file $filename \n";
277 echo "Couldn't find enum $enum in $filename.\n";
H A Dfixup_arginfo.php11 $filename = $argv[1]; variable
15 echo "Fixing $filename\n";
17 $input_lines = file($filename);
144 file_put_contents($filename, implode("\n", $output_lines));
H A Dcheck_methods.php39 $filename = getFileName($type); variable
40 $lines = file($filename);
/imagick/
H A Dimagick_file.c81 zend_bool php_imagick_is_url(const char *filename TSRMLS_DC) in php_imagick_is_url()
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()
255 int php_imagick_safe_mode_check(const char *filename TSRMLS_DC) in php_imagick_safe_mode_check()
300 status = MagickWriteImage(intern->magick_wand, file->filename); in php_imagick_write_file()
[all …]
H A Dphp_imagick_file.h42 char filename[MaxTextExtent]; member
61 zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filen…
65 int php_imagick_safe_mode_check(const char *filename TSRMLS_DC);
H A Dphp_imagick_helpers.h45 php_imagick_rw_result_t php_imagick_file_access_check (const char *filename TSRMLS_DC);
80 …to_exception (MagickWand *magick_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC);
81 …_exception (DrawingWand *drawing_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC);
H A Dimagick_helpers.c459 php_imagick_rw_result_t php_imagick_file_access_check (const char *filename TSRMLS_DC) in php_imagick_file_access_check()
461 if (strlen(filename) >= MAXPATHLEN) in php_imagick_file_access_check()
465 …if (PG(safe_mode) && (!php_checkuid_ex(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ER… in php_imagick_file_access_check()
469 if (php_check_open_basedir_ex(filename, 0 TSRMLS_CC)) in php_imagick_file_access_check()
472 if (VCWD_ACCESS(filename, F_OK) != 0) in php_imagick_file_access_check()
475 if (VCWD_ACCESS(filename, R_OK) != 0) in php_imagick_file_access_check()
482 void s_rw_fail_to_exception (php_imagick_rw_result_t rc, const char *filename TSRMLS_DC) in s_rw_fail_to_exception()
495 …exception_ex(php_imagick_exception_class_entry, 1 TSRMLS_CC, "Permission denied to: %s", filename); in s_rw_fail_to_exception()
499 …ow_exception_ex(php_imagick_exception_class_entry, 1 TSRMLS_CC, "Filename too long: %s", filename); in s_rw_fail_to_exception()
522 s_rw_fail_to_exception (rc, filename TSRMLS_CC); in php_imagick_rw_fail_to_exception()
[all …]
H A DImagick.stub.php15 public function pingImageFile(resource $filehandle, ?string $filename = null): bool {} argument
455 public function readImage(string $filename): bool {} argument
459 public function readImageBlob(string $image, ?string $filename = null): bool {} argument
465 public function writeImage(?string $filename = null): bool {} argument
467 public function writeImages(string $filename, bool $adjoin): bool {} argument
483 public function setImageFilename(string $filename): bool {} argument
668 public function setImageProgressMonitor(string $filename): bool {} argument
694 public function pingImage(string $filename): bool {} argument
696 public function readImageFile(resource $filehandle, ?string $filename = null): bool {} argument
1189 public function setFilename(string $filename): bool {} argument
H A Dimagick_class.c34 char *filename = NULL; in PHP_METHOD() local
61 if (filename) { in PHP_METHOD()
3600 char *filename; in PHP_METHOD() local
3716 char *filename; in PHP_METHOD() local
3777 if (filename) { in PHP_METHOD()
8342 char *filename; local
8806 char *filename; local
10053 char *filename; local
11473 char *filename; local
11482 if (filename) {
[all …]
H A DREADME.md81 $mimeType = finfo_file($finfo, $filename);
91 …throw new \SecurityException("Was going to send file '$filename' to the user, but it is not an ima…
H A DImagick_arginfo.h67 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null")
69 ZEND_ARG_INFO(0, filename)
1818 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1820 ZEND_ARG_INFO(0, filename)
1854 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null")
1856 ZEND_ARG_INFO(0, filename)
1920 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null")
1922 ZEND_ARG_INFO(0, filename)
1936 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1938 ZEND_ARG_INFO(0, filename)
[all …]
H A DChangeLog738 - Added support for passing a filename or an array of filenames to Imagick constructor
/imagick/tests/
H A D273_imagick_falsyimage.phpt18 Constructor shouldn't be called with a boolean as the filename
H A D022-writeimagefileformat.phpt34 // Lets try again, setting the filename rather than format

Completed in 63 milliseconds