Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c59 code_point = ((uint32_t) (c & LIT_UTF8_LAST_4_BITS_MASK)); in lit_is_valid_utf8_string()
154 code_point = ((uint32_t) (c & LIT_UTF8_LAST_4_BITS_MASK)); in lit_is_valid_cesu8_string()
399 ret = ((lit_code_point_t) (c & LIT_UTF8_LAST_4_BITS_MASK)); in lit_read_code_point_from_utf8()
449 ret = ((lit_code_point_t) (c & LIT_UTF8_LAST_4_BITS_MASK)); in lit_read_code_unit_from_utf8()
701 … lit_utf8_byte_t first_byte_bits = (lit_utf8_byte_t) (code_unit_bits & LIT_UTF8_LAST_4_BITS_MASK); in lit_code_unit_to_utf8()
770 … lit_utf8_byte_t first_byte_bits = (lit_utf8_byte_t) (code_point_bits & LIT_UTF8_LAST_4_BITS_MASK); in lit_code_point_to_utf8()
Dlit-char-helpers.c366 … dst_p[0] = (uint8_t) (LIT_UTF8_3_BYTE_MARKER | ((code_point >> 12) & LIT_UTF8_LAST_4_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
377 …= (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | 0x20 | ((code_point >> 16) & LIT_UTF8_LAST_4_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
381 … = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | 0x30 | ((code_point >> 6) & LIT_UTF8_LAST_4_BITS_MASK)); in lit_code_point_to_cesu8_bytes()
Dlit-strings.h60 #define LIT_UTF8_LAST_4_BITS_MASK (0x0F) macro