Home
last modified time | relevance | path

Searched refs:chars_len (Results 1 – 3 of 3) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-coretext.cc623 unsigned int chars_len = 0; in _hb_coretext_shape() local
627 pchars[chars_len++] = c; in _hb_coretext_shape()
629 pchars[chars_len++] = 0xFFFDu; in _hb_coretext_shape()
631 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_coretext_shape()
632 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_coretext_shape()
636 ALLOCATE_ARRAY (unsigned int, log_clusters, chars_len, /*nothing*/); in _hb_coretext_shape()
637 chars_len = 0; in _hb_coretext_shape()
642 log_clusters[chars_len++] = cluster; in _hb_coretext_shape()
644 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_coretext_shape()
691 pchars, chars_len, in _hb_coretext_shape()
[all …]
Dhb-directwrite.cc541 unsigned int chars_len = 0; in _hb_directwrite_shape_full() local
545 buffer->info[i].utf16_index () = chars_len; in _hb_directwrite_shape_full()
547 textString[chars_len++] = c; in _hb_directwrite_shape_full()
549 textString[chars_len++] = 0xFFFDu; in _hb_directwrite_shape_full()
552 textString[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_directwrite_shape_full()
553 textString[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_directwrite_shape_full()
557 ALLOCATE_ARRAY (WORD, log_clusters, chars_len); in _hb_directwrite_shape_full()
559 chars_len = 0; in _hb_directwrite_shape_full()
564 log_clusters[chars_len++] = cluster; in _hb_directwrite_shape_full()
566 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_directwrite_shape_full()
Dhb-uniscribe.cc739 unsigned int chars_len = 0; in _hb_uniscribe_shape() local
743 buffer->info[i].utf16_index() = chars_len; in _hb_uniscribe_shape()
745 pchars[chars_len++] = c; in _hb_uniscribe_shape()
747 pchars[chars_len++] = 0xFFFDu; in _hb_uniscribe_shape()
749 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_uniscribe_shape()
750 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_uniscribe_shape()
754 ALLOCATE_ARRAY (WORD, log_clusters, chars_len); in _hb_uniscribe_shape()
755 ALLOCATE_ARRAY (SCRIPT_CHARPROP, char_props, chars_len); in _hb_uniscribe_shape()
760 chars_len = 0; in _hb_uniscribe_shape()
765 log_clusters[chars_len++] = cluster; in _hb_uniscribe_shape()
[all …]