8 calls to file_directory_temp()

file_check_directory in drupal-6.x/includes/file.inc
Checks whether a directory exists and is writable.
file_create_path in drupal-6.x/includes/file.inc
Make sure the destination is a complete path and resides in the file system directory, if it is not prepend the file system directory.
file_save_data in drupal-6.x/includes/file.inc
Save a string to the specified destination.
file_save_upload in drupal-6.x/includes/file.inc
Saves a file upload to a new location.
install_main in drupal-6.x/install.php
The Drupal installation happens in a series of steps. We begin by verifying that the current environment meets our minimum requirements. We then go on to verify that settings.php is properly configured. From there we connect to the configured database…
system_file_system_settings in drupal-6.x/modules/system/system.admin.inc
Form builder; Configure the site file handling.
system_requirements in drupal-6.x/modules/system/system.install
Implementation of hook_requirements().
upload_form_alter in drupal-6.x/modules/upload/upload.module