Home
last modified time | relevance | path

Searched refs:cacheable (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_date.cpp270 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in ToLocaleString() local
272 if (cacheable) { in ToLocaleString()
288 IcuCacheType type = cacheable ? IcuCacheType::DEFAULT : IcuCacheType::NOT_CACHE; in ToLocaleString()
292 if (cacheable) { in ToLocaleString()
311 locales, options, intl::GlobalFormatterType::DateFormatter, cacheable); in ToLocaleString()
351 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in ToLocaleDateString() local
353 if (cacheable) { in ToLocaleDateString()
369 IcuCacheType type = cacheable ? IcuCacheType::DATE : IcuCacheType::NOT_CACHE; in ToLocaleDateString()
373 if (cacheable) { in ToLocaleDateString()
392 locales, options, intl::GlobalFormatterType::SimpleDateFormatDate, cacheable); in ToLocaleDateString()
[all …]
Dbuiltins_bigint.cpp101 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in ToLocaleString() local
103 if (cacheable) { in ToLocaleString()
117 JSNumberFormat::InitializeNumberFormat(thread, numberFormat, locales, options, cacheable); in ToLocaleString()
119 if (cacheable) { in ToLocaleString()
137 locales, options, intl::GlobalFormatterType::NumberFormatter, cacheable); in ToLocaleString()
Dbuiltins_number.cpp309 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in ToLocaleString() local
311 if (cacheable) { in ToLocaleString()
325 JSNumberFormat::InitializeNumberFormat(thread, numberFormat, locales, options, cacheable); in ToLocaleString()
327 if (cacheable) { in ToLocaleString()
345 locales, options, intl::GlobalFormatterType::NumberFormatter, cacheable); in ToLocaleString()
Dbuiltins_string.cpp545 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in LocaleCompare() local
547 if (cacheable) { in LocaleCompare()
560 JSCollator::InitializeCollator(thread, collator, locales, options, cacheable); in LocaleCompare()
563 if (cacheable) { in LocaleCompare()
577 locales, options, intl::GlobalFormatterType::Collator, cacheable); in LocaleCompare()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp2403 …[[maybe_unused]] bool cacheable = options->IsUndefined() && (locales->IsUndefined() || locales->Is… in DEF_RUNTIME_STUBS() local
2405 if (cacheable) { in DEF_RUNTIME_STUBS()
2418 JSCollator::InitializeCollator(thread, collator, locales, options, cacheable, true); in DEF_RUNTIME_STUBS()
2421 if (cacheable) { in DEF_RUNTIME_STUBS()
2435 locales, options, intl::GlobalFormatterType::Collator, cacheable); in DEF_RUNTIME_STUBS()