Searched refs:lit_code_point_t (Results 1 – 16 of 16) sorted by relevance
/third_party/jerryscript/jerry-core/lit/ |
D | lit-strings.c | 46 lit_code_point_t code_point = 0; in lit_is_valid_utf8_string() 47 lit_code_point_t min_code_point = 0; in lit_is_valid_utf8_string() 141 lit_code_point_t code_point = 0; in lit_is_valid_cesu8_string() 142 lit_code_point_t min_code_point = 0; in lit_is_valid_cesu8_string() 197 lit_is_code_point_utf16_low_surrogate (lit_code_point_t code_point) /**< code point */ in lit_is_code_point_utf16_low_surrogate() 208 lit_is_code_point_utf16_high_surrogate (lit_code_point_t code_point) /**< code point */ in lit_is_code_point_utf16_high_surrogate() 219 convert_code_point_to_low_surrogate (lit_code_point_t code_point) /**< code point, should be > 0xFF… in convert_code_point_to_low_surrogate() 235 convert_code_point_to_high_surrogate (lit_code_point_t code_point) /**< code point, should be > 0xF… in convert_code_point_to_high_surrogate() 255 lit_utf16_encode_code_point (lit_code_point_t cp, /**< the code point we encode */ in lit_utf16_encode_code_point() 378 lit_code_point_t *code_point) /**< [out] code point */ in lit_read_code_point_from_utf8() [all …]
|
D | lit-strings.h | 91 bool lit_is_code_point_utf16_low_surrogate (lit_code_point_t code_point); 92 bool lit_is_code_point_utf16_high_surrogate (lit_code_point_t code_point); 114 lit_utf8_size_t lit_code_point_to_utf8 (lit_code_point_t code_point, lit_utf8_byte_t *buf); 115 lit_utf8_size_t lit_code_point_to_cesu8 (lit_code_point_t code_point, lit_utf8_byte_t *buf); 120 lit_code_point_t lit_convert_surrogate_pair_to_code_point (ecma_char_t high_surrogate, ecma_char_t … 125 uint8_t lit_utf16_encode_code_point (lit_code_point_t cp, ecma_char_t *cu_p); 129 lit_code_point_t *code_point);
|
D | lit-char-helpers.h | 38 bool lit_char_is_white_space (lit_code_point_t c); 76 bool lit_code_point_is_identifier_start (lit_code_point_t code_point); 77 bool lit_code_point_is_identifier_part (lit_code_point_t code_point); 217 size_t lit_code_point_to_cesu8_bytes (uint8_t *dst_p, lit_code_point_t code_point); 218 size_t lit_code_point_get_cesu8_length (lit_code_point_t code_point); 231 bool lit_char_is_word_char (lit_code_point_t c);
|
D | lit-char-helpers.c | 113 lit_char_is_white_space (lit_code_point_t c) /**< code point */ in lit_char_is_white_space() 210 lit_code_point_is_identifier_start (lit_code_point_t code_point) /**< code point */ in lit_code_point_is_identifier_start() 240 lit_code_point_is_identifier_part (lit_code_point_t code_point) /**< code point */ in lit_code_point_is_identifier_part() 346 lit_code_point_t code_point) /**< code point */ in lit_code_point_to_cesu8_bytes() 393 lit_code_point_get_cesu8_length (lit_code_point_t code_point) /**< code point */ in lit_code_point_get_cesu8_length() 424 lit_code_point_t code_point = ((((uint32_t) source_p[0]) & LIT_UTF8_LAST_3_BITS_MASK) << 18); in lit_four_byte_utf8_char_to_cesu8() 509 lit_char_is_word_char (lit_code_point_t c) /**< code point */ in lit_char_is_word_char()
|
D | lit-globals.h | 119 typedef uint32_t lit_code_point_t; typedef
|
/third_party/jerryscript/jerry-core/parser/regexp/ |
D | re-bytecode.c | 276 const lit_code_point_t cp) /**< code point */ in re_append_char() 279 …const size_t size = (re_ctx_p->flags & RE_FLAG_UNICODE) ? sizeof (lit_code_point_t) : sizeof (ecma… in re_append_char() 305 const lit_code_point_t cp) /**< code point*/ in re_insert_char() 308 …const size_t size = (re_ctx_p->flags & RE_FLAG_UNICODE) ? sizeof (lit_code_point_t) : sizeof (ecma… in re_insert_char() 333 inline lit_code_point_t JERRY_ATTR_ALWAYS_INLINE 337 lit_code_point_t cp; in re_get_char() 345 *bc_p += sizeof (lit_code_point_t); in re_get_char() 587 … const lit_code_point_t begin = re_get_char (&bytecode_p, re_ctx_p->flags & RE_FLAG_UNICODE); in re_dump_bytecode() 588 const lit_code_point_t end = re_get_char (&bytecode_p, re_ctx_p->flags & RE_FLAG_UNICODE); in re_dump_bytecode()
|
D | re-bytecode.h | 113 void re_append_char (re_compiler_ctx_t *re_ctx_p, const lit_code_point_t cp); 118 void re_insert_char (re_compiler_ctx_t *re_ctx_p, const uint32_t offset, const lit_code_point_t cp… 123 lit_code_point_t re_get_char (const uint8_t **bc_p, bool unicode);
|
D | re-parser.c | 405 re_is_syntax_char (lit_code_point_t cp) /**< code point */ in re_is_syntax_char() 467 lit_code_point_t ch = lit_cesu8_read_next (&re_ctx_p->input_curr_p); in re_parse_char_escape() 619 lit_code_point_t cp = lit_char_hex_to_int (re_ctx_p->input_curr_p[1]); in re_parse_char_escape() 894 lit_code_point_t start, /**< range begin */ in re_class_add_range() 895 lit_code_point_t end) /**< range end */ in re_class_add_range() 913 lit_code_point_t cp) /**< code point */ in re_class_add_char() 956 lit_code_point_t start = RE_INVALID_CP; in re_parse_char_class() 984 lit_code_point_t current; in re_parse_char_class() 1349 lit_code_point_t ch = re_ctx_p->token.value; in re_parse_alternative()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-regexp-object.h | 152 lit_code_point_t ecma_regexp_unicode_advance (const lit_utf8_byte_t **str_p, const lit_utf8_byte_t … 159 lit_code_point_t ecma_regexp_canonicalize_char (lit_code_point_t ch, bool unicode);
|
D | ecma-regexp-object.c | 402 lit_code_point_t 403 ecma_regexp_canonicalize_char (lit_code_point_t ch, /**< character */ in ecma_regexp_canonicalize_char() 449 static inline lit_code_point_t JERRY_ATTR_ALWAYS_INLINE 450 ecma_regexp_canonicalize (lit_code_point_t ch, /**< character */ in ecma_regexp_canonicalize() 468 ecma_regexp_check_class_escape (lit_code_point_t cp, /**< char */ in ecma_regexp_check_class_escape() 510 static lit_code_point_t 515 lit_code_point_t cp = lit_cesu8_read_next (str_p); in ecma_regexp_advance() 540 lit_code_point_t 547 lit_code_point_t ch = lit_cesu8_read_next (¤t_p); in ecma_regexp_unicode_advance() 575 lit_code_point_t ch = lit_cesu8_read_prev (&str_p); in ecma_regexp_step_back() [all …]
|
/third_party/jerryscript/tests/unit-core/ |
D | test-lit-char-helpers.c | 24 static lit_code_point_t 27 lit_code_point_t result = 0; in lexer_hex_to_character()
|
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-lexer.c | 61 static lit_code_point_t 65 lit_code_point_t result = 0; in lexer_hex_to_code_point() 102 static lit_code_point_t 107 lit_code_point_t result = 0; in lexer_hex_in_braces_to_code_point() 156 static lit_code_point_t 159 lit_code_point_t result = 0; in lexer_unchecked_hex_to_character() 634 lit_code_point_t code_point = UINT32_MAX; in lexer_parse_identifier() 691 lit_code_point_t code_point = *source_p; in lexer_parse_identifier() 706 lit_code_point_t low_surrogate; in lexer_parse_identifier() 1082 lit_code_point_t code_point = UINT32_MAX; in lexer_parse_string() [all …]
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-global.c | 358 lit_code_point_t cp; in ecma_builtin_global_object_decode_uri_helper() 433 lit_code_point_t cp; in ecma_builtin_global_object_encode_uri_helper()
|
D | ecma-builtin-string.c | 320 lit_code_point_t code_point = (uint32_t) to_int_num; in ecma_builtin_string_object_from_code_point()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-conversion.c | 304 lit_code_point_t upper_limit = LIT_CHAR_0 + radix; in ecma_utf8_string_to_number_by_radix()
|
D | ecma-helpers-string.c | 1232 lit_code_point_t code_point = lit_convert_surrogate_pair_to_code_point (ch, next_ch); in ecma_substring_copy_to_utf8_buffer()
|