Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-coretext.cc689 unsigned int chars_len = 0; in _hb_coretext_shape() local
693 pchars[chars_len++] = c; in _hb_coretext_shape()
695 pchars[chars_len++] = 0xFFFDu; in _hb_coretext_shape()
697 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_coretext_shape()
698 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1 << 10) - 1)); in _hb_coretext_shape()
702 ALLOCATE_ARRAY (unsigned int, log_clusters, chars_len, /*nothing*/); in _hb_coretext_shape()
703 chars_len = 0; in _hb_coretext_shape()
708 log_clusters[chars_len++] = cluster; in _hb_coretext_shape()
710 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_coretext_shape()
757 pchars, chars_len, in _hb_coretext_shape()
[all …]
Dhb-uniscribe.cc763 unsigned int chars_len = 0; in _hb_uniscribe_shape() local
767 buffer->info[i].utf16_index() = chars_len; in _hb_uniscribe_shape()
769 pchars[chars_len++] = c; in _hb_uniscribe_shape()
771 pchars[chars_len++] = 0xFFFDu; in _hb_uniscribe_shape()
773 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_uniscribe_shape()
774 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1 << 10) - 1)); in _hb_uniscribe_shape()
778 ALLOCATE_ARRAY (WORD, log_clusters, chars_len); in _hb_uniscribe_shape()
779 ALLOCATE_ARRAY (SCRIPT_CHARPROP, char_props, chars_len); in _hb_uniscribe_shape()
784 chars_len = 0; in _hb_uniscribe_shape()
789 log_clusters[chars_len++] = cluster; in _hb_uniscribe_shape()
[all …]
Dhb-directwrite.cc645 unsigned int chars_len = 0; in _hb_directwrite_shape() local
649 buffer->info[i].utf16_index() = chars_len; in _hb_directwrite_shape()
651 textString[chars_len++] = c; in _hb_directwrite_shape()
653 textString[chars_len++] = 0xFFFDu; in _hb_directwrite_shape()
655 textString[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_directwrite_shape()
656 textString[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1 << 10) - 1)); in _hb_directwrite_shape()
660 ALLOCATE_ARRAY(WORD, log_clusters, chars_len); in _hb_directwrite_shape()
664 chars_len = 0; in _hb_directwrite_shape()
669 log_clusters[chars_len++] = cluster; in _hb_directwrite_shape()
671 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_directwrite_shape()