Lines Matching refs:entry
48 void SetTo(FontCacheEntry* entry)
50 ASSERT(entry != NULL);
53 fCacheEntry = entry;
250 FontCacheEntry* entry = cache->FontCacheEntryFor(font, forceVector);
251 return entry;
264 FontCacheEntry* entry = NULL;
271 entry = _cacheReference->Entry();
276 // This means that the fallback entry mechanism will not do any good
278 // the original entry.
282 if (entry == NULL) {
283 entry = FontCacheEntryFor(font, consumer.NeedsVector());
285 if (entry == NULL)
287 pCacheReference->SetTo(entry);
290 } // else the entry was already used and is still locked
318 entry->GetKerning(lastCharCode, charCode, &advanceX, &advanceY);
324 const GlyphCache* glyph = entry->CachedGlyph(charCode);
329 // Something may have gone wrong while reacquiring the entry lock
354 if (!consumer.ConsumeGlyph(index++, charCode, glyph, entry, x, y,
380 FontCacheEntry* entry = cacheReference.Entry();
383 if (entry->CanCreateGlyph(charCode)) {
385 return entry->CreateGlyph(charCode);
395 return entry->CreateGlyph(charCode, fallbackReference->Entry());
402 return entry->CreateGlyph(charCode);
458 FontCacheEntry* entry = FontCacheEntryFor(fallbackFont, forceVector);
459 if (entry == NULL)
464 cacheReference->SetTo(entry);
467 FontCache::Default()->Recycle(entry);