FileMimeTypeTest::testFileMimeTypeDetection in modules/simpletest/tests/file.test
Test mapping of mimetypes from filenames.
file_module_test_file_download in modules/file/tests/file_module_test.module
Implements hook_file_download().
file_save_data in includes/file.inc
Saves a file to the specified destination and creates a database entry.
file_save_upload in includes/file.inc
Saves a file upload to a new location.
system_theme_settings_submit in modules/system/system.admin.inc
Process system_theme_settings form submissions.
theme_file_link in modules/file/file.module
Returns HTML for a link to a file.
user_update_7012 in modules/user/user.install
Add the user's pictures to the {file_managed} table and make them managed files.