Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-coretext.cc609 unsigned int chars_len = 0; in _hb_coretext_shape() local
613 pchars[chars_len++] = c; in _hb_coretext_shape()
615 pchars[chars_len++] = 0xFFFDu; in _hb_coretext_shape()
617 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_coretext_shape()
618 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_coretext_shape()
622 ALLOCATE_ARRAY (unsigned int, log_clusters, chars_len, /*nothing*/); in _hb_coretext_shape()
623 chars_len = 0; in _hb_coretext_shape()
628 log_clusters[chars_len++] = cluster; in _hb_coretext_shape()
630 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_coretext_shape()
677 pchars, chars_len, in _hb_coretext_shape()
[all …]
Dhb-uniscribe.cc747 unsigned int chars_len = 0; in _hb_uniscribe_shape() local
751 buffer->info[i].utf16_index() = chars_len; in _hb_uniscribe_shape()
753 pchars[chars_len++] = c; in _hb_uniscribe_shape()
755 pchars[chars_len++] = 0xFFFDu; in _hb_uniscribe_shape()
757 pchars[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_uniscribe_shape()
758 pchars[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_uniscribe_shape()
762 ALLOCATE_ARRAY (WORD, log_clusters, chars_len); in _hb_uniscribe_shape()
763 ALLOCATE_ARRAY (SCRIPT_CHARPROP, char_props, chars_len); in _hb_uniscribe_shape()
768 chars_len = 0; in _hb_uniscribe_shape()
773 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()
588 textString[chars_len++] = 0xD800u + ((c - 0x10000u) >> 10); in _hb_directwrite_shape_full()
589 textString[chars_len++] = 0xDC00u + ((c - 0x10000u) & ((1u << 10) - 1)); in _hb_directwrite_shape_full()
593 ALLOCATE_ARRAY (WORD, log_clusters, chars_len); in _hb_directwrite_shape_full()
595 chars_len = 0; in _hb_directwrite_shape_full()
600 log_clusters[chars_len++] = cluster; in _hb_directwrite_shape_full()
602 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_directwrite_shape_full()