Home
last modified time | relevance | path

Searched refs:uint32_number (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c528 ecma_new_non_direct_string_from_uint32 (uint32_t uint32_number) /**< uint32 value of the string */ in ecma_new_non_direct_string_from_uint32() argument
530 JERRY_ASSERT (uint32_number > ECMA_DIRECT_STRING_MAX_IMM); in ecma_new_non_direct_string_from_uint32()
535 string_p->u.uint32_number = uint32_number; in ecma_new_non_direct_string_from_uint32()
546 ecma_new_ecma_string_from_uint32 (uint32_t uint32_number) /**< uint32 value of the string */ in ecma_new_ecma_string_from_uint32() argument
548 if (JERRY_LIKELY (uint32_number <= ECMA_DIRECT_STRING_MAX_IMM)) in ecma_new_ecma_string_from_uint32()
550 …n (ecma_string_t *) ECMA_CREATE_DIRECT_STRING (ECMA_DIRECT_STRING_UINT, (uintptr_t) uint32_number); in ecma_new_ecma_string_from_uint32()
553 return ecma_new_non_direct_string_from_uint32 (uint32_number); in ecma_new_ecma_string_from_uint32()
565 ecma_get_ecma_string_from_uint32 (uint32_t uint32_number) /**< input number */ in ecma_get_ecma_string_from_uint32() argument
567 JERRY_ASSERT (uint32_number <= ECMA_DIRECT_STRING_MAX_IMM); in ecma_get_ecma_string_from_uint32()
569 …n (ecma_string_t *) ECMA_CREATE_DIRECT_STRING (ECMA_DIRECT_STRING_UINT, (uintptr_t) uint32_number); in ecma_get_ecma_string_from_uint32()
[all …]
Decma-helpers-value.c575 ecma_make_uint32_value (uint32_t uint32_number) /**< uint32 number to be encoded */ in ecma_make_uint32_value() argument
577 if (uint32_number <= ECMA_INTEGER_NUMBER_MAX) in ecma_make_uint32_value()
579 return ecma_make_integer_value ((ecma_integer_value_t) uint32_number); in ecma_make_uint32_value()
582 return ecma_create_float_number ((ecma_number_t) uint32_number); in ecma_make_uint32_value()
Decma-helpers.h249 ecma_value_t ecma_make_uint32_value (uint32_t uint32_number);
304 ecma_string_t *ecma_new_ecma_string_from_uint32 (uint32_t uint32_number);
305 ecma_string_t *ecma_new_non_direct_string_from_uint32 (uint32_t uint32_number);
306 ecma_string_t *ecma_get_ecma_string_from_uint32 (uint32_t uint32_number);
Decma-globals.h1447 #define ECMA_CREATE_DIRECT_UINT32_STRING(uint32_number) \ argument
1448 ((ecma_string_t *) ECMA_CREATE_DIRECT_STRING (ECMA_DIRECT_STRING_UINT, (uintptr_t) uint32_number))
1566 uint32_t uint32_number; /**< uint32-represented number placed locally in the descriptor */ member