Home
last modified time | relevance | path

Searched refs:clusterIndex (Results 1 – 9 of 9) sorted by relevance

/external/skia/modules/skparagraph/src/
DParagraphImpl.h166 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);
DOneLineShaper.cpp247 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()
DRun.cpp110 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()
DRun.h102 size_t clusterIndex(size_t pos) const { return fClusterIndexes[pos]; } in clusterIndex() function
211 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()
DParagraphImpl.cpp823 Cluster& ParagraphImpl::cluster(ClusterIndex clusterIndex) { in cluster() argument
824 SkASSERT(clusterIndex < fClusters.size()); in cluster()
825 return fClusters[clusterIndex]; in cluster()
828 Run& ParagraphImpl::runByCluster(ClusterIndex clusterIndex) { in runByCluster() argument
829 auto start = cluster(clusterIndex); in runByCluster()
DOneLineShaper.h94 ClusterIndex clusterIndex(GlyphIndex glyph) { in clusterIndex() function
/external/skia/src/utils/
DSkShaperJSONWriter.cpp39 auto checkCluster = [&](size_t clusterIndex) { in is_one_to_one() argument
40 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()
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h169 Index clusterIndex = 0; in matrix_function_compute_cluster_size() local
171 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() local
197 eivalToCluster[i] = clusterIndex; in matrix_function_compute_map()
200 ++clusterIndex; in matrix_function_compute_map()
/external/llvm-project/mlir/lib/Transforms/Utils/
DRegionUtils.cpp595 auto updatePredecessors = [&](Block *block, unsigned clusterIndex) { in merge() argument
601 newArguments[clusterIndex]); in merge()