Searched refs:LIT_UTF8_LAST_5_BITS_MASK (Results 1 – 3 of 3) sorted by relevance
53 code_point = ((uint32_t) (c & LIT_UTF8_LAST_5_BITS_MASK)); in lit_is_valid_utf8_string()148 code_point = ((uint32_t) (c & LIT_UTF8_LAST_5_BITS_MASK)); in lit_is_valid_cesu8_string()394 ret = ((lit_code_point_t) (c & LIT_UTF8_LAST_5_BITS_MASK)); in lit_read_code_point_from_utf8()443 ret = ((lit_code_point_t) (c & LIT_UTF8_LAST_5_BITS_MASK)); in lit_read_code_unit_from_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()754 … lit_utf8_byte_t first_byte_bits = (lit_utf8_byte_t) (code_point_bits & LIT_UTF8_LAST_5_BITS_MASK); in lit_code_point_to_utf8()
59 #define LIT_UTF8_LAST_5_BITS_MASK (0x1F) macro
358 dst_p[0] = (uint8_t) (LIT_UTF8_2_BYTE_MARKER | ((code_point >> 6) & LIT_UTF8_LAST_5_BITS_MASK)); in lit_code_point_to_cesu8_bytes()