Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
common.inc
»
parse_size
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
7 calls to parse_size()
color_scheme_form_submit
in drupal/
core/
modules/
color/
color.module
Form submission handler for
color_scheme_form
().
drupal_check_memory_limit
in drupal/
core/
includes/
bootstrap.inc
Compares the memory required for an operation to the available memory.
file_field_widget_upload_validators
in drupal/
core/
modules/
file/
file.field.inc
Retrieves the upload validators for a file field.
file_upload_max_size
in drupal/
core/
includes/
file.inc
Determines the maximum file upload size by querying the PHP settings.
SizeUnitTest::testCommonParseSize
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
SizeUnitTest.php
Checks that
parse_size
() returns the proper byte sizes.
SizeUnitTest::testCommonParseSizeFormatSize
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
SizeUnitTest.php
Cross-tests
parse_size
() and
format_size
().
_file_generic_settings_max_filesize
in drupal/
core/
modules/
file/
file.field.inc
Render API callback: Validates the maximum upload size field.