Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-coretext.cc729 unsigned int chars_len = 0; in _hb_coretext_shape() local
733 pchars[chars_len++] = c; in _hb_coretext_shape()
735 pchars[chars_len++] = 0xFFFDu; in _hb_coretext_shape()
737 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_coretext_shape()
738 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_coretext_shape()
742 ALLOCATE_ARRAY (unsigned int, log_clusters, chars_len, /*nothing*/); in _hb_coretext_shape()
743 chars_len = 0; in _hb_coretext_shape()
748 log_clusters[chars_len++] = cluster; in _hb_coretext_shape()
750 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_coretext_shape()
797 pchars, chars_len, in _hb_coretext_shape()
[all …]
Dhb-uniscribe.cc765 unsigned int chars_len = 0; in _hb_uniscribe_shape() local
769 buffer->info[i].utf16_index() = chars_len; in _hb_uniscribe_shape()
771 pchars[chars_len++] = c; in _hb_uniscribe_shape()
773 pchars[chars_len++] = 0xFFFDu; in _hb_uniscribe_shape()
775 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_uniscribe_shape()
776 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_uniscribe_shape()
780 ALLOCATE_ARRAY (WORD, log_clusters, chars_len); in _hb_uniscribe_shape()
781 ALLOCATE_ARRAY (SCRIPT_CHARPROP, char_props, chars_len); in _hb_uniscribe_shape()
786 chars_len = 0; in _hb_uniscribe_shape()
791 log_clusters[chars_len++] = cluster; in _hb_uniscribe_shape()
[all …]
Dhb-directwrite.cc577 unsigned int chars_len = 0; in _hb_directwrite_shape_full() local
581 buffer->info[i].utf16_index() = chars_len; in _hb_directwrite_shape_full()
583 textString[chars_len++] = c; in _hb_directwrite_shape_full()
585 textString[chars_len++] = 0xFFFDu; in _hb_directwrite_shape_full()
587 textString[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_directwrite_shape_full()
588 textString[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_directwrite_shape_full()
592 ALLOCATE_ARRAY(WORD, log_clusters, chars_len); in _hb_directwrite_shape_full()
596 chars_len = 0; in _hb_directwrite_shape_full()
601 log_clusters[chars_len++] = cluster; in _hb_directwrite_shape_full()
603 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_directwrite_shape_full()