Home
last modified time | relevance | path

Searched refs:ecma_get_number_from_value (Results 1 – 23 of 23) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-date.c207 ecma_number_t year = ecma_get_number_from_value (year_value); in ecma_date_construct_helper()
208 ecma_number_t month = ecma_get_number_from_value (month_value); in ecma_date_construct_helper()
219 date = ecma_get_number_from_value (date_value); in ecma_date_construct_helper()
227 hours = ecma_get_number_from_value (hours_value); in ecma_date_construct_helper()
235 minutes = ecma_get_number_from_value (minutes_value); in ecma_date_construct_helper()
243 seconds = ecma_get_number_from_value (seconds_value); in ecma_date_construct_helper()
251 milliseconds = ecma_get_number_from_value (milliseconds_value); in ecma_date_construct_helper()
672 ecma_number_t time = ecma_get_number_from_value (time_value); in ecma_builtin_date_utc()
716 ret_value = ecma_date_value_to_string (ecma_get_number_from_value (now_val)); in ecma_builtin_date_dispatch_call()
763 prim_value_num = ecma_get_number_from_value (parse_res_value); in ecma_builtin_date_dispatch_construct()
[all …]
Decma-builtin-math.c134 arg_num = ecma_get_number_from_value (*arg); in ecma_builtin_math_object_max_min()
145 arg_num = ecma_get_number_from_value (value); in ecma_builtin_math_object_max_min()
214 arg_num = ecma_get_number_from_value (*arg); in ecma_builtin_math_object_hypot()
223 arg_num = ecma_get_number_from_value (value); in ecma_builtin_math_object_hypot()
356 x = ecma_get_number_from_value (arguments_list[0]); in ecma_builtin_math_dispatch_routine()
367 x = ecma_get_number_from_value (value); in ecma_builtin_math_dispatch_routine()
378 y = ecma_get_number_from_value (arguments_list[1]); in ecma_builtin_math_dispatch_routine()
389 y = ecma_get_number_from_value (value); in ecma_builtin_math_dispatch_routine()
Decma-builtin-number.c115 ecma_number_t num = ecma_get_number_from_value (arg); in ecma_builtin_number_object_is_finite()
141 ecma_number_t num_val = ecma_get_number_from_value (arg); in ecma_builtin_number_object_is_nan()
170 ecma_number_t num = ecma_get_number_from_value (arg); in ecma_builtin_number_object_is_integer()
208 ecma_number_t num = ecma_get_number_from_value (arg); in ecma_builtin_number_object_is_safe_integer()
Decma-builtin-helpers-sort.c52 if (ecma_get_number_from_value (child_compare_value) < ECMA_NUMBER_ZERO) in ecma_builtin_helper_array_to_heap()
68 if (ecma_get_number_from_value (swap_compare_value) <= ECMA_NUMBER_ZERO) in ecma_builtin_helper_array_to_heap()
Decma-builtin-array-iterator-prototype.c101 index = (uint32_t) (ecma_get_number_from_value (index_value) + 1); in ecma_builtin_array_iterator_prototype_object_next()
Decma-builtin-date-prototype.c149 ecma_number_t num_value = ecma_get_number_from_value (tv); in ecma_builtin_date_prototype_to_json()
411 converted_number[i] = ecma_get_number_from_value (value); in ecma_builtin_date_prototype_dispatch_set()
Decma-builtin-string.c302 ecma_number_t to_number_num = ecma_get_number_from_value (to_number_value); in ecma_builtin_string_object_from_code_point()
Decma-builtin-number-prototype.c994 ecma_number_t this_arg_number = ecma_get_number_from_value (this_value); in ecma_builtin_number_prototype_dispatch_routine()
Decma-builtin-json.c1255 ecma_number_t num_value = ecma_get_number_from_value (value); in ecma_builtin_json_serialize_property()
Decma-builtin-array-prototype.c1095 result = ecma_get_number_from_value (call_value); in ecma_builtin_array_prototype_object_sort_compare_helper()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-comparison.c62 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_abstract_equality_compare()
63 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_abstract_equality_compare()
262 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_strict_equality_compare()
263 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_strict_equality_compare()
Decma-arraybuffer-object.c118 length_num = ecma_get_number_from_value (arguments_list_p[0]); in ecma_op_create_arraybuffer_object()
129 length_num = ecma_get_number_from_value (to_number_value); in ecma_op_create_arraybuffer_object()
Decma-conversion.c98 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_same_value()
99 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_same_value()
148 ecma_number_t x_num = ecma_get_number_from_value (x); in ecma_op_same_value_zero()
149 ecma_number_t y_num = ecma_get_number_from_value (y); in ecma_op_same_value_zero()
Decma-dataview-object.c325 ecma_set_typedarray_element (block_p, ecma_get_number_from_value (value_to_set), id); in ecma_op_dataview_get_set_view_value()
Decma-array-object.c601 ecma_number_t num = ecma_get_number_from_value (arguments_list_p[0]); in ecma_op_create_array_object()
964 ecma_number_t new_len_num = ecma_get_number_from_value (completion); in ecma_op_array_object_set_length()
977 new_len_num = ecma_get_number_from_value (compared_num_val); in ecma_op_array_object_set_length()
Decma-container-object.c748 ecma_number_t number_value = ecma_get_number_from_value (this_arg); in ecma_op_container_set_noramlize_zero()
1069 return (uint32_t) (ecma_get_number_from_value (value_p->value)); in ecma_op_iterator_get_index()
Decma-regexp-object.c3357 ecma_number_t next_index = ecma_get_number_from_value (this_index); in ecma_regexp_match_helper()
/third_party/jerryscript/jerry-core/parser/js/
Dcommon.c104 util_print_number (ecma_get_number_from_value (literal_p->u.value)); in util_print_literal()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray-prototype.c1406 double lhs_value = (double) ecma_get_number_from_value (lhs); in ecma_builtin_typedarray_prototype_sort_compare_helper()
1407 double rhs_value = (double) ecma_get_number_from_value (rhs); in ecma_builtin_typedarray_prototype_sort_compare_helper()
1465 result = ecma_get_number_from_value (call_value); in ecma_builtin_typedarray_prototype_sort_compare_helper()
1555 ecma_number_t element_num = ecma_get_number_from_value (element_value); in ecma_builtin_typedarray_prototype_sort()
1750 ecma_number_t search_num = ecma_get_number_from_value (args[0]); in ecma_builtin_typedarray_prototype_index_of()
1831 ecma_number_t search_num = ecma_get_number_from_value (args[0]); in ecma_builtin_typedarray_prototype_last_index_of()
/third_party/jerryscript/jerry-core/vm/
Dvm.c2468 ecma_number_t result_number = ecma_get_number_from_value (result); in vm_loop()
2882 ecma_get_number_from_value (right_value)); in vm_loop()
2930 ecma_get_number_from_value (right_value)); in vm_loop()
2993 ecma_get_number_from_value (right_value)); in vm_loop()
3321 ecma_number_t left_number = ecma_get_number_from_value (left_value); in vm_loop()
3322 ecma_number_t right_number = ecma_get_number_from_value (right_value); in vm_loop()
3351 ecma_number_t left_number = ecma_get_number_from_value (left_value); in vm_loop()
3352 ecma_number_t right_number = ecma_get_number_from_value (right_value); in vm_loop()
3381 ecma_number_t left_number = ecma_get_number_from_value (left_value); in vm_loop()
3382 ecma_number_t right_number = ecma_get_number_from_value (right_value); in vm_loop()
[all …]
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-value.c724 ecma_get_number_from_value (ecma_value_t value) /**< ecma value */ in ecma_get_number_from_value() function
Decma-helpers.h261 ecma_number_t JERRY_ATTR_PURE ecma_get_number_from_value (ecma_value_t value);
/third_party/jerryscript/jerry-core/api/
Djerry.c1284 return (double) ecma_get_number_from_value (value); in jerry_get_number_value()