Searched refs:code_unit_bits (Results 1 – 1 of 1) sorted by relevance
223 ecma_char_t code_unit_bits; in convert_code_point_to_low_surrogate() local224 code_unit_bits = (ecma_char_t) (code_point & LIT_UTF16_LAST_10_BITS_MASK); in convert_code_point_to_low_surrogate()226 return (ecma_char_t) (LIT_UTF16_LOW_SURROGATE_MARKER | code_unit_bits); in convert_code_point_to_low_surrogate()240 ecma_char_t code_unit_bits; in convert_code_point_to_high_surrogate() local241 …code_unit_bits = (ecma_char_t) ((code_point - LIT_UTF16_FIRST_SURROGATE_CODE_POINT) >> LIT_UTF16_B… in convert_code_point_to_high_surrogate()243 return (LIT_UTF16_HIGH_SURROGATE_MARKER | code_unit_bits); in convert_code_point_to_high_surrogate()681 uint32_t code_unit_bits = code_unit; in lit_code_unit_to_utf8() local682 … lit_utf8_byte_t second_byte_bits = (lit_utf8_byte_t) (code_unit_bits & LIT_UTF8_LAST_6_BITS_MASK); in lit_code_unit_to_utf8()683 code_unit_bits >>= LIT_UTF8_BITS_IN_EXTRA_BYTES; in lit_code_unit_to_utf8()685 … lit_utf8_byte_t first_byte_bits = (lit_utf8_byte_t) (code_unit_bits & LIT_UTF8_LAST_5_BITS_MASK); in lit_code_unit_to_utf8()[all …]