• Home
  • Raw
  • Download

Lines Matching refs:glyphIndex

2092         int glyphIndex = 0;  in onCharsToGlyphs()  local
2098 while (glyphIndex < glyphCount) { in onCharsToGlyphs()
2100 int glyphsLeft = SkTMin(glyphCount - glyphIndex, scratchCount); in onCharsToGlyphs()
2110 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2111 glyphIndex += runLength; in onCharsToGlyphs()
2115 while (glyphIndex < glyphCount && currentChar > 0xFFFF) { in onCharsToGlyphs()
2117 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch); in onCharsToGlyphs()
2118 ++glyphIndex; in onCharsToGlyphs()
2119 if (glyphIndex < glyphCount) { in onCharsToGlyphs()
2127 int glyphIndex = 0; in onCharsToGlyphs() local
2129 while (glyphIndex < glyphCount) { in onCharsToGlyphs()
2131 int glyphsLeft = glyphCount - glyphIndex; in onCharsToGlyphs()
2137 bmpCharsToGlyphs(hdc, currentUtf16, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2138 glyphIndex += runLength; in onCharsToGlyphs()
2143 while (glyphIndex < glyphCount && SkUTF16_IsHighSurrogate(*currentUtf16)) { in onCharsToGlyphs()
2144 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, currentUtf16); in onCharsToGlyphs()
2145 ++glyphIndex; in onCharsToGlyphs()
2154 int glyphIndex = 0; in onCharsToGlyphs() local
2156 while (glyphIndex < glyphCount) { in onCharsToGlyphs()
2158 int glyphsLeft = SkTMin(glyphCount - glyphIndex, scratchCount); in onCharsToGlyphs()
2160 while (runLength < glyphsLeft && utf32[glyphIndex + runLength] <= 0xFFFF) { in onCharsToGlyphs()
2161 scratch[runLength] = static_cast<WCHAR>(utf32[glyphIndex + runLength]); in onCharsToGlyphs()
2165 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack); in onCharsToGlyphs()
2166 glyphIndex += runLength; in onCharsToGlyphs()
2170 while (glyphIndex < glyphCount && utf32[glyphIndex] > 0xFFFF) { in onCharsToGlyphs()
2171 SkUTF16_FromUnichar(utf32[glyphIndex], reinterpret_cast<uint16_t*>(scratch)); in onCharsToGlyphs()
2172 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch); in onCharsToGlyphs()
2173 ++glyphIndex; in onCharsToGlyphs()