Lines Matching refs:cluster
201 unsigned int cluster) in add() argument
212 glyph->cluster = cluster; in add()
383 if (cluster_start <= info[i].cluster && info[i].cluster < cluster_end) in set_masks()
436 last_cluster = info[0].cluster; in reverse_clusters()
438 if (last_cluster != info[i].cluster) { in reverse_clusters()
441 last_cluster = info[i].cluster; in reverse_clusters()
454 unsigned int cluster = info[start].cluster; in merge_clusters() local
457 cluster = MIN (cluster, info[i].cluster); in merge_clusters()
460 while (end < len && info[end - 1].cluster == info[end].cluster) in merge_clusters()
464 while (idx < start && info[start - 1].cluster == info[start].cluster) in merge_clusters()
469 for (unsigned i = out_len; i && out_info[i - 1].cluster == info[start].cluster; i--) in merge_clusters()
470 out_info[i - 1].cluster = cluster; in merge_clusters()
473 info[i].cluster = cluster; in merge_clusters()
482 unsigned int cluster = out_info[start].cluster; in merge_out_clusters() local
485 cluster = MIN (cluster, out_info[i].cluster); in merge_out_clusters()
488 while (start && out_info[start - 1].cluster == out_info[start].cluster) in merge_out_clusters()
492 while (end < out_len && out_info[end - 1].cluster == out_info[end].cluster) in merge_out_clusters()
497 for (unsigned i = idx; i < len && info[i].cluster == out_info[end - 1].cluster; i++) in merge_out_clusters()
498 info[i].cluster = cluster; in merge_out_clusters()
501 out_info[i].cluster = cluster; in merge_out_clusters()
824 unsigned int cluster) in hb_buffer_add() argument
826 buffer->add (codepoint, cluster); in hb_buffer_add()
1072 if (info[start].cluster != info[end].cluster) { in hb_buffer_normalize_glyphs()