Home
last modified time | relevance | path

Searched refs:cacheEntry (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/intl/
Dglobal_intl_helper.h109 std::string cacheEntry = locales->IsUndefined() ? "" : in GetGlobalObject() local
112 void *cachedCollator = ecmaVm->GetIcuFormatterFromCache(icuType, cacheEntry); in GetGlobalObject()
122 … ecmaVm->SetIcuFormatterToCache(icuType, cacheEntry, cacheObject, FreeCollatorFormat); in GetGlobalObject()
127 … ecmaVm->SetIcuFormatterToCache(icuType, cacheEntry, cacheObject, FreeDateTimeFormat); in GetGlobalObject()
130 … ecmaVm->SetIcuFormatterToCache(icuType, cacheEntry, cacheObject, FreeNumberFormat); in GetGlobalObject()
/arkcompiler/ets_runtime/ecmascript/
Djs_collator.cpp305 std::string cacheEntry = in InitializeCollator() local
308 cacheEntry, icuCollator.release(), JSCollator::FreeIcuCollator); in InitializeCollator()
319 …std::string cacheEntry = locales->IsUndefined() ? "" : EcmaStringAccessor(locales.GetTaggedValue()… in GetCachedIcuCollator() local
321 … thread->GetCurrentEcmaContext()->GetIcuFormatterFromCache(IcuFormatterType::COLLATOR, cacheEntry); in GetCachedIcuCollator()
Djs_number_format.cpp669 std::string cacheEntry = in InitializeNumberFormat() local
672 …ad->GetCurrentEcmaContext()->SetIcuFormatterToCache(IcuFormatterType::NUMBER_FORMATTER, cacheEntry, in InitializeNumberFormat()
699 …std::string cacheEntry = locales->IsUndefined() ? "" : EcmaStringAccessor(locales.GetTaggedValue()… in GetCachedIcuNumberFormatter() local
701 IcuFormatterType::NUMBER_FORMATTER, cacheEntry); in GetCachedIcuNumberFormatter()
Djs_date_time_format.cpp460 std::string cacheEntry = in InitializeDateTimeFormat() local
465cacheEntry, simpleDateFormatIcu.release(), JSDateTimeFormat::FreeSimpleDateFormat); in InitializeDateTimeFormat()
469cacheEntry, simpleDateFormatIcu.release(), JSDateTimeFormat::FreeSimpleDateFormat); in InitializeDateTimeFormat()
473cacheEntry, simpleDateFormatIcu.release(), JSDateTimeFormat::FreeSimpleDateFormat); in InitializeDateTimeFormat()
509 …std::string cacheEntry = locales->IsUndefined() ? "" : EcmaStringAccessor(locales.GetTaggedValue()… in GetCachedIcuSimpleDateFormat() local
510 …chedSimpleDateFormat = thread->GetCurrentEcmaContext()->GetIcuFormatterFromCache(type, cacheEntry); in GetCachedIcuSimpleDateFormat()