6 calls to file_scan_directory() in Drupal 5
- drupal_clear_css_cache in includes/common.inc 
- Delete all cached CSS files.
- drupal_system_listing in includes/common.inc 
- Returns an array of files objects of the given type from the site-wide directory (i.e. modules/), the all-sites directory (i.e. sites/all/modules/), the profiles directory, and site-specific directory (i.e. sites/somesite/modules/). The returned array…
- image_get_available_toolkits in includes/image.inc 
- Return a list of available toolkits.
- install_select_locale in ./install.php 
- Find all .po files for the current profile and allow admin to select which to use.
- install_select_profile in ./install.php 
- Find all .profile files and allow admin to select which to install.
- system_theme_data in modules/system/ system.module 
- Collect data about all currently available themes
