Lines Matching refs:glyphStartIndex
136 size_t glyphStartIndex = 0; in BreakupClusters() local
139 if (clusters[glyphStartIndex] == clusters[glyphEndIndex]) { continue; } in BreakupClusters()
141 processMToN(glyphStartIndex, glyphEndIndex, in BreakupClusters()
142 clusters[glyphStartIndex], clusters[glyphEndIndex]); in BreakupClusters()
144 glyphStartIndex = glyphEndIndex; in BreakupClusters()
147 processMToN(glyphStartIndex, clusters.size(), clusters[glyphStartIndex], utf8End); in BreakupClusters()
152 size_t glyphStartIndex = 0; in BreakupClusters() local
156 if (clusters[glyphStartIndex] == clusters[glyphEndIndex]) { continue; } in BreakupClusters()
158 processMToN(glyphStartIndex, glyphEndIndex, in BreakupClusters()
159 clusters[glyphStartIndex], utf8EndIndex); in BreakupClusters()
161 utf8EndIndex = clusters[glyphStartIndex]; in BreakupClusters()
162 glyphStartIndex = glyphEndIndex; in BreakupClusters()
164 processMToN(glyphStartIndex, clusters.size(), utf8Begin, clusters[glyphStartIndex-1]); in BreakupClusters()
195 auto gatherRuns = [&](size_t glyphStartIndex, size_t glyphEndIndex, in VisualizeClusters()
200 if (codePointCount == 1 && glyphEndIndex - glyphStartIndex == 1) { in VisualizeClusters()
201 glyphRangeStart = std::min(glyphRangeStart, glyphStartIndex); in VisualizeClusters()
209 SkSpan<const SkGlyphID> glyphSpan{&glyphIDs[glyphStartIndex], in VisualizeClusters()
210 glyphEndIndex - glyphStartIndex}; in VisualizeClusters()