Home
last modified time | relevance | path

Searched refs:ecma_make_integer_value (Results 1 – 16 of 16) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-comparison.c150 …return ecma_op_abstract_equality_compare (x, ecma_make_integer_value (ecma_is_value_true (y) ? 1 :… in ecma_op_abstract_equality_compare()
183 …return ecma_op_abstract_equality_compare (ecma_make_integer_value (ecma_is_value_true (x) ? 1 : 0)… in ecma_op_abstract_equality_compare()
232 if ((x != ecma_make_integer_value (0) || !ecma_is_value_float_number (y)) in ecma_op_strict_equality_compare()
233 && (y != ecma_make_integer_value (0) || !ecma_is_value_float_number (x))) in ecma_op_strict_equality_compare()
Decma-conversion.c232 return (value != ecma_make_integer_value (0)); in ecma_op_to_boolean()
322 return ecma_make_integer_value (num); in ecma_op_to_number()
Decma-container-object.c752 return ecma_make_integer_value (0); in ecma_op_container_set_noramlize_zero()
Decma-function-object.c1563 len_prop_value_p->value = ecma_make_integer_value (length); in ecma_op_bound_function_try_to_lazy_instantiate_property()
Decma-regexp-object.c1724 ecma_make_integer_value (0), in ecma_regexp_exec_helper()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-value.c472 ecma_make_integer_value (ecma_integer_value_t integer_value) /**< integer number to be encoded */ in ecma_make_integer_value() function
547 return ecma_make_integer_value (integer_value); in ecma_make_number_value()
563 return ecma_make_integer_value ((ecma_integer_value_t) int32_number); in ecma_make_int32_value()
579 return ecma_make_integer_value ((ecma_integer_value_t) uint32_number); in ecma_make_uint32_value()
983 return ecma_make_integer_value (integer_number); in ecma_update_float_number()
1038 *value_p = ecma_make_integer_value (integer_value); in ecma_value_assign_number()
Decma-helpers-number.c700 return ecma_make_integer_value (right_integer << (__builtin_ctz ((unsigned int) left_integer))); in ecma_integer_multiply()
705 return ecma_make_integer_value (left_integer << (__builtin_ctz ((unsigned int) right_integer))); in ecma_integer_multiply()
708 return ecma_make_integer_value (left_integer * right_integer); in ecma_integer_multiply()
Decma-helpers.h244 ecma_value_t JERRY_ATTR_CONST ecma_make_integer_value (ecma_integer_value_t integer_value);
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-number.c64 ret_value = ecma_make_integer_value (0); in ecma_builtin_number_dispatch_call()
87 ecma_value_t completion = ecma_op_create_number_object (ecma_make_integer_value (0)); in ecma_builtin_number_dispatch_construct()
Decma-builtin-array-prototype.c1651 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_index_of()
1690 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_index_of()
1707 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_index_of()
1735 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_index_of()
1756 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_last_index_of()
1781 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_last_index_of()
1796 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_last_index_of()
1811 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_last_index_of()
1839 return ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_last_index_of()
2431 return is_find ? ECMA_VALUE_UNDEFINED : ecma_make_integer_value (-1); in ecma_builtin_array_prototype_object_find()
Decma-builtin-function-prototype.c295 … ecma_value_t args_len_or_this = ecma_make_integer_value ((ecma_integer_value_t) arguments_number); in ecma_builtin_function_prototype_object_bind()
Decma-builtins.c468 ext_object_p->u.class_prop.u.value = ecma_make_integer_value (0); in ecma_instantiate_builtin()
680 len_prop_value_p->value = ecma_make_integer_value (length); in ecma_builtin_routine_try_to_instantiate_property()
Decma-builtin-promise.c335 ecma_value_t remaining = ecma_op_create_number_object (ecma_make_integer_value (1)); in ecma_builtin_promise_perform_all()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray-prototype.c1652 return is_find ? ECMA_VALUE_UNDEFINED : ecma_make_integer_value (-1); in ecma_builtin_typedarray_prototype_find_helper()
1725 return ecma_make_integer_value (-1); in ecma_builtin_typedarray_prototype_index_of()
1742 return ecma_make_integer_value (-1); in ecma_builtin_typedarray_prototype_index_of()
1768 return ecma_make_integer_value (-1); in ecma_builtin_typedarray_prototype_index_of()
1804 return ecma_make_integer_value (-1); in ecma_builtin_typedarray_prototype_last_index_of()
1823 return ecma_make_integer_value (-1); in ecma_builtin_typedarray_prototype_last_index_of()
1849 return ecma_make_integer_value (-1); in ecma_builtin_typedarray_prototype_last_index_of()
/third_party/jerryscript/jerry-core/vm/
Dvm.c1218 *stack_top_p++ = ecma_make_integer_value (0); in vm_loop()
1224 *stack_top_p++ = ecma_make_integer_value (number + 1); in vm_loop()
1230 *stack_top_p++ = ecma_make_integer_value (-(number + 1)); in vm_loop()
1236 stack_top_p[1] = ecma_make_integer_value (0); in vm_loop()
1244 stack_top_p[1] = ecma_make_integer_value (number + 1); in vm_loop()
1252 stack_top_p[1] = ecma_make_integer_value (-(number + 1)); in vm_loop()
2291 *stack_top_p++ = ecma_make_integer_value (literal_index); in vm_loop()
3055 *stack_top_p++ = ecma_make_integer_value (mod_result); in vm_loop()
3234 *stack_top_p++ = ecma_make_integer_value (left_integer >> (right_integer & 0x1f)); in vm_loop()
/third_party/jerryscript/jerry-core/parser/js/
Djs-lexer.c2576 ecma_value_t lit_value = ecma_make_integer_value (value); in lexer_convert_push_number_to_push_literal()