Lines Matching refs:glyphIndex
2002 int glyphIndex = 0; in onCharsToGlyphs() local
2008 while (glyphIndex < glyphCount) { in onCharsToGlyphs()
2010 int glyphsLeft = SkTMin(glyphCount - glyphIndex, scratchCount); in onCharsToGlyphs()
2020 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2021 glyphIndex += runLength; in onCharsToGlyphs()
2025 while (glyphIndex < glyphCount && currentChar > 0xFFFF) { in onCharsToGlyphs()
2027 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch); in onCharsToGlyphs()
2028 ++glyphIndex; in onCharsToGlyphs()
2029 if (glyphIndex < glyphCount) { in onCharsToGlyphs()
2037 int glyphIndex = 0; in onCharsToGlyphs() local
2039 while (glyphIndex < glyphCount) { in onCharsToGlyphs()
2041 int glyphsLeft = glyphCount - glyphIndex; in onCharsToGlyphs()
2047 bmpCharsToGlyphs(hdc, currentUtf16, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2048 glyphIndex += runLength; in onCharsToGlyphs()
2053 while (glyphIndex < glyphCount && SkUTF16_IsLeadingSurrogate(*currentUtf16)) { in onCharsToGlyphs()
2054 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, currentUtf16); in onCharsToGlyphs()
2055 ++glyphIndex; in onCharsToGlyphs()
2064 int glyphIndex = 0; in onCharsToGlyphs() local
2066 while (glyphIndex < glyphCount) { in onCharsToGlyphs()
2068 int glyphsLeft = SkTMin(glyphCount - glyphIndex, scratchCount); in onCharsToGlyphs()
2070 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { in onCharsToGlyphs()
2071 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); in onCharsToGlyphs()
2075 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2076 glyphIndex += runLength; in onCharsToGlyphs()
2080 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { in onCharsToGlyphs()
2081 SkUTF::ToUTF16(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch)); in onCharsToGlyphs()
2082 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch); in onCharsToGlyphs()
2083 ++glyphIndex; in onCharsToGlyphs()