Lines Matching refs:runLength
2060 int runLength = 0; in onCharsToGlyphs() local
2061 while (runLength < glyphsLeft && currentChar <= 0xFFFF) { in onCharsToGlyphs()
2062 scratch[runLength] = static_cast<WCHAR>(currentChar); in onCharsToGlyphs()
2063 ++runLength; in onCharsToGlyphs()
2064 if (runLength < glyphsLeft) { in onCharsToGlyphs()
2068 if (runLength) { in onCharsToGlyphs()
2069 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2070 glyphIndex += runLength; in onCharsToGlyphs()
2091 int runLength = 0; in onCharsToGlyphs() local
2092 while (runLength < glyphsLeft && !SkUTF16_IsHighSurrogate(currentUtf16[runLength])) { in onCharsToGlyphs()
2093 ++runLength; in onCharsToGlyphs()
2095 if (runLength) { in onCharsToGlyphs()
2096 bmpCharsToGlyphs(hdc, currentUtf16, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2097 glyphIndex += runLength; in onCharsToGlyphs()
2098 currentUtf16 += runLength; in onCharsToGlyphs()
2118 int runLength = 0; in onCharsToGlyphs() local
2119 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { in onCharsToGlyphs()
2120 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); in onCharsToGlyphs()
2121 ++runLength; in onCharsToGlyphs()
2123 if (runLength) { in onCharsToGlyphs()
2124 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2125 glyphIndex += runLength; in onCharsToGlyphs()