Lines Matching refs:globalGlyphs
83 static GlyphHashRec globalGlyphs[GlyphFormatNum]; variable
93 if (!globalGlyphs[fdepth].hashSet) in GlyphUninit()
96 for (i = 0; i < globalGlyphs[fdepth].hashSet->size; i++) { in GlyphUninit()
97 glyph = globalGlyphs[fdepth].table[i].glyph; in GlyphUninit()
192 if (!globalGlyphs[format].hashSet) in FindGlyphByHash()
195 gr = FindGlyphRef(&globalGlyphs[format], signature, TRUE, sha1); in FindGlyphByHash()
251 CheckDuplicates(&globalGlyphs[format], "FreeGlyph"); in FreeGlyph()
259 for (i = 0; i < globalGlyphs[format].hashSet->size; i++) in FreeGlyph()
260 if (globalGlyphs[format].table[i].glyph == glyph) { in FreeGlyph()
267 gr = FindGlyphRef(&globalGlyphs[format], signature, TRUE, glyph->sha1); in FreeGlyph()
268 if (gr - globalGlyphs[format].table != first) in FreeGlyph()
273 globalGlyphs[format].tableEntries--; in FreeGlyph()
287 CheckDuplicates(&globalGlyphs[glyphSet->fdepth], "AddGlyph top global"); in AddGlyph()
290 gr = FindGlyphRef(&globalGlyphs[glyphSet->fdepth], signature, in AddGlyph()
300 globalGlyphs[glyphSet->fdepth].tableEntries++; in AddGlyph()
312 CheckDuplicates(&globalGlyphs[glyphSet->fdepth], "AddGlyph bottom"); in AddGlyph()
442 ResizeGlyphHash(&globalGlyphs[glyphSet->fdepth], change, TRUE)); in ResizeGlyphSet()
450 if (!globalGlyphs[fdepth].hashSet) { in AllocateGlyphSet()
451 if (!AllocateGlyphHash(&globalGlyphs[fdepth], &glyphHashSets[0])) in AllocateGlyphSet()
484 if (!globalGlyphs[glyphSet->fdepth].tableEntries) { in FreeGlyphSet()
485 free(globalGlyphs[glyphSet->fdepth].table); in FreeGlyphSet()
486 globalGlyphs[glyphSet->fdepth].table = 0; in FreeGlyphSet()
487 globalGlyphs[glyphSet->fdepth].hashSet = 0; in FreeGlyphSet()
490 ResizeGlyphHash(&globalGlyphs[glyphSet->fdepth], 0, TRUE); in FreeGlyphSet()