22 uses of FILE_EXISTS_REPLACE

drupal_build_css_cache in drupal/includes/common.inc
Aggregates and optimizes CSS files into a cache file in the files directory.
drupal_build_js_cache in drupal/includes/common.inc
Aggregates JavaScript files into a cache file in the files directory.
FileCopyTest::testExistingReplace in drupal/modules/simpletest/tests/file.test
Test replacement when copying over a file that already exists.
FileDirectoryTest::testFileDestination in drupal/modules/simpletest/tests/file.test
This will test the filepath for a destination based on passed flags and whether or not the file exists.
FileMoveTest::testExistingReplace in drupal/modules/simpletest/tests/file.test
Test replacement when moving onto a file that already exists.
FileMoveTest::testExistingReplaceSelf in drupal/modules/simpletest/tests/file.test
Test replacement when moving onto itself.
FileSaveDataTest::testExistingReplace in drupal/modules/simpletest/tests/file.test
Test file_save_data() when replacing an existing file.
FileSaveUploadTest::setUp in drupal/modules/simpletest/tests/file.test
Sets up a Drupal site for running functional and integration tests.
FileSaveUploadTest::testExistingReplace in drupal/modules/simpletest/tests/file.test
Test replacement when uploading over a file that already exists.
FileSaveUploadTest::testHandleDangerousFile in drupal/modules/simpletest/tests/file.test
Test dangerous file handling.
FileSaveUploadTest::testHandleExtension in drupal/modules/simpletest/tests/file.test
Test extension handling.
FileUnmanagedMoveTest::testOverwriteSelf in drupal/modules/simpletest/tests/file.test
Try to move a file onto itself.
FileUnmanagedSaveDataTest::testFileSaveData in drupal/modules/simpletest/tests/file.test
Test the file_unmanaged_save_data() function.
file_copy in drupal/includes/file.inc
Copies a file to a new location and adds a file record to the database.
file_destination in drupal/includes/file.inc
Determines the destination path for a file.
file_move in drupal/includes/file.inc
Moves a file to a new location and update the file's database entry.
file_save_data in drupal/includes/file.inc
Saves a file to the specified destination and creates a database entry.
file_save_upload in drupal/includes/file.inc
Saves a file upload to a new location.
image_gd_save in drupal/modules/system/image.gd.inc
GD helper to write an image resource to a destination file.
update_manager_file_get in drupal/modules/update/update.manager.inc
Copies a file from the specified URL to the temporary directory for updates.
update_manager_install_form_submit in drupal/modules/update/update.manager.inc
Form submission handler for update_manager_install_form().
_color_save_stylesheet in drupal/modules/color/color.module
Saves the rewritten stylesheet to disk.