FileCopyTest::testExistingRename in core/modules/simpletest/tests/file.test
Test renaming when copying over a file that already exists.
FileDirectoryTest::testFileDestination in core/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 core/modules/simpletest/tests/file.test
Test renaming when moving onto a file that already exists.
FileSaveDataTest::testExistingRename in core/modules/simpletest/tests/file.test
Test file_save_data() when renaming around an existing file.
FileSaveUploadTest::testExistingRename in core/modules/simpletest/tests/file.test
Test renaming when uploading over a file that already exists.
FileUnmanagedCopyTest::testNormal in core/modules/simpletest/tests/file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf in core/modules/simpletest/tests/file.test
Copy a file onto itself.
FileUnmanagedMoveTest::testNormal in core/modules/simpletest/tests/file.test
Move a normal file.
FileUnmanagedMoveTest::testOverwriteSelf in core/modules/simpletest/tests/file.test
Try to move a file onto itself.
FileUploadTransliterationTest::testTransliteration in core/modules/simpletest/tests/file.test
file_add_form_submit in core/modules/file/file.pages.inc
Submit handler for the add file form.
file_copy in core/includes/file.inc
Copies a file to a new location and adds a file record to the database.
file_destination in core/includes/file.inc
Determines the destination path for a file.
file_example_managed_write_submit in modules/examples/file_example/file_example.module
Submit handler to write a managed file.
file_manage_form_submit in core/modules/file/file.pages.inc
Form submission handler for the 'Save' button for file_manage_form().
file_move in core/includes/file.inc
Moves a file to a new location and update the file's database entry.
file_save_data in core/includes/file.inc
Saves a file to the specified destination and creates a database entry.
file_save_upload in core/includes/file.inc
Saves a file upload to a new location.
file_unmanaged_copy in core/includes/file.inc
Copies a file to a new location without database changes or hook invocation.
file_unmanaged_move in core/includes/file.inc
Moves a file to a new location without database changes or hook invocation. This is a powerful function that in many ways performs like an advanced version of rename().
file_unmanaged_prepare in core/includes/file.inc
Internal function that prepares the destination for a file_unmanaged_copy or file_unmanaged_move operation.
file_unmanaged_save_data in core/includes/file.inc
Saves a file to the specified destination without invoking file API.
ImageDimensionsUnitTest::testImageDimensions in core/modules/image/tests/image.test
Test styled image dimensions cumulatively.
ImageStyleFloodProtection::testFloodProtection in core/modules/image/tests/image.test
Check the number of images that can be generated simultaneously.
ImageStylesPathAndUrlUnitTest::_testImageStyleUrlAndPath in core/modules/image/tests/image.test
Test image_style_url().
ImageThemeFunctionWebTestCase::testImageFormatterTheme in core/modules/image/tests/image.test
Tests usage of the image field formatters.
system_retrieve_file in core/modules/system/system.module
Attempts to get a file using backdrop_http_request and to store it locally.
system_transliteration_retroactive_submit in core/modules/system/system.admin.inc
Form submit function; retroactively transliterates existing file names.
UserStorageController::preSave in core/modules/user/user.entity.inc
Overrides EntityDatabaseStorageController::preSave().
_file_test_form in core/modules/simpletest/tests/file_test.module
Form to test file uploads.