Skip to content

Commit 7813801

Browse files
author
Zsolt Borbély
committed
Fix wrong indentations of function parameters
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély [email protected]
1 parent 19b972b commit 7813801

17 files changed

+61
-61
lines changed

jerry-core/ecma/base/ecma-helpers-conversion.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,10 @@ ecma_utf8_string_to_number (const lit_utf8_byte_t *str_p, /**< utf-8 string */
632632
*/
633633
ECMA_NUMBER_CONVERSION_128BIT_INTEGER (fraction_uint128);
634634
ECMA_NUMBER_CONVERSION_128BIT_INTEGER_INIT (fraction_uint128,
635-
0ull,
636-
fraction_uint64 >> 32u,
637-
(uint32_t) fraction_uint64,
638-
0ull);
635+
0ull,
636+
fraction_uint64 >> 32u,
637+
(uint32_t) fraction_uint64,
638+
0ull);
639639

640640
/* Normalizing mantissa */
641641
JERRY_ASSERT (ECMA_NUMBER_CONVERSION_128BIT_INTEGER_IS_HIGH_BIT_MASK_ZERO (fraction_uint128, 124));

jerry-core/ecma/base/ecma-helpers-string.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ ecma_compare_ecma_strings_relational (const ecma_string_t *string1_p, /**< ecma-
10511051
if (ECMA_STRING_GET_CONTAINER (string1_p) == ECMA_STRING_CONTAINER_HEAP_CHUNKS)
10521052
{
10531053
const ecma_string_heap_header_t *const data_p = ECMA_GET_NON_NULL_POINTER (ecma_string_heap_header_t,
1054-
string1_p->u.collection_cp);
1054+
string1_p->u.collection_cp);
10551055

10561056
utf8_string1_p = (lit_utf8_byte_t *) (data_p + 1);
10571057
utf8_string1_size = (lit_utf8_size_t) data_p->size;
@@ -1085,7 +1085,7 @@ ecma_compare_ecma_strings_relational (const ecma_string_t *string1_p, /**< ecma-
10851085
if (ECMA_STRING_GET_CONTAINER (string2_p) == ECMA_STRING_CONTAINER_HEAP_CHUNKS)
10861086
{
10871087
const ecma_string_heap_header_t *const data_p = ECMA_GET_NON_NULL_POINTER (ecma_string_heap_header_t,
1088-
string2_p->u.collection_cp);
1088+
string2_p->u.collection_cp);
10891089

10901090
utf8_string2_p = (lit_utf8_byte_t *) (data_p + 1);
10911091
utf8_string2_size = (lit_utf8_size_t) data_p->size;

jerry-core/ecma/base/ecma-helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ ecma_get_internal_property_value (const ecma_property_t *prop_p) /**< property *
11051105
*/
11061106
inline void __attr_always_inline___
11071107
ecma_set_internal_property_value (ecma_property_t *prop_p, /**< property */
1108-
ecma_value_t value) /**< value to set */
1108+
ecma_value_t value) /**< value to set */
11091109
{
11101110
JERRY_ASSERT (ECMA_PROPERTY_GET_TYPE (prop_p) == ECMA_PROPERTY_TYPE_INTERNAL);
11111111

jerry-core/ecma/base/ecma-property-hashmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ ecma_property_hashmap_find (ecma_property_hashmap_t *hashmap_p, /**< hashmap */
411411
* chain, and sets the property_found variable. */
412412
bool property_found = false;
413413
ecma_property_header_t *prop_iter_p = ECMA_GET_POINTER (ecma_property_header_t,
414-
hashmap_p->header.next_property_cp);
414+
hashmap_p->header.next_property_cp);
415415

416416
while (prop_iter_p != NULL && !property_found)
417417
{

jerry-core/ecma/builtin-objects/ecma-builtin-array-prototype.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,8 +826,8 @@ ecma_builtin_array_prototype_object_shift (ecma_value_t this_arg) /**< this argu
826826
*/
827827
static ecma_value_t
828828
ecma_builtin_array_prototype_object_slice (ecma_value_t this_arg, /**< 'this' argument */
829-
ecma_value_t arg1, /**< start */
830-
ecma_value_t arg2) /**< end */
829+
ecma_value_t arg1, /**< start */
830+
ecma_value_t arg2) /**< end */
831831
{
832832
ecma_value_t ret_value = ecma_make_simple_value (ECMA_SIMPLE_VALUE_EMPTY);
833833

@@ -1352,8 +1352,8 @@ ecma_builtin_array_prototype_object_sort (ecma_value_t this_arg, /**< this argum
13521352
*/
13531353
static ecma_value_t
13541354
ecma_builtin_array_prototype_object_splice (ecma_value_t this_arg, /**< this argument */
1355-
const ecma_value_t args[], /**< arguments list */
1356-
ecma_length_t args_number) /**< number of arguments */
1355+
const ecma_value_t args[], /**< arguments list */
1356+
ecma_length_t args_number) /**< number of arguments */
13571357
{
13581358
ecma_value_t ret_value = ecma_make_simple_value (ECMA_SIMPLE_VALUE_EMPTY);
13591359

jerry-core/ecma/builtin-objects/ecma-builtin-helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ extern ecma_number_t ecma_date_make_date (ecma_number_t, ecma_number_t);
119119
extern ecma_number_t ecma_date_time_clip (ecma_number_t);
120120
extern ecma_number_t ecma_date_timezone_offset (ecma_number_t);
121121
extern ecma_value_t ecma_date_set_internal_property (ecma_value_t, ecma_number_t,
122-
ecma_number_t, ecma_date_timezone_t);
122+
ecma_number_t, ecma_date_timezone_t);
123123

124124
extern ecma_value_t ecma_date_value_to_string (ecma_number_t);
125125
extern ecma_value_t ecma_date_value_to_utc_string (ecma_number_t);

jerry-core/ecma/builtin-objects/ecma-builtins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ ecma_builtin_try_to_instantiate_property (ecma_object_t *object_p, /**< object *
308308
*/
309309

310310
ecma_property_t *desc_prop_p = ecma_get_internal_property (object_p,
311-
ECMA_INTERNAL_PROPERTY_BUILT_IN_ROUTINE_DESC);
311+
ECMA_INTERNAL_PROPERTY_BUILT_IN_ROUTINE_DESC);
312312
uint64_t builtin_routine_desc = ecma_get_internal_property_value (desc_prop_p);
313313

314314
JERRY_STATIC_ASSERT (sizeof (uint8_t) * JERRY_BITSINBYTE == ECMA_BUILTIN_ROUTINE_ID_LENGTH_VALUE_WIDTH,

jerry-core/ecma/operations/ecma-objects-arguments.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ ecma_op_arguments_object_define_own_property (ecma_object_t *obj_p, /**< the obj
443443
/* emulating execution of function described by MakeArgSetter */
444444
ecma_property_t *scope_prop_p = ecma_get_internal_property (map_p, ECMA_INTERNAL_PROPERTY_SCOPE);
445445
ecma_object_t *lex_env_p = ECMA_GET_INTERNAL_VALUE_POINTER (ecma_object_t,
446-
ECMA_PROPERTY_VALUE_PTR (scope_prop_p)->value);
446+
ECMA_PROPERTY_VALUE_PTR (scope_prop_p)->value);
447447

448448
ecma_property_t *mapped_prop_p = ecma_op_object_get_own_property (map_p, property_name_p);
449449
ecma_value_t arg_name_prop_value = ecma_get_named_data_property_value (mapped_prop_p);

jerry-core/jerry.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,8 +1154,8 @@ bool jerry_api_get_object_field_value (jerry_api_object_t *object_p, /**< object
11541154
*/
11551155
bool
11561156
jerry_api_foreach_object_field (jerry_api_object_t *object_p, /**< object */
1157-
jerry_object_field_foreach_t foreach_p, /**< foreach function */
1158-
void *user_data_p) /**< user data for foreach function */
1157+
jerry_object_field_foreach_t foreach_p, /**< foreach function */
1158+
void *user_data_p) /**< user data for foreach function */
11591159
{
11601160
jerry_assert_api_available ();
11611161

jerry-core/lit/lit-strings.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ lit_is_utf8_string_valid (const lit_utf8_byte_t *utf8_buf_p, /**< utf-8 string *
127127
*/
128128
bool
129129
lit_is_cesu8_string_valid (const lit_utf8_byte_t *utf8_buf_p, /**< utf-8 string */
130-
lit_utf8_size_t buf_size) /**< string size */
130+
lit_utf8_size_t buf_size) /**< string size */
131131
{
132132
lit_utf8_size_t idx = 0;
133133

@@ -341,7 +341,7 @@ lit_read_code_point_from_utf8 (const lit_utf8_byte_t *buf_p, /**< buffer with ch
341341
*/
342342
lit_utf8_size_t
343343
lit_read_code_unit_from_utf8 (const lit_utf8_byte_t *buf_p, /**< buffer with characters */
344-
ecma_char_t *code_point) /**< [out] code point */
344+
ecma_char_t *code_point) /**< [out] code point */
345345
{
346346
JERRY_ASSERT (buf_p);
347347

0 commit comments

Comments
 (0)