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