18 calls to format_size() in Drupal 7
- color_scheme_form_submit in modules/
color/ color.module - Form submission handler for color_scheme_form().
- CommonSizeTestCase::testCommonFormatSize in modules/
simpletest/ tests/ common.test - Check that format_size() returns the expected string.
- CommonSizeTestCase::testCommonParseSizeFormatSize in modules/
simpletest/ tests/ common.test - Cross-test parse_size() and format_size().
- DrupalWebTestCase::curlExec in modules/
simpletest/ drupal_web_test_case.php - Initializes and executes a cURL request.
- FileFieldValidateTestCase::testFileMaxSize in modules/
file/ tests/ file.test - Tests the max file size validator.
- FileTokenReplaceTestCase::testFileTokenReplacement in modules/
file/ tests/ file.test - Creates a file, then tests the tokens generated from it.
- file_ajax_progress in modules/
file/ file.module - Menu callback for upload progress.
- file_ajax_upload in modules/
file/ file.module - Menu callback; Shared Ajax callback for file uploads and deletions.
- file_field_instance_settings_form in modules/
file/ file.field.inc - Implements hook_field_instance_settings_form().
- file_save_upload in includes/
file.inc - Saves a file upload to a new location.
- file_validate_size in includes/
file.inc - Checks that the file's size is below certain limits.
- system_tokens in modules/
system/ system.tokens.inc - Implements hook_tokens().
- theme_file_formatter_table in modules/
file/ file.field.inc - Returns HTML for a file attachments table.
- theme_file_upload_help in modules/
file/ file.field.inc - Returns HTML for help text based on file upload validators.
- theme_file_widget in modules/
file/ file.field.inc - Returns HTML for an individual file upload widget.
- theme_image_widget in modules/
image/ image.field.inc - Returns HTML for an image field widget.
- UserPictureTestCase::testWithGDinvalidSize in modules/
user/ user.test - Do the test: GD Toolkit is installed Picture has invalid size
- UserPictureTestCase::testWithoutGDinvalidSize in modules/
user/ user.test - Do the test: GD Toolkit is not installed Picture has invalid size