Home
last modified time | relevance | path

Searched refs:uniqueSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkGlyphRun.cpp129 size_t uniqueSize = 0; in uniquifyGlyphIDs() local
141 if (uniqueIndex >= uniqueSize || uniqueGlyphIDs[uniqueIndex] != glyphID) { in uniquifyGlyphIDs()
142 uniqueIndex = SkTo<uint16_t>(uniqueSize); in uniquifyGlyphIDs()
143 uniqueGlyphIDs[uniqueSize] = glyphID; in uniquifyGlyphIDs()
145 uniqueSize += 1; in uniquifyGlyphIDs()
159 return SkSpan<const SkGlyphID>(uniqueGlyphIDs, uniqueSize); in uniquifyGlyphIDs()
/external/skqp/src/core/
DSkGlyphRun.cpp129 size_t uniqueSize = 0; in uniquifyGlyphIDs() local
141 if (uniqueIndex >= uniqueSize || uniqueGlyphIDs[uniqueIndex] != glyphID) { in uniquifyGlyphIDs()
142 uniqueIndex = SkTo<uint16_t>(uniqueSize); in uniquifyGlyphIDs()
143 uniqueGlyphIDs[uniqueSize] = glyphID; in uniquifyGlyphIDs()
145 uniqueSize += 1; in uniquifyGlyphIDs()
159 return SkSpan<const SkGlyphID>(uniqueGlyphIDs, uniqueSize); in uniquifyGlyphIDs()