23 uses of FILE_EXISTS_RENAME

FileCopyTest::testExistingRename in drupal-7.x/modules/simpletest/tests/file.test
Test renaming when copying over a file that already exists.
FileDirectoryTest::testFileDestination in drupal-7.x/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::testExistingRename in drupal-7.x/modules/simpletest/tests/file.test
Test renaming when moving onto a file that already exists.
FileSaveDataTest::testExistingRename in drupal-7.x/modules/simpletest/tests/file.test
Test file_save_data() when renaming around an existing file.
FileSaveUploadTest::testExistingRename in drupal-7.x/modules/simpletest/tests/file.test
Test renaming when uploading over a file that already exists.
FileUnmanagedCopyTest::testNormal in drupal-7.x/modules/simpletest/tests/file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf in drupal-7.x/modules/simpletest/tests/file.test
Copy a file onto itself.
FileUnmanagedMoveTest::testNormal in drupal-7.x/modules/simpletest/tests/file.test
Move a normal file.
FileUnmanagedMoveTest::testOverwriteSelf in drupal-7.x/modules/simpletest/tests/file.test
Try to move a file onto itself.
file_copy in drupal-7.x/includes/file.inc
Copies a file to a new location and adds a file record to the database.
file_destination in drupal-7.x/includes/file.inc
Determines the destination path for a file.
file_move in drupal-7.x/includes/file.inc
Moves a file to a new location and update the file's database entry.
file_save_data in drupal-7.x/includes/file.inc
Saves a file to the specified destination and creates a database entry.
file_save_upload in drupal-7.x/includes/file.inc
Saves a file upload to a new location.
file_unmanaged_copy in drupal-7.x/includes/file.inc
Copies a file to a new location without invoking the file API.
file_unmanaged_move in drupal-7.x/includes/file.inc
Moves a file to a new location without database changes or hook invocation.
file_unmanaged_save_data in drupal-7.x/includes/file.inc
Saves a string to the specified destination without invoking file API.
ImageDimensionsTestCase::testImageDimensions in drupal-7.x/modules/image/image.test
Test styled image dimensions cumulatively.
ImageStylesPathAndUrlTestCase::_testImageStyleUrlAndPath in drupal-7.x/modules/image/image.test
Test image_style_url().
ImageThemeFunctionWebTestCase::testImageFormatterTheme in drupal-7.x/modules/image/image.test
Tests usage of the image field formatters.
system_retrieve_file in drupal-7.x/modules/system/system.module
Attempts to get a file using drupal_http_request and to store it locally.
user_save in drupal-7.x/modules/user/user.module
Save changes to a user account or add a new user.
_file_test_form in drupal-7.x/modules/simpletest/tests/file_test.module
Form to test file uploads.