Home
last modified time | relevance | path

Searched refs:ecma_op_to_integer (Results 1 – 15 of 15) sorted by relevance

/third_party/jerryscript/tests/unit-core/
Dtest-to-integer.cpp73 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/
Decma-builtin-string-prototype.c155 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()
Decma-builtin-number.c178 ecma_op_to_integer (arg, &int_num); in ecma_builtin_number_object_is_integer()
Decma-builtin-number-prototype.c265 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()
Decma-builtin-string.c306 ecma_value_t to_int_value = ecma_op_to_integer (to_number_value, &to_int_num); in ecma_builtin_string_object_from_code_point()
Decma-builtin-helpers.c342 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()
Decma-builtin-function-prototype.c343 ecma_op_to_integer (len_value, &len_num); in ecma_builtin_function_prototype_object_bind()
Decma-builtin-array-prototype.c1312 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()
Decma-builtin-json.c1533 ecma_op_to_integer (space, &num_of_spaces); in ecma_builtin_json_stringify()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-dataview-object.c78 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()
Decma-conversion.h52 ecma_value_t ecma_op_to_integer (ecma_value_t value, ecma_number_t *number_p);
Decma-conversion.c870 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()
Decma-typedarray-object.c1144 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (arg2, &offset))) in ecma_op_create_typedarray()
Decma-regexp-object.c1700 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/
Decma-builtin-typedarray-prototype.c841 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()