Home
last modified time | relevance | path

Searched refs:LIT_UTF8_EXTRA_BYTE_MARKER (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c82 if ((c & LIT_UTF8_EXTRA_BYTE_MASK) != LIT_UTF8_EXTRA_BYTE_MARKER) in lit_is_valid_utf8_string()
170 if ((c & LIT_UTF8_EXTRA_BYTE_MASK) != LIT_UTF8_EXTRA_BYTE_MARKER) in lit_is_valid_cesu8_string()
567 while ((*(current_p) & LIT_UTF8_EXTRA_BYTE_MASK) == LIT_UTF8_EXTRA_BYTE_MARKER); in lit_utf8_decr()
689 buf_p[1] = LIT_UTF8_EXTRA_BYTE_MARKER | second_byte_bits; in lit_code_unit_to_utf8()
705 buf_p[1] = LIT_UTF8_EXTRA_BYTE_MARKER | second_byte_bits; in lit_code_unit_to_utf8()
706 buf_p[2] = LIT_UTF8_EXTRA_BYTE_MARKER | third_byte_bits; in lit_code_unit_to_utf8()
758 buf[1] = LIT_UTF8_EXTRA_BYTE_MARKER | second_byte_bits; in lit_code_point_to_utf8()
774 buf[1] = LIT_UTF8_EXTRA_BYTE_MARKER | second_byte_bits; in lit_code_point_to_utf8()
775 buf[2] = LIT_UTF8_EXTRA_BYTE_MARKER | third_byte_bits; in lit_code_point_to_utf8()
796 buf[1] = LIT_UTF8_EXTRA_BYTE_MARKER | second_byte_bits; 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 …dst_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()
377 …dst_p[1] = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | 0x20 | ((code_point >> 16) & LIT_UTF8_LAST_4_BI… in lit_code_point_to_cesu8_bytes()
378 …dst_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()
381 …dst_p[4] = (uint8_t) (LIT_UTF8_EXTRA_BYTE_MARKER | 0x30 | ((code_point >> 6) & LIT_UTF8_LAST_4_BIT… 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()
Dlit-strings.h49 #define LIT_UTF8_EXTRA_BYTE_MARKER (0x80) macro
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-global.c340 …f (hex_value == UINT32_MAX || (hex_value & LIT_UTF8_EXTRA_BYTE_MASK) != LIT_UTF8_EXTRA_BYTE_MARKER) in ecma_builtin_global_object_decode_uri_helper()