Searched refs:cachedConverter (Results 1 – 2 of 2) sorted by relevance
99 TECConverterWrapper& cachedConverter = cachedConverterTEC(); in releaseTECConverter() local100 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() local112 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 …]
213 UConverter*& cachedConverter = cachedConverterICU(); in releaseICUConverter() local214 if (cachedConverter) in releaseICUConverter()215 ucnv_close(cachedConverter); in releaseICUConverter()216 cachedConverter = m_converterICU; in releaseICUConverter()230 UConverter*& cachedConverter = cachedConverterICU(); in createICUConverter() local231 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()