Home
last modified time | relevance | path

Searched refs:arguments_number (Results 1 – 16 of 16) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-function-prototype.c180 … ecma_length_t arguments_number) /**< number of arguments */ in ecma_builtin_function_prototype_object_call() argument
182 if (arguments_number == 0) in ecma_builtin_function_prototype_object_call()
194 (ecma_length_t) (arguments_number - 1u)); in ecma_builtin_function_prototype_object_call()
209 … ecma_length_t arguments_number) /**< number of arguments */ in ecma_builtin_function_prototype_object_bind() argument
249 if (arguments_number == 0 in ecma_builtin_function_prototype_object_bind()
250 || (arguments_number == 1 && !ecma_is_value_integer_number (arguments_list_p[0]))) in ecma_builtin_function_prototype_object_bind()
264 if (arguments_number != 0) in ecma_builtin_function_prototype_object_bind()
271 JERRY_ASSERT (arguments_number > 0); in ecma_builtin_function_prototype_object_bind()
273 size_t obj_size = sizeof (ecma_bound_function_t) + (arguments_number * sizeof (ecma_value_t)); in ecma_builtin_function_prototype_object_bind()
290 for (ecma_length_t i = 0; i < arguments_number; i++) in ecma_builtin_function_prototype_object_bind()
[all …]
Decma-builtin-reflect.c85 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_reflect_dispatch_routine() argument
88 JERRY_UNUSED (arguments_number); in ecma_builtin_reflect_dispatch_routine()
93 if (arguments_number == 0 || !ecma_is_value_object (arguments_list[0])) in ecma_builtin_reflect_dispatch_routine()
99 ecma_string_t *name_str_p = ecma_op_to_prop_name (((arguments_number > 1) ? arguments_list[1] in ecma_builtin_reflect_dispatch_routine()
117 if (arguments_number > 2) in ecma_builtin_reflect_dispatch_routine()
144 if (arguments_number > 3) in ecma_builtin_reflect_dispatch_routine()
161 if (arguments_number == 0 || !ecma_is_value_object (arguments_list[0])) in ecma_builtin_reflect_dispatch_routine()
175 if (arguments_number < 1 || !ecma_is_constructor (arguments_list[0])) in ecma_builtin_reflect_dispatch_routine()
185 if (arguments_number > 2) in ecma_builtin_reflect_dispatch_routine()
197 if (arguments_number < 2) in ecma_builtin_reflect_dispatch_routine()
Decma-builtin-dataview-prototype.c145 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_dataview_prototype_dispatch_routine() argument
147 ecma_value_t byte_offset = arguments_number > 0 ? arguments_list_p[0] : ECMA_VALUE_UNDEFINED; in ecma_builtin_dataview_prototype_dispatch_routine()
166 ecma_value_t little_endian = arguments_number > 1 ? arguments_list_p[1] : ECMA_VALUE_FALSE; in ecma_builtin_dataview_prototype_dispatch_routine()
180 ecma_value_t value_to_set = arguments_number > 1 ? arguments_list_p[1] : ECMA_VALUE_UNDEFINED; in ecma_builtin_dataview_prototype_dispatch_routine()
181 ecma_value_t little_endian = arguments_number > 2 ? arguments_list_p[2] : ECMA_VALUE_FALSE; in ecma_builtin_dataview_prototype_dispatch_routine()
197 ecma_value_t value_to_set = arguments_number > 1 ? arguments_list_p[1] : ECMA_VALUE_UNDEFINED; in ecma_builtin_dataview_prototype_dispatch_routine()
Decma-builtin-date-prototype.c350 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_date_prototype_dispatch_set() argument
397 if (conversions > arguments_number) in ecma_builtin_date_prototype_dispatch_set()
399 conversions = arguments_number; in ecma_builtin_date_prototype_dispatch_set()
601 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_date_prototype_dispatch_routine() argument
611 ecma_value_t argument = arguments_number > 0 ? arguments_list[0] : ECMA_VALUE_UNDEFINED; in ecma_builtin_date_prototype_dispatch_routine()
663 arguments_number); in ecma_builtin_date_prototype_dispatch_routine()
Decma-builtin-math.c343 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_math_dispatch_routine() argument
352 if (arguments_number >= 1) in ecma_builtin_math_dispatch_routine()
374 && arguments_number >= 2) in ecma_builtin_math_dispatch_routine()
607 arguments_number); in ecma_builtin_math_dispatch_routine()
613 return ecma_builtin_math_object_hypot (arguments_list, arguments_number); in ecma_builtin_math_dispatch_routine()
Decma-builtin-intrinsic.c95 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_intrinsic_dispatch_routine() argument
97 JERRY_UNUSED (arguments_number); in ecma_builtin_intrinsic_dispatch_routine()
Decma-builtin-array-prototype.c474 … ecma_length_t arguments_number, /**< number of arguments */ in ecma_builtin_array_prototype_object_push() argument
487 if ((ecma_number_t) (length + arguments_number) > UINT32_MAX) in ecma_builtin_array_prototype_object_push()
492 if (arguments_number == 0) in ecma_builtin_array_prototype_object_push()
497 uint32_t new_length = length + arguments_number; in ecma_builtin_array_prototype_object_push()
501 for (uint32_t index = 0; index < arguments_number; index++) in ecma_builtin_array_prototype_object_push()
506 ext_obj_p->u.array.u.hole_count -= ECMA_FAST_ARRAY_HOLE_ONE * arguments_number; in ecma_builtin_array_prototype_object_push()
512 for (uint32_t index = 0; index < arguments_number; index++, n++) in ecma_builtin_array_prototype_object_push()
2603 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_array_prototype_dispatch_routine() argument
2626 arguments_number, in ecma_builtin_array_prototype_dispatch_routine()
2688 arguments_number, in ecma_builtin_array_prototype_dispatch_routine()
[all …]
Decma-builtin-object-prototype.c239 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_object_prototype_dispatch_routine() argument
241 JERRY_UNUSED (arguments_number); in ecma_builtin_object_prototype_dispatch_routine()
Decma-builtin-internal-routines-template.inc.h239 ecma_length_t arguments_number) /**< length of in DISPATCH_ROUTINE_ROUTINE_NAME() argument
245 JERRY_UNUSED (arguments_number); in DISPATCH_ROUTINE_ROUTINE_NAME()
254 #define ROUTINE_ARG_LIST_NON_FIXED , arguments_list, arguments_number in DISPATCH_ROUTINE_ROUTINE_NAME()
Decma-builtin-object.c1089 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_object_dispatch_routine() argument
1093 JERRY_UNUSED (arguments_number); in ecma_builtin_object_dispatch_routine()
1188 … result = ecma_builtin_object_object_assign (obj_p, arguments_list_p + 1, arguments_number - 1); in ecma_builtin_object_dispatch_routine()
Decma-builtin-string-prototype.c209 … ecma_length_t arguments_number) /**< number of arguments */ in ecma_builtin_string_prototype_object_concat() argument
214 for (uint32_t arg_index = 0; arg_index < arguments_number; ++arg_index) in ecma_builtin_string_prototype_object_concat()
1330 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_string_prototype_dispatch_routine() argument
1375 …value = ecma_builtin_string_prototype_object_concat (string_p, arguments_list_p, arguments_number); in ecma_builtin_string_prototype_dispatch_routine()
Decma-builtin-global.c782 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_global_dispatch_routine() argument
786 JERRY_UNUSED (arguments_number); in ecma_builtin_global_dispatch_routine()
Decma-builtin-number-prototype.c980 … ecma_length_t arguments_number) /**< length of arguments' list */ in ecma_builtin_number_prototype_dispatch_routine() argument
1002 …ma_builtin_number_prototype_object_to_string (this_arg_number, arguments_list_p, arguments_number); in ecma_builtin_number_prototype_dispatch_routine()
Decma-builtins.c49 ecma_length_t arguments_number);
54 ecma_length_t arguments_number);
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-objects-arguments.c47 ecma_length_t arguments_number, /**< length of arguments list */ in ecma_op_create_arguments_object() argument
72 && arguments_number > 0 in ecma_op_create_arguments_object()
118 index < arguments_number; in ecma_op_create_arguments_object()
139 prop_value_p->value = ecma_make_uint32_value (arguments_number); in ecma_op_create_arguments_object()
Decma-objects-arguments.h24 … const ecma_value_t *arguments_list_p, ecma_length_t arguments_number,