Searched refs:clusterIndex (Results 1 – 9 of 9) sorted by relevance
166 Cluster& cluster(ClusterIndex clusterIndex);167 ClusterIndex clusterIndex(TextIndex textIndex) {168 auto clusterIndex = this->fClustersIndexFromCodeUnit[textIndex];169 SkASSERT(clusterIndex != EMPTY_INDEX);170 return clusterIndex;177 Run& runByCluster(ClusterIndex clusterIndex);
247 return TextRange(clusterIndex(glyphRange.start), clusterIndex(glyphRange.end)); in normalizeTextRange()249 return TextRange(clusterIndex(glyphRange.end - 1), in normalizeTextRange()251 ? clusterIndex(glyphRange.start - 1) in normalizeTextRange()312 ClusterIndex ci = clusterIndex(i); in sortOutGlyphs()370 const char* cluster = text.begin() + clusterIndex(i); in sortOutGlyphs()749 while (glyphs.start > 0 && clusterIndex(glyphs.start) > textRange.start) { in clusteredText()752 while (glyphs.end < fCurrentRun->size() && clusterIndex(glyphs.end) < textRange.end) { in clusteredText()756 while (glyphs.start > 0 && clusterIndex(glyphs.start - 1) < textRange.end) { in clusteredText()759 while (glyphs.end < fCurrentRun->size() && clusterIndex(glyphs.end) > textRange.start) { in clusteredText()
110 ClusterIndex index = fOwner->clusterIndex(text.end - 1); in findLimitingClusters()117 ClusterIndex startIndex = fOwner->clusterIndex(text.start); in findLimitingClusters()118 ClusterIndex endIndex = fOwner->clusterIndex(text.end - 1); in findLimitingClusters()
102 size_t clusterIndex(size_t pos) const { return fClusterIndexes[pos]; } in clusterIndex() function211 size_t cluster = this->clusterIndex(start); in iterateThroughClustersInTextOrder()213 auto nextCluster = this->clusterIndex(glyph); in iterateThroughClustersInTextOrder()233 start == 0 ? this->fUtf8Range.end() : this->clusterIndex(start - 1); in iterateThroughClustersInTextOrder()
823 Cluster& ParagraphImpl::cluster(ClusterIndex clusterIndex) { in cluster() argument824 SkASSERT(clusterIndex < fClusters.size()); in cluster()825 return fClusters[clusterIndex]; in cluster()828 Run& ParagraphImpl::runByCluster(ClusterIndex clusterIndex) { in runByCluster() argument829 auto start = cluster(clusterIndex); in runByCluster()
94 ClusterIndex clusterIndex(GlyphIndex glyph) { in clusterIndex() function
39 auto checkCluster = [&](size_t clusterIndex) { in is_one_to_one() argument40 if (clusters[clusterIndex] >= lastUtf8Index) { in is_one_to_one()43 size_t utf8ClusterSize = lastUtf8Index - clusters[clusterIndex]; in is_one_to_one()44 if (SkUTF::CountUTF8(&utf8[clusters[clusterIndex]], utf8ClusterSize) != 1) { in is_one_to_one()47 lastUtf8Index = clusters[clusterIndex]; in is_one_to_one()
169 Index clusterIndex = 0; in matrix_function_compute_cluster_size() local171 clusterSize[clusterIndex] = cluster->size(); in matrix_function_compute_cluster_size()172 ++clusterIndex; in matrix_function_compute_cluster_size()193 Index clusterIndex = 0; in matrix_function_compute_map() local197 eivalToCluster[i] = clusterIndex; in matrix_function_compute_map()200 ++clusterIndex; in matrix_function_compute_map()
595 auto updatePredecessors = [&](Block *block, unsigned clusterIndex) { in merge() argument601 newArguments[clusterIndex]); in merge()