Lines Matching refs:glyphStartIndex
143 size_t glyphStartIndex = 0;
146 if (clusters[glyphStartIndex] == clusters[glyphEndIndex]) { continue; }
148 processMToN(glyphStartIndex, glyphEndIndex,
149 clusters[glyphStartIndex], clusters[glyphEndIndex]);
151 glyphStartIndex = glyphEndIndex;
154 processMToN(glyphStartIndex, clusters.size(), clusters[glyphStartIndex], utf8End);
159 size_t glyphStartIndex = 0;
163 if (clusters[glyphStartIndex] == clusters[glyphEndIndex]) { continue; }
165 processMToN(glyphStartIndex, glyphEndIndex,
166 clusters[glyphStartIndex], utf8EndIndex);
168 utf8EndIndex = clusters[glyphStartIndex];
169 glyphStartIndex = glyphEndIndex;
171 processMToN(glyphStartIndex, clusters.size(), utf8Begin, clusters[glyphStartIndex-1]);
202 auto gatherRuns = [&](size_t glyphStartIndex, size_t glyphEndIndex,
207 if (codePointCount == 1 && glyphEndIndex - glyphStartIndex == 1) {
208 glyphRangeStart = std::min(glyphRangeStart, glyphStartIndex);
216 SkSpan<const SkGlyphID> glyphSpan{&glyphIDs[glyphStartIndex],
217 glyphEndIndex - glyphStartIndex};