Lines Matching refs:filename
459 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()
487 …ick_exception_class_entry, 1 TSRMLS_CC, "Safe mode restricts user to read the file: %s", filename); in s_rw_fail_to_exception()
491 …LS_CC, "open_basedir restriction in effect. File(%s) is not within the allowed path(s)", filename); 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()
503 …eption_ex(php_imagick_exception_class_entry, 1 TSRMLS_CC, "The path does not exist: %s", filename); in s_rw_fail_to_exception()
507 …eption_ex(php_imagick_exception_class_entry, 1 TSRMLS_CC, "The path is a directory: %s", filename); in s_rw_fail_to_exception()
516 …_to_exception (MagickWand *magick_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC) in php_imagick_rw_fail_to_exception()
522 s_rw_fail_to_exception (rc, filename TSRMLS_CC); in php_imagick_rw_fail_to_exception()
525 …o_exception (DrawingWand *drawing_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC) in php_imagick_imagickdraw_rw_fail_to_exception()
531 s_rw_fail_to_exception (rc, filename TSRMLS_CC); in php_imagick_imagickdraw_rw_fail_to_exception()