Skip to content

Commit e14d0b8

Browse files
committed
Fix the format of doxygen comments of output arguments
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
1 parent d47c36f commit e14d0b8

20 files changed

+66
-66
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ ecma_number_to_int32 (ecma_number_t num) /**< ecma-number */
972972
static void
973973
ecma_number_helper_binary_to_decimal (ECMA_NUMBER_CONVERSION_128BIT_INTEGER_ARG (fraction_uint128), /**< mantissa */
974974
int32_t binary_exponent, /**< binary exponent */
975-
int32_t *out_decimal_exp_p) /**< out: decimal exponent */
975+
int32_t *out_decimal_exp_p) /**< [out] decimal exponent */
976976
{
977977
int32_t decimal_exp = 0;
978978

@@ -1043,9 +1043,9 @@ ecma_number_helper_binary_to_decimal (ECMA_NUMBER_CONVERSION_128BIT_INTEGER_ARG
10431043
*/
10441044
void
10451045
ecma_number_to_decimal (ecma_number_t num, /**< ecma-number */
1046-
uint64_t *out_digits_p, /**< out: digits */
1047-
int32_t *out_digits_num_p, /**< out: number of digits */
1048-
int32_t *out_decimal_exp_p) /**< out: decimal exponent */
1046+
uint64_t *out_digits_p, /**< [out] digits */
1047+
int32_t *out_digits_num_p, /**< [out] number of digits */
1048+
int32_t *out_decimal_exp_p) /**< [out] decimal exponent */
10491049
{
10501050
JERRY_ASSERT (!ecma_number_is_nan (num));
10511051
JERRY_ASSERT (!ecma_number_is_zero (num));

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ bool
106106
ecma_get_external_pointer_value (ecma_object_t *obj_p, /**< object to get property value from */
107107
ecma_internal_property_id_t id, /**< identifier of internal property
108108
* to get value from */
109-
ecma_external_pointer_t *out_pointer_p) /**< out: value of the external pointer */
109+
ecma_external_pointer_t *out_pointer_p) /**< [out] value of the external pointer */
110110
{
111111
JERRY_ASSERT (id == ECMA_INTERNAL_PROPERTY_NATIVE_CODE
112112
|| id == ECMA_INTERNAL_PROPERTY_NATIVE_HANDLE

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ ecma_number_pack (bool sign, /**< sign */
6565
*/
6666
static void
6767
ecma_number_unpack (ecma_number_t num, /**< ecma-number */
68-
bool *sign_p, /**< optional out: sign */
69-
uint32_t *biased_exp_p, /**< optional out: biased exponent */
70-
uint64_t *fraction_p) /**< optional out: fraction */
68+
bool *sign_p, /**< [out] sign (optional) */
69+
uint32_t *biased_exp_p, /**< [out] biased exponent (optional) */
70+
uint64_t *fraction_p) /**< [out] fraction (optional) */
7171
{
7272
const uint32_t fraction_pos = 0;
7373
const uint32_t biased_exp_pos = fraction_pos + ECMA_NUMBER_FRACTION_WIDTH;
@@ -152,9 +152,9 @@ ecma_number_pack (bool sign, /**< sign */
152152
*/
153153
static void
154154
ecma_number_unpack (ecma_number_t num, /**< ecma-number */
155-
bool *sign_p, /**< optional out: sign */
156-
uint32_t *biased_exp_p, /**< optional out: biased exponent */
157-
uint64_t *fraction_p) /**< optional out: fraction */
155+
bool *sign_p, /**< [out] sign (optional) */
156+
uint32_t *biased_exp_p, /**< [out] biased exponent (optional) */
157+
uint64_t *fraction_p) /**< [out] fraction (optional) */
158158
{
159159
const uint32_t fraction_pos = 0;
160160
const uint32_t biased_exp_pos = fraction_pos + ECMA_NUMBER_FRACTION_WIDTH;
@@ -364,8 +364,8 @@ ecma_number_is_infinity (ecma_number_t num) /**< ecma-number */
364364
*/
365365
int32_t
366366
ecma_number_get_fraction_and_exponent (ecma_number_t num, /**< ecma-number */
367-
uint64_t *out_fraction_p, /**< out: fraction of the number */
368-
int32_t *out_exponent_p) /**< out: exponent of the number */
367+
uint64_t *out_fraction_p, /**< [out] fraction of the number */
368+
int32_t *out_exponent_p) /**< [out] exponent of the number */
369369
{
370370
JERRY_ASSERT (!ecma_number_is_nan (num));
371371

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ ecma_string_to_number (const ecma_string_t *str_p) /**< ecma-string */
609609
*/
610610
bool
611611
ecma_string_get_array_index (const ecma_string_t *str_p, /**< ecma-string */
612-
uint32_t *out_index_p) /**< out: index */
612+
uint32_t *out_index_p) /**< [out] index */
613613
{
614614
bool is_array_index = true;
615615
if (str_p->container == ECMA_STRING_CONTAINER_UINT32_IN_DESC)
@@ -1302,7 +1302,7 @@ ecma_get_magic_string_ex (lit_magic_string_ex_id_t id) /**< external magic strin
13021302
*/
13031303
static bool
13041304
ecma_is_string_magic_longpath (const ecma_string_t *string_p, /**< ecma-string */
1305-
lit_magic_string_id_t *out_id_p) /**< out: magic string's id */
1305+
lit_magic_string_id_t *out_id_p) /**< [out] magic string's id */
13061306
{
13071307
lit_utf8_byte_t utf8_string_buffer[LIT_MAGIC_STRING_LENGTH_LIMIT];
13081308

@@ -1323,7 +1323,7 @@ ecma_is_string_magic_longpath (const ecma_string_t *string_p, /**< ecma-string *
13231323
*/
13241324
static bool
13251325
ecma_is_ex_string_magic_longpath (const ecma_string_t *string_p, /**< ecma-string */
1326-
lit_magic_string_ex_id_t *out_id_p) /**< out: external magic string's id */
1326+
lit_magic_string_ex_id_t *out_id_p) /**< [out] external magic string's id */
13271327
{
13281328
lit_utf8_byte_t utf8_string_buffer[LIT_MAGIC_STRING_LENGTH_LIMIT];
13291329

@@ -1342,7 +1342,7 @@ ecma_is_ex_string_magic_longpath (const ecma_string_t *string_p, /**< ecma-strin
13421342
*/
13431343
bool
13441344
ecma_is_string_magic (const ecma_string_t *string_p, /**< ecma-string */
1345-
lit_magic_string_id_t *out_id_p) /**< out: magic string's id */
1345+
lit_magic_string_id_t *out_id_p) /**< [out] magic string's id */
13461346
{
13471347
if (string_p->container == ECMA_STRING_CONTAINER_MAGIC_STRING)
13481348
{
@@ -1375,7 +1375,7 @@ ecma_is_string_magic (const ecma_string_t *string_p, /**< ecma-string */
13751375
*/
13761376
bool
13771377
ecma_is_ex_string_magic (const ecma_string_t *string_p, /**< ecma-string */
1378-
lit_magic_string_ex_id_t *out_id_p) /**< out: external magic string's id */
1378+
lit_magic_string_ex_id_t *out_id_p) /**< [out] external magic string's id */
13791379
{
13801380
if (string_p->container == ECMA_STRING_CONTAINER_MAGIC_STRING_EX)
13811381
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ ecma_lcache_insert (ecma_object_t *object_p, /**< object */
236236
bool __attr_always_inline___
237237
ecma_lcache_lookup (ecma_object_t *object_p, /**< object */
238238
const ecma_string_t *prop_name_p, /**< property's name */
239-
ecma_property_t **prop_p_p) /**< out: if return value is true,
239+
ecma_property_t **prop_p_p) /**< [out] if return value is true,
240240
* then here will be pointer to property,
241241
* if the object contains property with specified name,
242242
* or, otherwise - NULL;
243-
* if return value is false,
243+
* if return value is false,
244244
* then the output parameter is not set */
245245
{
246246
#ifndef CONFIG_ECMA_LCACHE_DISABLE

jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ ecma_date_set_internal_property (ecma_value_t this_arg, /**< this argument */
925925
* Insert leading zeros to a string of a number if needed.
926926
*/
927927
void
928-
ecma_date_insert_leading_zeros (ecma_string_t **str_p, /**< input/output string */
928+
ecma_date_insert_leading_zeros (ecma_string_t **str_p, /**< [in,out] ecma string */
929929
ecma_number_t num, /**< input number */
930930
uint32_t length) /**< length of string of number */
931931
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ ecma_builtin_helper_array_index_normalize (ecma_number_t index, /**< index */
328328
*/
329329
ecma_value_t
330330
ecma_builtin_helper_array_concat_value (ecma_object_t *obj_p, /**< array */
331-
uint32_t *length_p, /**< in-out: array's length */
331+
uint32_t *length_p, /**< [in,out] array's length */
332332
ecma_value_t value) /**< value to concat */
333333
{
334334
ecma_value_t ret_value = ecma_make_simple_value (ECMA_SIMPLE_VALUE_EMPTY);

jerry-core/ecma/operations/ecma-conversion.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ ecma_op_from_property_descriptor (const ecma_property_descriptor_t *src_prop_des
567567
*/
568568
ecma_value_t
569569
ecma_op_to_property_descriptor (ecma_value_t obj_value, /**< object value */
570-
ecma_property_descriptor_t *out_prop_desc_p) /**< out: filled property descriptor
570+
ecma_property_descriptor_t *out_prop_desc_p) /**< [out] filled property descriptor
571571
if return value is normal
572572
empty completion value */
573573
{

jerry-core/ecma/operations/ecma-regexp-object.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
*/
6666
ecma_value_t
6767
re_parse_regexp_flags (ecma_string_t *flags_str_p, /**< Input string with flags */
68-
uint16_t *flags_p) /**< Output: parsed flag bits */
68+
uint16_t *flags_p) /**< [out] parsed flag bits */
6969
{
7070
ecma_value_t ret_value = ecma_make_simple_value (ECMA_SIMPLE_VALUE_EMPTY);
7171

@@ -374,7 +374,7 @@ static ecma_value_t
374374
re_match_regexp (re_matcher_ctx_t *re_ctx_p, /**< RegExp matcher context */
375375
uint8_t *bc_p, /**< pointer to the current RegExp bytecode */
376376
lit_utf8_byte_t *str_p, /**< input string pointer */
377-
lit_utf8_byte_t **out_str_p) /**< Output: matching substring iterator */
377+
lit_utf8_byte_t **out_str_p) /**< [out] matching substring iterator */
378378
{
379379
ecma_value_t ret_value = ecma_make_simple_value (ECMA_SIMPLE_VALUE_EMPTY);
380380
re_opcode_t op;

jerry-core/jerry.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ jerry_api_create_string_value (jerry_api_string_t *value) /**< jerry_api_string_
372372
* just when it becomes unnecessary.
373373
*/
374374
static void
375-
jerry_api_convert_ecma_value_to_api_value (jerry_api_value_t *out_value_p, /**< out: api value */
375+
jerry_api_convert_ecma_value_to_api_value (jerry_api_value_t *out_value_p, /**< [out] api value */
376376
ecma_value_t value) /**< ecma value (undefined,
377377
* null, boolean, number,
378378
* string or object */
@@ -435,7 +435,7 @@ jerry_api_convert_ecma_value_to_api_value (jerry_api_value_t *out_value_p, /**<
435435
* the output ecma value should be freed with ecma_free_value when it becomes unnecessary.
436436
*/
437437
static void
438-
jerry_api_convert_api_value_to_ecma_value (ecma_value_t *out_value_p, /**< out: ecma value */
438+
jerry_api_convert_api_value_to_ecma_value (ecma_value_t *out_value_p, /**< [out] ecma value */
439439
const jerry_api_value_t *api_value_p) /**< value in Jerry API format */
440440
{
441441
switch (api_value_p->type)
@@ -521,7 +521,7 @@ jerry_api_convert_api_value_to_ecma_value (ecma_value_t *out_value_p, /**< out:
521521
* @return completion code
522522
*/
523523
static jerry_completion_code_t
524-
jerry_api_convert_eval_completion_to_retval (jerry_api_value_t *retval_p, /**< out: api value */
524+
jerry_api_convert_eval_completion_to_retval (jerry_api_value_t *retval_p, /**< [out] api value */
525525
ecma_value_t completion) /**< completion of 'eval'-mode
526526
* code execution */
527527
{
@@ -559,7 +559,7 @@ jerry_api_convert_eval_completion_to_retval (jerry_api_value_t *retval_p, /**< o
559559
*/
560560
ssize_t
561561
jerry_api_string_to_char_buffer (const jerry_api_string_t *string_p, /**< string descriptor */
562-
jerry_api_char_t *buffer_p, /**< output characters buffer */
562+
jerry_api_char_t *buffer_p, /**< [out] output characters buffer */
563563
ssize_t buffer_size) /**< size of output buffer */
564564
{
565565
jerry_assert_api_available ();
@@ -1117,7 +1117,7 @@ jerry_api_delete_object_field (jerry_api_object_t *object_p, /**< object to dele
11171117
*/
11181118
bool jerry_api_get_object_field_value (jerry_api_object_t *object_p, /**< object */
11191119
const jerry_api_char_t *field_name_p, /**< field name */
1120-
jerry_api_value_t *field_value_p) /**< out: field value */
1120+
jerry_api_value_t *field_value_p) /**< [out] field value */
11211121
{
11221122
return jerry_api_get_object_field_value_sz (object_p,
11231123
field_name_p,
@@ -1197,7 +1197,7 @@ bool
11971197
jerry_api_get_object_field_value_sz (jerry_api_object_t *object_p, /**< object */
11981198
const jerry_api_char_t *field_name_p, /**< name of the field */
11991199
jerry_api_size_t field_name_size, /**< size of field name in bytes */
1200-
jerry_api_value_t *field_value_p) /**< out: field value, if retrieved
1200+
jerry_api_value_t *field_value_p) /**< [out] field value, if retrieved
12011201
* successfully */
12021202
{
12031203
jerry_assert_api_available ();
@@ -1293,7 +1293,7 @@ jerry_api_set_object_field_value_sz (jerry_api_object_t *object_p, /**< object *
12931293
*/
12941294
bool
12951295
jerry_api_get_object_native_handle (jerry_api_object_t *object_p, /**< object to get handle from */
1296-
uintptr_t *out_handle_p) /**< out: handle value */
1296+
uintptr_t *out_handle_p) /**< [out] handle value */
12971297
{
12981298
jerry_assert_api_available ();
12991299

@@ -1454,7 +1454,7 @@ jerry_api_invoke_function (bool is_invoke_as_constructor, /**< true - invoke fun
14541454
* Construct new TypeError object
14551455
*/
14561456
static void
1457-
jerry_api_construct_type_error (jerry_api_value_t *retval_p) /**< out: value with constructed
1457+
jerry_api_construct_type_error (jerry_api_value_t *retval_p) /**< [out] value with constructed
14581458
* TypeError object */
14591459
{
14601460
ecma_object_t *type_error_obj_p = ecma_new_standard_error (ECMA_ERROR_TYPE);
@@ -1578,7 +1578,7 @@ jerry_api_eval (const jerry_api_char_t *source_p, /**< source code */
15781578
size_t source_size, /**< length of source code */
15791579
bool is_direct, /**< perform eval invocation in direct mode */
15801580
bool is_strict, /**< perform eval as it is called from strict mode code */
1581-
jerry_api_value_t *retval_p) /**< out: returned value */
1581+
jerry_api_value_t *retval_p) /**< [out] returned value */
15821582
{
15831583
jerry_assert_api_available ();
15841584

@@ -1665,9 +1665,9 @@ jerry_cleanup (void)
16651665
* Get Jerry configured memory limits
16661666
*/
16671667
void
1668-
jerry_get_memory_limits (size_t *out_data_bss_brk_limit_p, /**< out: Jerry's maximum usage of
1668+
jerry_get_memory_limits (size_t *out_data_bss_brk_limit_p, /**< [out] Jerry's maximum usage of
16691669
* data + bss + brk sections */
1670-
size_t *out_stack_limit_p) /**< out: Jerry's maximum usage of stack */
1670+
size_t *out_stack_limit_p) /**< [out] Jerry's maximum usage of stack */
16711671
{
16721672
*out_data_bss_brk_limit_p = CONFIG_MEM_HEAP_AREA_SIZE + CONFIG_MEM_DATA_LIMIT_MINUS_HEAP_SIZE;
16731673
*out_stack_limit_p = CONFIG_MEM_STACK_LIMIT;
@@ -2286,7 +2286,7 @@ jerry_exec_snapshot (const void *snapshot_p, /**< snapshot */
22862286
* buffer could be freed after the call).
22872287
* Otherwise (if the flag is not set) - the buffer could only be
22882288
* freed after the engine stops (i.e. after call to jerry_cleanup). */
2289-
jerry_api_value_t *retval_p) /**< out: returned value (ECMA-262 'undefined' if
2289+
jerry_api_value_t *retval_p) /**< [out] returned value (ECMA-262 'undefined' if
22902290
* code is executed as global scope code) */
22912291
{
22922292
jerry_api_convert_ecma_value_to_api_value (retval_p, ecma_make_simple_value (ECMA_SIMPLE_VALUE_UNDEFINED));

0 commit comments

Comments
 (0)