diff --git a/core/includes/database.inc b/core/includes/database.inc
index c2df949..59d7409 100644
--- a/core/includes/database.inc
+++ b/core/includes/database.inc
@@ -562,6 +562,7 @@ function db_xor() {
  *
  * @param $conjunction
  *   The conjunction to use for query conditions (AND, OR or XOR).
+ *
  * @return Condition
  */
 function db_condition($conjunction) {
diff --git a/core/includes/file.inc b/core/includes/file.inc
index c4356a9..dc94892 100644
--- a/core/includes/file.inc
+++ b/core/includes/file.inc
@@ -996,6 +996,9 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
 
 /**
  * Constructs a URI to Drupal's default files location given a relative path.
+ *
+ * @param string $path
+ *   The relative path.
  */
 function file_build_uri($path) {
   $uri = file_default_scheme() . '://' . $path;
@@ -2350,6 +2353,12 @@ function drupal_dirname($uri) {
  * PHP's basename() does not properly support streams or filenames beginning
  * with a non-US-ASCII character.
  *
+ * @param string $uri
+ *   The filepath.
+ * @param string|null $suffix
+ *   (optional) A suffix to remove from the end of the filename. Defaults to
+ *   NULL.
+ *
  * @see http://bugs.php.net/bug.php?id=37738
  * @see basename()
  *
diff --git a/core/includes/form.inc b/core/includes/form.inc
index 6d93420..c7f8d5a 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -492,6 +492,12 @@ function drupal_rebuild_form($form_id, &$form_state, $old_form = NULL) {
 
 /**
  * Fetches a form from the cache.
+ *
+ * @param string $form_build_id
+ *   The build ID for the cached form. A string containing a unique hash.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form, passed and
+ *   updated by reference.
  */
 function form_get_cache($form_build_id, &$form_state) {
   if ($cached = cache('form')->get('form_' . $form_build_id)) {
@@ -523,6 +529,13 @@ function form_get_cache($form_build_id, &$form_state) {
 
 /**
  * Stores a form in the cache.
+ *
+ * @param string $form_build_id
+ *   The build ID for the cached form. A string containing a unique hash.
+ * @param array $form
+ *   An associative array containing the structure of the form.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form.
  */
 function form_set_cache($form_build_id, $form, $form_state) {
   // 6 hours cache life time for forms should be plenty.
@@ -1618,6 +1631,10 @@ function form_get_errors() {
  *
  * Form errors higher up in the form structure override deeper errors as well as
  * errors on the element itself.
+ *
+ * @param array $element
+ *   An associative array containing the element structure, including its
+ *   properties and children.
  */
 function form_get_error($element) {
   $form = form_set_error();
@@ -1633,6 +1650,12 @@ function form_get_error($element) {
 
 /**
  * Flags an element as having an error.
+ *
+ * @param array $element
+ *   An associative array containing the element structure, including its
+ *   properties and children. Passed and updated by reference.
+ * @param string $message
+ *   (optional) The error message to present to the user.
  */
 function form_error(&$element, $message = '') {
   form_set_error(implode('][', $element['#parents']), $message);
@@ -1922,6 +1945,16 @@ function form_builder($form_id, &$element, &$form_state) {
 
 /**
  * Adds the #name and #value properties of an input element before rendering.
+ *
+ * @param string $form_id
+ *   A unique string identifying the form for validation, submission,
+ *   theming, and hook_form_alter() functions.
+ * @param array $element
+ *   An associative array containing the structure of the current element,
+ *   including its properties and children. Passed and updated by reference.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form. Passed and
+ *   updated by reference.
  */
 function _form_builder_handle_input_element($form_id, &$element, &$form_state) {
   if (!isset($element['#name'])) {
@@ -2069,6 +2102,13 @@ function _form_builder_handle_input_element($form_id, &$element, &$form_state) {
  * key '_triggering_element_value' may also be set to require a match on element
  * value. An example where this is needed is if there are several buttons all
  * named 'op', and only differing in their value.
+ *
+ * @param array $element
+ *   An associative array containing the element structure, including its
+ *   properties and children.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element. Passed by reference.
  */
 function _form_element_triggered_scripted_submission($element, &$form_state) {
   if (!empty($form_state['input']['_triggering_element_name']) && $element['#name'] == $form_state['input']['_triggering_element_name']) {
@@ -2098,6 +2138,13 @@ function _form_element_triggered_scripted_submission($element, &$form_state) {
  * other than within the Form API. Form validation and submit handlers needing
  * to know which button was clicked should get that information from
  * $form_state['triggering_element'].
+ *
+ * @param array $element
+ *   An associative array containing the element structure for the button,
+ *   including its properties and children.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element. Passed by reference.
  */
 function _form_button_was_clicked($element, &$form_state) {
   // First detect normal 'vanilla' button clicks. Traditionally, all
@@ -2537,6 +2584,9 @@ function form_options_flatten($array) {
  * Iterates over an array and returns a flat array with duplicate keys removed.
  *
  * This function also handles cases where objects are passed as array values.
+ *
+ * @param array $array
+ *   The form array or sub-array to flatten.
  */
 function _form_options_flatten($array) {
   $return = &drupal_static(__FUNCTION__);
@@ -2829,7 +2879,11 @@ function theme_radios($variables) {
 }
 
 /**
- * Expand a password_confirm field into two text boxes.
+ * Expands a password confirmation field into two text boxes.
+ *
+ * @param array $element
+ *   An associative array containing the element structure, including its
+ *   properties and children.
  */
 function form_process_password_confirm($element) {
   $element['pass1'] =  array(
@@ -2857,7 +2911,14 @@ function form_process_password_confirm($element) {
 }
 
 /**
- * Validates a password_confirm element.
+ * Validates a password confirmation element.
+ *
+ * @param array $element
+ *   An associative array containing the element structure, including its
+ *   properties and children.
+ * @param array $element_state
+ *   An associative array containing the current state of the form element.
+ *   Passed by reference.
  */
 function password_confirm_validate($element, &$element_state) {
   $pass1 = trim($element['pass1']['#value']);
@@ -2909,6 +2970,10 @@ function theme_date($variables) {
 
 /**
  * Expands a date element into year, month, and day select elements.
+ *
+ * @param array $element
+ *   An associative array containing the date element structure, including
+ *   its properties and children.
  */
 function form_process_date($element) {
   // Default to current date
@@ -2965,6 +3030,10 @@ function form_process_date($element) {
 
 /**
  * Validates the date type to prevent invalid dates (e.g., February 30, 2006).
+ *
+ * @param array $element
+ *   An associative array containing the date element structure, including
+ *   its properties and children.
  */
 function date_validate($element) {
   if (!checkdate($element['#value']['month'], $element['#value']['day'], $element['#value']['year'])) {
@@ -2976,6 +3045,9 @@ function date_validate($element) {
  * Renders a month name for display.
  *
  * Callback for drupal_map_assoc() within form_process_date().
+ *
+ * @param int $month
+ *   An integer representing the month (1-12 for January-December).
  */
 function map_month($month) {
   $months = &drupal_static(__FUNCTION__, array(
@@ -2997,6 +3069,10 @@ function map_month($month) {
 
 /**
  * Sets the value for a weight element, with zero as a default.
+ *
+ * @param array $form
+ *   An associative array containing the weight element structure, passed and
+ *   updated by reference.
  */
 function weight_value(&$form) {
   if (isset($form['#default_value'])) {
@@ -3009,6 +3085,10 @@ function weight_value(&$form) {
 
 /**
  * Expands a radios element into individual radio elements.
+ *
+ * @param array $element
+ *   An associative array containing the radio element structure, including
+ *   its properties and children.
  */
 function form_process_radios($element) {
   if (count($element['#options']) > 0) {
@@ -3099,6 +3179,10 @@ function theme_checkboxes($variables) {
  * Adds form element theming to an element if its title or description is set.
  *
  * This is used as a pre render function for checkboxes and radios.
+ *
+ * @param array $element
+ *   An associative array containing the element structure, including its
+ *   properties and children.
  */
 function form_pre_render_conditional_form_element($element) {
   $t = get_t();
@@ -3119,6 +3203,13 @@ function form_pre_render_conditional_form_element($element) {
 
 /**
  * Processes a form button element.
+ *
+ * @param array $element
+ *   An associative array containing the button element structure, including
+ *   its properties and children.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element.
  */
 function form_process_button($element, $form_state) {
   // If this is a button intentionally allowing incomplete form submission
@@ -3132,6 +3223,13 @@ function form_process_button($element, $form_state) {
 
 /**
  * Sets the #checked property of a checkbox element.
+ *
+ * @param array $element
+ *   An associative array containing the checkbox element structure,
+ *   including its properties and children.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element.
  */
 function form_process_checkbox($element, $form_state) {
   $value = $element['#value'];
@@ -3159,6 +3257,10 @@ function form_process_checkbox($element, $form_state) {
 
 /**
  * Processes a checkboxes form element.
+ *
+ * @param array $element
+ *   An associative array containing the checkboxes element structure,
+ *   including its properties and children.
  */
 function form_process_checkboxes($element) {
   $value = is_array($element['#value']) ? $element['#value'] : array();
@@ -3532,6 +3634,13 @@ function form_process_machine_name($element, &$form_state) {
  * Form element validation handler for machine_name elements.
  *
  * Note that #maxlength is validated by _form_validate() already.
+ *
+ * @param array $element
+ *   An associative array containing the machine name element structure,
+ *   including its properties and children. Passed and updated by reference.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element. Passed by reference.
  */
 function form_validate_machine_name(&$element, &$form_state) {
   // Verify that the machine name not only consists of replacement tokens.
@@ -3761,10 +3870,13 @@ function theme_vertical_tabs($variables) {
  * }
  * @endcode
  *
- * @param $element
+ * @param array $element
  *   The form element to process. Properties used:
  *   - #autocomplete_path: A system path to be used as callback URL by the
  *     autocomplete JavaScript library.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element. Passed by reference.
  */
 function form_process_autocomplete($element, &$form_state) {
   if (!empty($element['#autocomplete_path']) && drupal_valid_path($element['#autocomplete_path'])) {
@@ -3915,6 +4027,13 @@ function theme_email($variables) {
  * Form element validation handler for #type 'email'.
  *
  * Note that #maxlength and #required is validated by _form_validate() already.
+ *
+ * @param array $element
+ *   An associative array containing the email element structure, including its
+ *   properties and children. Passed and updated by reference.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element. Passed by reference.
  */
 function form_validate_email(&$element, &$form_state) {
   $value = trim($element['#value']);
@@ -3995,6 +4114,13 @@ function theme_range($variables) {
  * Form element validation handler for #type 'number'.
  *
  * Note that #required is validated by _form_validate() already.
+ *
+ * @param array $element
+ *   An associative array containing the number element structure, including
+ *   its properties and children. Passed and updated by reference.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element. Passed by reference.
  */
 function form_validate_number(&$element, &$form_state) {
   $value = $element['#value'];
@@ -4075,6 +4201,13 @@ function theme_search($variables) {
  * Form element validation handler for #type 'url'.
  *
  * Note that #maxlength and #required is validated by _form_validate() already.
+ *
+ * @param array $element
+ *   An associative array containing the url element structure, including its
+ *   properties and children. Passed and updated by reference.
+ * @param array $form_state
+ *   An associative array of data for the current state of the form that
+ *   contains this element. Passed by reference.
  */
 function form_validate_url(&$element, &$form_state) {
   $value = trim($element['#value']);
diff --git a/core/includes/gettext.inc b/core/includes/gettext.inc
index a8498dc..3ae1f92 100644
--- a/core/includes/gettext.inc
+++ b/core/includes/gettext.inc
@@ -745,7 +745,7 @@ function _locale_import_parse_arithmetic($string) {
 /**
  * Provides backward-compatible formula parsing for token_get_all().
  *
- * @param $string
+ * @param string $formula
  *   A string containing the arithmetic formula.
  *
  * @return
@@ -1064,6 +1064,9 @@ function _locale_export_po($language = NULL, $output = NULL) {
 
 /**
  * Prints a string on multiple lines.
+ *
+ * @param string $str
+ *   The string to wrap onto multiple lines.
  */
 function _locale_export_string($str) {
   $stri = addcslashes($str, "\0..\37\\\"");
@@ -1100,6 +1103,11 @@ function _locale_export_string($str) {
 
 /**
  * Wraps text for Portable Object (Template) files.
+ *
+ * @param string $str
+ *   The string to wrap onto multiple lines.
+ * @param int $len
+ *   The maximum length of a line.
  */
 function _locale_export_wrap($str, $len) {
   $words = explode(' ', $str);
