FilePrivateTestCase::testPrivateFileDownloadAccessGranted in core/modules/file/tests/file.test
Tests file access for private nodes when file download access is granted.
FileUnmanagedMoveTest::testMissing in core/modules/simpletest/tests/file.test
Try to move a missing file.
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.
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_unmanaged_save_data in core/includes/file.inc
Saves a file to the specified destination without invoking file API.
image_field_update_field in core/modules/image/image.module
Implements hook_field_update_field().
image_gd_save in core/modules/system/image.gd.inc
GD helper to write an image resource to a destination file.
_image_field_default_image_validate in core/modules/image/image.field.inc
Element validation function for setting a default image.