Home
last modified time | relevance | path

Searched refs:ECMA_VALUE_SHIFT (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-globals.h154 #define ECMA_VALUE_SHIFT 3 macro
159 #define ECMA_DIRECT_TYPE_MASK ((1u << ECMA_VALUE_SHIFT) | ECMA_VALUE_TYPE_MASK)
164 #define ECMA_DIRECT_TYPE_INTEGER_VALUE ((0u << ECMA_VALUE_SHIFT) | ECMA_TYPE_DIRECT)
169 #define ECMA_DIRECT_TYPE_SIMPLE_VALUE ((1u << ECMA_VALUE_SHIFT) | ECMA_TYPE_DIRECT)
1429 #define ECMA_DIRECT_STRING_SHIFT (ECMA_VALUE_SHIFT + 2)
1434 #define ECMA_DIRECT_STRING_MASK ((uintptr_t) (ECMA_DIRECT_TYPE_MASK | (0x3u << ECMA_VALUE_SHIFT)))
1440 …((uintptr_t) (ECMA_TYPE_DIRECT_STRING | ((type) << ECMA_VALUE_SHIFT) | (value) << ECMA_DIRECT_STRI…
1466 ((((uintptr_t) (string_p)) >> ECMA_VALUE_SHIFT) & 0x3)
1471 #define ECMA_STRING_TYPE_CONVERSION_SHIFT (ECMA_PROPERTY_NAME_TYPE_SHIFT - ECMA_VALUE_SHIFT)
1477 ((((uintptr_t) (string_p)) & (0x3 << ECMA_VALUE_SHIFT)) << ECMA_STRING_TYPE_CONVERSION_SHIFT)
Decma-helpers-value.c30 JERRY_STATIC_ASSERT ((ECMA_VALUE_TYPE_MASK + 1) == (1 << ECMA_VALUE_SHIFT),
33 JERRY_STATIC_ASSERT (ECMA_VALUE_SHIFT <= JMEM_ALIGNMENT_LOG,
96 return ((ecma_value_t) ptr_cp) << ECMA_VALUE_SHIFT; in ecma_pointer_to_ecma_value()
114 return ECMA_GET_NON_NULL_POINTER (void, value >> ECMA_VALUE_SHIFT); in ecma_get_pointer_from_ecma_value()
Decma-literal-storage.c321 #define JERRY_SNAPSHOT_LITERAL_SHIFT (ECMA_VALUE_SHIFT + 1)
326 #define JERRY_SNAPSHOT_LITERAL_IS_NUMBER (1u << ECMA_VALUE_SHIFT)
Decma-helpers-number.c31 JERRY_STATIC_ASSERT (ECMA_DIRECT_SHIFT == ECMA_VALUE_SHIFT + 1,
Decma-helpers-string.c51 JERRY_STATIC_ASSERT (ECMA_PROPERTY_NAME_TYPE_SHIFT > ECMA_VALUE_SHIFT,