Home
last modified time | relevance | path

Searched refs:arguments_list_len (Results 1 – 25 of 65) sorted by relevance

123

/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray.c60 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_typedarray_from() argument
62 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_typedarray_from()
73 if (arguments_list_len == 0) in ecma_builtin_typedarray_from()
80 if (arguments_list_len > 1) in ecma_builtin_typedarray_from()
89 if (arguments_list_len > 2) in ecma_builtin_typedarray_from()
129 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_typedarray_of() argument
149 ecma_value_t ret_val = ecma_typedarray_create_object_with_length (arguments_list_len, in ecma_builtin_typedarray_of()
165 while (k < arguments_list_len) in ecma_builtin_typedarray_of()
195 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_typedarray_dispatch_call() argument
197 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_typedarray_dispatch_call()
[all …]
Decma-builtin-uint8clampedarray.c52 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint8clampedarray_dispatch_call() argument
54 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_uint8clampedarray_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint8clampedarray_dispatch_construct() argument
68 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_uint8clampedarray_dispatch_construct()
70 return ecma_typedarray_helper_dispatch_construct (arguments_list_p, arguments_list_len, in ecma_builtin_uint8clampedarray_dispatch_construct()
Decma-builtin-uint32array.c52 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint32array_dispatch_call() argument
54 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_uint32array_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint32array_dispatch_construct() argument
68 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_uint32array_dispatch_construct()
70 return ecma_typedarray_helper_dispatch_construct (arguments_list_p, arguments_list_len, in ecma_builtin_uint32array_dispatch_construct()
Decma-builtin-int32array.c52 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_int32array_dispatch_call() argument
54 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_int32array_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_int32array_dispatch_construct() argument
68 return ecma_typedarray_helper_dispatch_construct (arguments_list_p, arguments_list_len, in ecma_builtin_int32array_dispatch_construct()
Decma-builtin-int16array.c52 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_int16array_dispatch_call() argument
54 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_int16array_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_int16array_dispatch_construct() argument
68 return ecma_typedarray_helper_dispatch_construct (arguments_list_p, arguments_list_len, in ecma_builtin_int16array_dispatch_construct()
Decma-builtin-uint8array.c52 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint8array_dispatch_call() argument
54 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_uint8array_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint8array_dispatch_construct() argument
68 return ecma_typedarray_helper_dispatch_construct (arguments_list_p, arguments_list_len, in ecma_builtin_uint8array_dispatch_construct()
Decma-builtin-uint16array.c52 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint16array_dispatch_call() argument
54 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_uint16array_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uint16array_dispatch_construct() argument
68 return ecma_typedarray_helper_dispatch_construct (arguments_list_p, arguments_list_len, in ecma_builtin_uint16array_dispatch_construct()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-boolean.c54 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_boolean_dispatch_call() argument
56 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_boolean_dispatch_call()
60 if (arguments_list_len == 0) in ecma_builtin_boolean_dispatch_call()
79 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_boolean_dispatch_construct() argument
81 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_boolean_dispatch_construct()
83 if (arguments_list_len == 0) in ecma_builtin_boolean_dispatch_construct()
Decma-builtin-proxy.c79 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_proxy_dispatch_call() argument
81 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_proxy_dispatch_call()
98 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_proxy_dispatch_construct() argument
100 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_proxy_dispatch_construct()
103 …ecma_object_t *proxy_p = ecma_proxy_create (arguments_list_len > 0 ? arguments_list_p[0] : ECMA_VA… in ecma_builtin_proxy_dispatch_construct()
104arguments_list_len > 1 ? arguments_list_p[1] : ECMA_VALUE_UNDEFINED); in ecma_builtin_proxy_dispatch_construct()
Decma-builtin-array.c81 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_array_object_from() argument
87 ecma_value_t mapfn = (arguments_list_len > 1) ? arguments_list_p[1] : ECMA_VALUE_UNDEFINED; in ecma_builtin_array_object_from()
102 if (arguments_list_len > 2) in ecma_builtin_array_object_from()
408 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_array_object_of() argument
412 return ecma_op_create_array_object (arguments_list_p, arguments_list_len, false); in ecma_builtin_array_object_of()
415 ecma_value_t len = ecma_make_uint32_value (arguments_list_len); in ecma_builtin_array_object_of()
432 while (k < arguments_list_len) in ecma_builtin_array_object_of()
485 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_array_dispatch_call() argument
487 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_array_dispatch_call()
489 return ecma_op_create_array_object (arguments_list_p, arguments_list_len, true); in ecma_builtin_array_dispatch_call()
[all …]
Decma-builtin-generator-function.c46 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_generator_function_dispatch_call() argument
48 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_generator_function_dispatch_call()
50 …return ecma_op_create_dynamic_function (arguments_list_p, arguments_list_len, ECMA_PARSE_GENERATOR… in ecma_builtin_generator_function_dispatch_call()
61 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_generator_function_dispatch_construct() argument
63 return ecma_builtin_generator_function_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_generator_function_dispatch_construct()
Decma-builtin-type-error-thrower.c54 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_type_error_thrower_dispatch_call() argument
56 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_type_error_thrower_dispatch_call()
72 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_type_error_thrower_dispatch_construct() argument
74 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_type_error_thrower_dispatch_construct()
76 return ecma_builtin_type_error_thrower_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_type_error_thrower_dispatch_construct()
Decma-builtin-function.c55 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_function_dispatch_call() argument
57 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_function_dispatch_call()
59 return ecma_builtin_function_dispatch_construct (arguments_list_p, arguments_list_len); in ecma_builtin_function_dispatch_call()
72 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_function_dispatch_construct() argument
74 return ecma_op_create_dynamic_function (arguments_list_p, arguments_list_len, ECMA_PARSE_NO_OPTS); in ecma_builtin_function_dispatch_construct()
Decma-builtin-arraybuffer.c79 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_arraybuffer_dispatch_call() argument
81 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_arraybuffer_dispatch_call()
93 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_arraybuffer_dispatch_construct() argument
95 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_arraybuffer_dispatch_construct()
97 return ecma_op_create_arraybuffer_object (arguments_list_p, arguments_list_len); in ecma_builtin_arraybuffer_dispatch_construct()
Decma-builtin-regexp.c48 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_regexp_dispatch_helper() argument
60 if (arguments_list_len > 0) in ecma_builtin_regexp_dispatch_helper()
65 if (arguments_list_len > 1) in ecma_builtin_regexp_dispatch_helper()
202 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_regexp_dispatch_call() argument
205 arguments_list_len); in ecma_builtin_regexp_dispatch_call()
216 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_regexp_dispatch_construct() argument
219 arguments_list_len); in ecma_builtin_regexp_dispatch_construct()
Decma-builtin-number.c56 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_number_dispatch_call() argument
58 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_number_dispatch_call()
62 if (arguments_list_len == 0) in ecma_builtin_number_dispatch_call()
81 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_number_dispatch_construct() argument
83 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_number_dispatch_construct()
85 if (arguments_list_len == 0) in ecma_builtin_number_dispatch_construct()
Decma-builtin-error.c52 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_error_dispatch_call() argument
54 … ecma_builtin_helper_error_dispatch_call (ECMA_ERROR_COMMON, arguments_list_p, arguments_list_len); in ecma_builtin_error_dispatch_call()
64 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_error_dispatch_construct() argument
66 return ecma_builtin_error_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_error_dispatch_construct()
Decma-builtin-referenceerror.c54 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_reference_error_dispatch_call() argument
56 …ma_builtin_helper_error_dispatch_call (ECMA_ERROR_REFERENCE, arguments_list_p, arguments_list_len); in ecma_builtin_reference_error_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_reference_error_dispatch_construct() argument
68 return ecma_builtin_reference_error_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_reference_error_dispatch_construct()
Decma-builtin-typeerror.c54 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_type_error_dispatch_call() argument
56 …rn ecma_builtin_helper_error_dispatch_call (ECMA_ERROR_TYPE, arguments_list_p, arguments_list_len); in ecma_builtin_type_error_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_type_error_dispatch_construct() argument
68 return ecma_builtin_type_error_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_type_error_dispatch_construct()
Decma-builtin-evalerror.c54 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_eval_error_dispatch_call() argument
56 …rn ecma_builtin_helper_error_dispatch_call (ECMA_ERROR_EVAL, arguments_list_p, arguments_list_len); in ecma_builtin_eval_error_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_eval_error_dispatch_construct() argument
68 return ecma_builtin_eval_error_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_eval_error_dispatch_construct()
Decma-builtin-urierror.c54 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uri_error_dispatch_call() argument
56 …urn ecma_builtin_helper_error_dispatch_call (ECMA_ERROR_URI, arguments_list_p, arguments_list_len); in ecma_builtin_uri_error_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_uri_error_dispatch_construct() argument
68 return ecma_builtin_uri_error_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_uri_error_dispatch_construct()
Decma-builtin-rangeerror.c54 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_range_error_dispatch_call() argument
56 …n ecma_builtin_helper_error_dispatch_call (ECMA_ERROR_RANGE, arguments_list_p, arguments_list_len); in ecma_builtin_range_error_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_range_error_dispatch_construct() argument
68 return ecma_builtin_range_error_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_range_error_dispatch_construct()
Decma-builtin-syntaxerror.c54 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_syntax_error_dispatch_call() argument
56 … ecma_builtin_helper_error_dispatch_call (ECMA_ERROR_SYNTAX, arguments_list_p, arguments_list_len); in ecma_builtin_syntax_error_dispatch_call()
66 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_syntax_error_dispatch_construct() argument
68 return ecma_builtin_syntax_error_dispatch_call (arguments_list_p, arguments_list_len); in ecma_builtin_syntax_error_dispatch_construct()
Decma-builtin-dataview.c46 ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_dataview_dispatch_call() argument
48 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_builtin_dataview_dispatch_call()
60 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_builtin_dataview_dispatch_construct() argument
62 return ecma_op_dataview_create (arguments_list_p, arguments_list_len); in ecma_builtin_dataview_dispatch_construct()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-function-object.c169 … ecma_length_t arguments_list_len) /**< number of arguments */ in ecma_op_create_dynamic_function_arguments_helper() argument
171 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_op_create_dynamic_function_arguments_helper()
173 if (arguments_list_len <= 1) in ecma_op_create_dynamic_function_arguments_helper()
185 if (arguments_list_len == 2) in ecma_op_create_dynamic_function_arguments_helper()
193 for (ecma_length_t idx = 1; idx < arguments_list_len - 1; idx++) in ecma_op_create_dynamic_function_arguments_helper()
297 ecma_length_t arguments_list_len, /**< number of arguments */ in ecma_op_create_dynamic_function() argument
300 JERRY_ASSERT (arguments_list_len == 0 || arguments_list_p != NULL); in ecma_op_create_dynamic_function()
303arguments_list_len); in ecma_op_create_dynamic_function()
312 if (arguments_list_len > 0) in ecma_op_create_dynamic_function()
314 function_body_str_p = ecma_op_to_string (arguments_list_p[arguments_list_len - 1]); in ecma_op_create_dynamic_function()
[all …]

123