OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ShouldRetain
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontCache.h
64
enum
ShouldRetain
{ Retain, DoNotRetain };
83
PassRefPtr<SimpleFontData> getFontData(const FontDescription&, const AtomicString&, bool checkingAlternateName = false,
ShouldRetain
= Retain);
84
PassRefPtr<SimpleFontData> getLastResortFallbackFont(const FontDescription&,
ShouldRetain
= Retain);
95
PassRefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&,
ShouldRetain
, const LOGFONT&, wchar_t* outFontFamilyName);
142
PassRefPtr<SimpleFontData> fontDataFromFontPlatformData(const FontPlatformData*,
ShouldRetain
= Retain);
FontDataCache.h
77
PassRefPtr<SimpleFontData> get(const FontPlatformData*,
ShouldRetain
= Retain);
FontCache.cpp
143
PassRefPtr<SimpleFontData> FontCache::getFontData(const FontDescription& fontDescription, const AtomicString& family, bool checkingAlternateName,
ShouldRetain
shouldRetain
)
146
return fontDataFromFontPlatformData(platformData,
shouldRetain
);
151
PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platformData,
ShouldRetain
shouldRetain
)
157
if (
shouldRetain
== DoNotRetain)
161
return gFontDataCache->get(platformData,
shouldRetain
);
FontDataCache.cpp
48
PassRefPtr<SimpleFontData> FontDataCache::get(const FontPlatformData* platformData,
ShouldRetain
shouldRetain
)
55
pair<RefPtr<SimpleFontData>, unsigned> newValue(SimpleFontData::create(*platformData),
shouldRetain
== Retain ? 1 : 0);
57
if (
shouldRetain
== DoNotRetain)
67
if (
shouldRetain
== Retain) {
70
// If
shouldRetain
is DoNotRetain and count is 0, we want to remove the fontData from
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
FontCacheSkia.cpp
91
PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description,
ShouldRetain
shouldRetain
)
105
return fontDataFromFontPlatformData(fontPlatformData,
shouldRetain
);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontCacheWin.cpp
321
PassRefPtr<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& fontDescription,
ShouldRetain
shouldRetain
, const LOGFONT& font, wchar_t* outFontFamilyName)
323
RefPtr<SimpleFontData> fontData = getFontData(fontDescription, font.lfFaceName, false,
shouldRetain
);
365
GetLastResortFallbackFontProcData(FontCache* fontCache, const FontDescription* fontDescription, FontCache::
ShouldRetain
shouldRetain
, wchar_t* fontName)
368
, m_shouldRetain(
shouldRetain
)
376
FontCache::
ShouldRetain
m_shouldRetain;
492
PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description,
ShouldRetain
shouldRetain
)
509
RefPtr<SimpleFontData> simpleFont = getFontData(description, fontStr, false,
shouldRetain
);
[
all
...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontCacheMac.mm
176
PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription,
ShouldRetain
shouldRetain
)
182
RefPtr<SimpleFontData> simpleFontData = getFontData(fontDescription, timesStr, false,
shouldRetain
);
191
return getFontData(fontDescription, lucidaGrandeStr, false,
shouldRetain
);
Completed in 78 milliseconds