Home
last modified time | relevance | path

Searched refs:code_unit (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DLayoutUtils.cpp29 bool isWordSpace(uint16_t code_unit) { in isWordSpace() argument
30 return code_unit == ' ' || code_unit == CHAR_NBSP; in isWordSpace()
33 bool isCJK(uint16_t code_unit) { in isCJK() argument
34 return (code_unit >= 0x3400 && code_unit <= 0x9fff); in isCJK()
DLayoutUtils.h29 bool isWordSpace(uint16_t code_unit);
/third_party/flutter/txt/src/minikin/
DLayoutUtils.cpp29 bool isWordSpace(uint16_t code_unit) { in isWordSpace() argument
30 return code_unit == ' ' || code_unit == CHAR_NBSP; in isWordSpace()
DLayoutUtils.h29 bool isWordSpace(uint16_t code_unit);
/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c629 ecma_char_t code_unit; in lit_utf8_string_code_unit_at() local
634 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() argument
674 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()
Dlit-strings.h113 lit_utf8_size_t lit_code_unit_to_utf8 (ecma_char_t code_unit, lit_utf8_byte_t *buf_p);
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string.c89 ecma_char_t code_unit = (uint16_t) uint32_char_code; in ecma_builtin_string_object_from_char_code() local
92 utf8_buf_used += lit_code_unit_to_utf8 (code_unit, utf8_buf_p + utf8_buf_used); in ecma_builtin_string_object_from_char_code()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers.h297 ecma_string_t *ecma_new_ecma_string_from_code_unit (ecma_char_t code_unit);
Decma-helpers-string.c452 ecma_new_ecma_string_from_code_unit (ecma_char_t code_unit) /**< code unit */ in ecma_new_ecma_string_from_code_unit() argument
455 lit_utf8_size_t bytes_size = lit_code_unit_to_utf8 (code_unit, lit_utf8_bytes); in ecma_new_ecma_string_from_code_unit()