Home
last modified time | relevance | path

Searched refs:packed_value (Results 1 – 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-number.c59 uint32_t packed_value = (((sign ? 1u : 0u) << ECMA_NUMBER_SIGN_POS) | in ecma_number_pack() local
64 u.as_uint32_t = packed_value; in ecma_number_pack()
79 uint32_t packed_value = u.as_uint32_t; in ecma_number_unpack() local
83 *sign_p = ((packed_value >> ECMA_NUMBER_SIGN_POS) != 0); in ecma_number_unpack()
88 … *biased_exp_p = (((packed_value) & ~(1u << ECMA_NUMBER_SIGN_POS)) >> ECMA_NUMBER_FRACTION_WIDTH); in ecma_number_unpack()
93 *fraction_p = (packed_value & ((1u << ECMA_NUMBER_FRACTION_WIDTH) - 1)); in ecma_number_unpack()
119 uint64_t packed_value = (((sign ? 1ull : 0ull) << ECMA_NUMBER_SIGN_POS) | in ecma_number_pack() local
127 u.as_uint64_t = packed_value; in ecma_number_pack()
142 uint64_t packed_value = u.as_uint64_t; in ecma_number_unpack() local
146 *sign_p = ((packed_value >> ECMA_NUMBER_SIGN_POS) != 0); in ecma_number_unpack()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_serialize.c654 unsigned packed_value:19; /* meaning determined by packing */ member
1272 header.load_const.packed_value = lc->value[0].u64 >> 45; in write_load_const()
1276 header.load_const.packed_value = lc->value[0].u64; in write_load_const()
1283 header.load_const.packed_value = lc->value[0].u32 >> 13; in write_load_const()
1286 header.load_const.packed_value = lc->value[0].u32; in write_load_const()
1292 header.load_const.packed_value = lc->value[0].u16; in write_load_const()
1296 header.load_const.packed_value = lc->value[0].u8; in write_load_const()
1300 header.load_const.packed_value = lc->value[0].b; in write_load_const()
1348 lc->value[0].u64 = (uint64_t)header.load_const.packed_value << 45; in read_load_const()
1351 lc->value[0].u32 = (uint64_t)header.load_const.packed_value << 13; in read_load_const()
[all …]