Home
last modified time | relevance | path

Searched refs:IcuFormatterType (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/intl/
H A Dglobal_intl_helper.h90 IcuFormatterType icuType; in GetGlobalObject()
93 icuType = IcuFormatterType::COLLATOR; in GetGlobalObject()
96 icuType = IcuFormatterType::SIMPLE_DATE_FORMAT_DATE; in GetGlobalObject()
99 icuType = IcuFormatterType::SIMPLE_DATE_FORMAT_TIME; in GetGlobalObject()
102 icuType = IcuFormatterType::SIMPLE_DATE_FORMAT_DEFAULT; in GetGlobalObject()
105 icuType = IcuFormatterType::NUMBER_FORMATTER; in GetGlobalObject()
121 case IcuFormatterType::COLLATOR: in GetGlobalObject()
124 case IcuFormatterType::SIMPLE_DATE_FORMAT_DATE: in GetGlobalObject()
125 case IcuFormatterType::SIMPLE_DATE_FORMAT_TIME: in GetGlobalObject()
126 case IcuFormatterType in GetGlobalObject()
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_date.cpp253 IcuFormatterType::SIMPLE_DATE_FORMAT_DEFAULT); in ToLocaleString()
273 IcuFormatterType::SIMPLE_DATE_FORMAT_DEFAULT); in ToLocaleString()
334 IcuFormatterType::SIMPLE_DATE_FORMAT_DATE); in ToLocaleDateString()
354 IcuFormatterType::SIMPLE_DATE_FORMAT_DATE); in ToLocaleDateString()
415 IcuFormatterType::SIMPLE_DATE_FORMAT_TIME); in ToLocaleTimeString()
435 IcuFormatterType::SIMPLE_DATE_FORMAT_TIME); in ToLocaleTimeString()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_context.h82 enum class IcuFormatterType { class
377 void SetIcuFormatterToCache(IcuFormatterType type, const std::string &locale, void *icuObj, in SetIcuFormatterToCache()
384 ARK_INLINE void *GetIcuFormatterFromCache(IcuFormatterType type, std::string &locale) in GetIcuFormatterFromCache()
740 IcuFormatter icuObjCache_[static_cast<uint32_t>(IcuFormatterType::ICU_FORMATTER_TYPE_COUNT)];
H A Djs_date_time_format.h135 IcuFormatterType type);
H A Djs_collator.cpp337 thread->GetCurrentEcmaContext()->SetIcuFormatterToCache(IcuFormatterType::COLLATOR, in InitializeCollator()
351 thread->GetCurrentEcmaContext()->GetIcuFormatterFromCache(IcuFormatterType::COLLATOR, cacheEntry); in GetCachedIcuCollator()
H A Djs_number_format.cpp743 thread->GetCurrentEcmaContext()->SetIcuFormatterToCache(IcuFormatterType::NUMBER_FORMATTER, cacheEntry, in InitializeNumberFormat()
772 IcuFormatterType::NUMBER_FORMATTER, cacheEntry); in GetCachedIcuNumberFormatter()
H A Decma_context.cpp150 for (uint32_t i = 0; i < static_cast<uint32_t>(IcuFormatterType::ICU_FORMATTER_TYPE_COUNT); i++) { in ClearIcuCache()

Completed in 11 milliseconds