Home
last modified time | relevance | path

Searched refs:LIT_UTF8_LAST_6_BITS_MASK (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c88 code_point |= (c & LIT_UTF8_LAST_6_BITS_MASK); in lit_is_valid_utf8_string()
176 code_point |= (c & LIT_UTF8_LAST_6_BITS_MASK); in lit_is_valid_cesu8_string()
413 ret |= (buf_p[i] & LIT_UTF8_LAST_6_BITS_MASK); in lit_read_code_point_from_utf8()
455 ret |= (buf_p[i] & LIT_UTF8_LAST_6_BITS_MASK); in lit_read_code_unit_from_utf8()
682 … 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()
695 … lit_utf8_byte_t third_byte_bits = (lit_utf8_byte_t) (code_unit_bits & LIT_UTF8_LAST_6_BITS_MASK); in lit_code_unit_to_utf8()
698 … 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()
751 …lit_utf8_byte_t second_byte_bits = (lit_utf8_byte_t) (code_point_bits & LIT_UTF8_LAST_6_BITS_MASK); in lit_code_point_to_utf8()
764 … lit_utf8_byte_t third_byte_bits = (lit_utf8_byte_t) (code_point_bits & LIT_UTF8_LAST_6_BITS_MASK); in lit_code_point_to_utf8()
767 …lit_utf8_byte_t second_byte_bits = (lit_utf8_byte_t) (code_point_bits & LIT_UTF8_LAST_6_BITS_MASK); in lit_code_point_to_utf8()
[all …]
Dlit-char-helpers.c359 dst_p[1] = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | (code_point & LIT_UTF8_LAST_6_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
367 …st_p[1] = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | ((code_point >> 6) & LIT_UTF8_LAST_6_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
368 dst_p[2] = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | (code_point & LIT_UTF8_LAST_6_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
378 …t_p[2] = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | ((code_point >> 10) & LIT_UTF8_LAST_6_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
382 dst_p[5] = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | (code_point & LIT_UTF8_LAST_6_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
425 code_point |= ((((uint32_t) source_p[1]) & LIT_UTF8_LAST_6_BITS_MASK) << 12); in lit_four_byte_utf8_char_to_cesu8()
426 code_point |= ((((uint32_t) source_p[2]) & LIT_UTF8_LAST_6_BITS_MASK) << 6); in lit_four_byte_utf8_char_to_cesu8()
427 code_point |= (((uint32_t) source_p[3]) & LIT_UTF8_LAST_6_BITS_MASK); in lit_four_byte_utf8_char_to_cesu8()
Dlit-strings.h58 #define LIT_UTF8_LAST_6_BITS_MASK (0x3F) macro