Home
last modified time | relevance | path

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

/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-coretext.cc571 unsigned int chars_len = 0; in _hb_coretext_shape() local
574 buffer->info[i].utf16_index() = chars_len; in _hb_coretext_shape()
576 pchars[chars_len++] = c; in _hb_coretext_shape()
578 pchars[chars_len++] = 0xFFFD; in _hb_coretext_shape()
580 pchars[chars_len++] = 0xD800 + ((c - 0x10000) >> 10); in _hb_coretext_shape()
581 pchars[chars_len++] = 0xDC00 + ((c - 0x10000) & ((1 << 10) - 1)); in _hb_coretext_shape()
588 pchars, chars_len, in _hb_coretext_shape()
591 CFMutableAttributedStringRef attr_string = CFAttributedStringCreateMutable (NULL, chars_len); in _hb_coretext_shape()
594 CFAttributedStringSetAttribute (attr_string, CFRangeMake (0, chars_len), in _hb_coretext_shape()
599 ALLOCATE_ARRAY (unsigned int, log_clusters, 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++] = 0xFFFD; in _hb_uniscribe_shape()
757 pchars[chars_len++] = 0xD800 + ((c - 0x10000) >> 10); in _hb_uniscribe_shape()
758 pchars[chars_len++] = 0xDC00 + ((c - 0x10000) & ((1 << 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 …]
/external/harfbuzz_ng/src/
Dhb-uniscribe.cc267 unsigned int chars_len = 0; in _hb_uniscribe_shape() local
270 buffer->info[i].utf16_index() = chars_len; in _hb_uniscribe_shape()
272 pchars[chars_len++] = c; in _hb_uniscribe_shape()
274 pchars[chars_len++] = 0xFFFD; in _hb_uniscribe_shape()
276 pchars[chars_len++] = 0xD800 + ((c - 0x10000) >> 10); in _hb_uniscribe_shape()
277 pchars[chars_len++] = 0xDC00 + ((c - 0x10000) & ((1 << 10) - 1)); in _hb_uniscribe_shape()
281 ALLOCATE_ARRAY (WCHAR, wchars, chars_len); in _hb_uniscribe_shape()
282 ALLOCATE_ARRAY (WORD, log_clusters, chars_len); in _hb_uniscribe_shape()
283 ALLOCATE_ARRAY (SCRIPT_CHARPROP, char_props, chars_len); in _hb_uniscribe_shape()
316 chars_len, in _hb_uniscribe_shape()
Dhb-old.cc291 unsigned int chars_len = 0; in _hb_old_shape() local
294 buffer->info[i].utf16_index() = chars_len; in _hb_old_shape()
296 pchars[chars_len++] = c; in _hb_old_shape()
298 pchars[chars_len++] = 0xFFFD; in _hb_old_shape()
300 pchars[chars_len++] = 0xD800 + ((c - 0x10000) >> 10); in _hb_old_shape()
301 pchars[chars_len++] = 0xDC00 + ((c - 0x10000) & ((1 << 10) - 1)); in _hb_old_shape()
314 ALLOCATE_ARRAY (const HB_UChar16, item.string, chars_len); in _hb_old_shape()
315 ALLOCATE_ARRAY (unsigned short, item.log_clusters, chars_len + 2); in _hb_old_shape()
316 item.stringLength = chars_len; in _hb_old_shape()
Dhb-coretext.cc196 unsigned int chars_len = 0; in _hb_coretext_shape() local
199 buffer->info[i].utf16_index() = chars_len; in _hb_coretext_shape()
201 pchars[chars_len++] = c; in _hb_coretext_shape()
203 pchars[chars_len++] = 0xFFFD; in _hb_coretext_shape()
205 pchars[chars_len++] = 0xD800 + ((c - 0x10000) >> 10); in _hb_coretext_shape()
206 pchars[chars_len++] = 0xDC00 + ((c - 0x10000) & ((1 << 10) - 1)); in _hb_coretext_shape()
213 pchars, chars_len, in _hb_coretext_shape()