Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/text/mac/
DTextCodecMac.cpp99 TECConverterWrapper& cachedConverter = cachedConverterTEC(); in releaseTECConverter() local
100 if (cachedConverter.converter) in releaseTECConverter()
101 TECDisposeConverter(cachedConverter.converter); in releaseTECConverter()
102 cachedConverter.converter = m_converterTEC; in releaseTECConverter()
103 cachedConverter.encoding = m_encoding; in releaseTECConverter()
110 TECConverterWrapper& cachedConverter = cachedConverterTEC(); in createTECConverter() local
112 bool cachedEncodingEqual = cachedConverter.encoding == m_encoding; in createTECConverter()
113 cachedConverter.encoding = invalidEncoding; in createTECConverter()
115 if (cachedEncodingEqual && cachedConverter.converter) { in createTECConverter()
116 m_converterTEC = cachedConverter.converter; in createTECConverter()
[all …]
/external/webkit/Source/WebCore/platform/text/
DTextCodecICU.cpp213 UConverter*& cachedConverter = cachedConverterICU(); in releaseICUConverter() local
214 if (cachedConverter) in releaseICUConverter()
215 ucnv_close(cachedConverter); in releaseICUConverter()
216 cachedConverter = m_converterICU; in releaseICUConverter()
230 UConverter*& cachedConverter = cachedConverterICU(); in createICUConverter() local
231 if (cachedConverter) { in createICUConverter()
233 const char* cachedName = ucnv_getName(cachedConverter, &err); in createICUConverter()
235 m_converterICU = cachedConverter; in createICUConverter()
236 cachedConverter = 0; in createICUConverter()