- CronRunTestCase::testTempFileCleanup in core/
modules/ system/ tests/ system.test - Ensure that temporary files are removed.
- FileSaveDataTest::testExistingError in core/
modules/ simpletest/ tests/ file.test - Test that file_save_data() fails overwriting an existing file.
- FileSaveDataTest::testExistingRename in core/
modules/ simpletest/ tests/ file.test - Test file_save_data() when renaming around an existing file.
- FileSaveDataTest::testExistingReplace in core/
modules/ simpletest/ tests/ file.test - Test file_save_data() when replacing an existing file.
- FileSaveDataTest::testWithFilename in core/
modules/ simpletest/ tests/ file.test - Test the file_save_data() function when a filename is provided.
- FileSaveDataTest::testWithoutFilename in core/
modules/ simpletest/ tests/ file.test - Test the file_save_data() function when no filename is provided.
- FileTestHelper::createTemporaryFile in core/
modules/ file/ tests/ file.test - Creates a temporary file, for a specific user.
- file_example_managed_write_submit in modules/
examples/ file_example/ file_example.module - Submit handler to write a managed file.
- system_retrieve_file in core/
modules/ system/ system.module - Attempts to get a file using backdrop_http_request and to store it locally.