6 calls to file_munge_filename()

FileNameMungingTest::testMungeIgnoreInsecure in drupal-7.x/modules/simpletest/tests/file.test
If the allow_insecure_uploads variable evaluates to true, the file should come out untouched, no matter how evil the filename.
FileNameMungingTest::testMungeIgnoreWhitelisted in drupal-7.x/modules/simpletest/tests/file.test
White listed extensions are ignored by file_munge_filename().
FileNameMungingTest::testMungeNullByte in drupal-7.x/modules/simpletest/tests/file.test
Tests munging with a null byte in the filename.
FileNameMungingTest::testMunging in drupal-7.x/modules/simpletest/tests/file.test
Create a file and munge/unmunge the name.
FileNameMungingTest::testUnMunge in drupal-7.x/modules/simpletest/tests/file.test
Ensure that unmunge gets your name back.
file_save_upload in drupal-7.x/includes/file.inc
Saves a file upload to a new location.