Searched refs:ecma_op_to_integer (Results 1 – 15 of 15) sorted by relevance
/third_party/jerryscript/tests/unit-core/ |
D | test-to-integer.cpp | 73 ecma_number_t result = ecma_op_to_integer (int_num, &num); 83 result = ecma_op_to_integer (error, &num); 92 result = ecma_op_to_integer (nan, &num); 103 result = ecma_op_to_integer (negative_zero, &num); 113 result = ecma_op_to_integer (positive_zero, &num); 123 result = ecma_op_to_integer (negative_infinity, &num); 133 result = ecma_op_to_integer (positive_infinity, &num); 143 result = ecma_op_to_integer (floor, &num); 152 result = ecma_op_to_integer (floor2, &num);
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-string-prototype.c | 155 ecma_value_t to_num_result = ecma_op_to_integer (arg, &index_num); in ecma_builtin_string_prototype_char_at_helper() 947 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arg1, &start_num))) in ecma_builtin_string_prototype_object_substring() 965 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arg2, &end_num))) in ecma_builtin_string_prototype_object_substring() 1134 ecma_value_t count_value = ecma_op_to_integer (repeat, &count_number); in ecma_builtin_string_prototype_object_repeat() 1195 ecma_value_t error = ecma_op_to_integer (pos, &pos_num); in ecma_builtin_string_prototype_object_code_point_at() 1252 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (start, &start_num))) in ecma_builtin_string_prototype_object_substr() 1264 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (length, &len))) in ecma_builtin_string_prototype_object_substr()
|
D | ecma-builtin-number.c | 178 ecma_op_to_integer (arg, &int_num); in ecma_builtin_number_object_is_integer()
|
D | ecma-builtin-number-prototype.c | 265 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arguments_list_p[0], &arg_num))) in ecma_builtin_number_prototype_object_to_string() 595 arg_1 = ecma_op_to_integer (arg_1, &arg_num); in ecma_builtin_number_prepare_conversion()
|
D | ecma-builtin-string.c | 306 ecma_value_t to_int_value = ecma_op_to_integer (to_number_value, &to_int_num); in ecma_builtin_string_object_from_code_point()
|
D | ecma-builtin-helpers.c | 342 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arg, &to_int))) in ecma_builtin_helper_array_index_normalize() 555 ret_value = ecma_op_to_integer (arg2, &pos_num); in ecma_builtin_helper_string_prototype_object_index_of()
|
D | ecma-builtin-function-prototype.c | 343 ecma_op_to_integer (len_value, &len_num); in ecma_builtin_function_prototype_object_bind()
|
D | ecma-builtin-array-prototype.c | 1312 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (args[1], &delete_num))) in ecma_builtin_array_prototype_object_splice() 1658 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (args[1], &idx))) in ecma_builtin_array_prototype_object_index_of() 1763 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (args[1], &idx))) in ecma_builtin_array_prototype_object_last_index_of()
|
D | ecma-builtin-json.c | 1533 ecma_op_to_integer (space, &num_of_spaces); in ecma_builtin_json_stringify()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-dataview-object.c | 78 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arguments_list_p[1], &offset_num))) in ecma_op_dataview_create() 252 ecma_value_t number_index_value = ecma_op_to_integer (request_index, &number_index); in ecma_op_dataview_get_set_view_value()
|
D | ecma-conversion.h | 52 ecma_value_t ecma_op_to_integer (ecma_value_t value, ecma_number_t *number_p);
|
D | ecma-conversion.c | 870 ecma_op_to_integer (ecma_value_t value, /**< ecma value */ in ecma_op_to_integer() function 931 ecma_value_t length_num = ecma_op_to_integer (value, &num); in ecma_op_to_length()
|
D | ecma-typedarray-object.c | 1144 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arg2, &offset))) in ecma_op_create_typedarray()
|
D | ecma-regexp-object.c | 1700 ret_value = ecma_op_to_integer (lastindex_value, &lastindex_num); in ecma_regexp_exec_helper() 3025 result = ecma_op_to_integer (index_value, &position_num); in ecma_regexp_replace_helper()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/ |
D | ecma-builtin-typedarray-prototype.c | 841 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (offset_val, &target_offset_num))) in ecma_op_typedarray_set_with_typedarray() 940 ecma_value_t ret_val = ecma_op_to_integer (offset_val, &target_offset_num); in ecma_builtin_typedarray_prototype_set() 1735 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (args[1], &num_var))) in ecma_builtin_typedarray_prototype_index_of() 1815 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (args[1], &num_var))) in ecma_builtin_typedarray_prototype_last_index_of()
|