Searched refs:code_unit (Results 1 – 9 of 9) sorted by relevance
29 bool isWordSpace(uint16_t code_unit) { in isWordSpace() argument30 return code_unit == ' ' || code_unit == CHAR_NBSP; in isWordSpace()33 bool isCJK(uint16_t code_unit) { in isCJK() argument34 return (code_unit >= 0x3400 && code_unit <= 0x9fff); in isCJK()
29 bool isWordSpace(uint16_t code_unit);
29 bool isWordSpace(uint16_t code_unit) { in isWordSpace() argument30 return code_unit == ' ' || code_unit == CHAR_NBSP; in isWordSpace()
629 ecma_char_t code_unit; in lit_utf8_string_code_unit_at() local634 current_p += lit_read_code_unit_from_utf8 (current_p, &code_unit); in lit_utf8_string_code_unit_at()638 return code_unit; in lit_utf8_string_code_unit_at()670 lit_code_unit_to_utf8 (ecma_char_t code_unit, /**< code unit */ in lit_code_unit_to_utf8() argument674 if (code_unit <= LIT_UTF8_1_BYTE_CODE_POINT_MAX) in lit_code_unit_to_utf8()676 buf_p[0] = (lit_utf8_byte_t) code_unit; in lit_code_unit_to_utf8()679 else if (code_unit <= LIT_UTF8_2_BYTE_CODE_POINT_MAX) in lit_code_unit_to_utf8()681 uint32_t code_unit_bits = code_unit; in lit_code_unit_to_utf8()694 uint32_t code_unit_bits = code_unit; in lit_code_unit_to_utf8()
113 lit_utf8_size_t lit_code_unit_to_utf8 (ecma_char_t code_unit, lit_utf8_byte_t *buf_p);
89 ecma_char_t code_unit = (uint16_t) uint32_char_code; in ecma_builtin_string_object_from_char_code() local92 utf8_buf_used += lit_code_unit_to_utf8 (code_unit, utf8_buf_p + utf8_buf_used); in ecma_builtin_string_object_from_char_code()
297 ecma_string_t *ecma_new_ecma_string_from_code_unit (ecma_char_t code_unit);
452 ecma_new_ecma_string_from_code_unit (ecma_char_t code_unit) /**< code unit */ in ecma_new_ecma_string_from_code_unit() argument455 lit_utf8_size_t bytes_size = lit_code_unit_to_utf8 (code_unit, lit_utf8_bytes); in ecma_new_ecma_string_from_code_unit()