/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/ |
D | ecma-builtin-typedarray.c | 60 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 …]
|
D | ecma-builtin-uint8clampedarray.c | 52 … 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()
|
D | ecma-builtin-uint32array.c | 52 … 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()
|
D | ecma-builtin-int32array.c | 52 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()
|
D | ecma-builtin-int16array.c | 52 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()
|
D | ecma-builtin-uint8array.c | 52 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()
|
D | ecma-builtin-uint16array.c | 52 … 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/ |
D | ecma-builtin-boolean.c | 54 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()
|
D | ecma-builtin-proxy.c | 79 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() 104 … arguments_list_len > 1 ? arguments_list_p[1] : ECMA_VALUE_UNDEFINED); in ecma_builtin_proxy_dispatch_construct()
|
D | ecma-builtin-array.c | 81 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 …]
|
D | ecma-builtin-generator-function.c | 46 … 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()
|
D | ecma-builtin-type-error-thrower.c | 54 … 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()
|
D | ecma-builtin-function.c | 55 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()
|
D | ecma-builtin-arraybuffer.c | 79 … 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()
|
D | ecma-builtin-regexp.c | 48 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()
|
D | ecma-builtin-number.c | 56 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()
|
D | ecma-builtin-error.c | 52 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()
|
D | ecma-builtin-referenceerror.c | 54 … 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()
|
D | ecma-builtin-typeerror.c | 54 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()
|
D | ecma-builtin-evalerror.c | 54 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()
|
D | ecma-builtin-urierror.c | 54 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()
|
D | ecma-builtin-rangeerror.c | 54 … 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()
|
D | ecma-builtin-syntaxerror.c | 54 … 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()
|
D | ecma-builtin-dataview.c | 46 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/ |
D | ecma-function-object.c | 169 … 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() 303 … arguments_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 …]
|