Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_date.cpp254 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in ToLocaleString() local
256 if (cacheable) { in ToLocaleString()
272 IcuCacheType type = cacheable ? IcuCacheType::DEFAULT : IcuCacheType::NOT_CACHE; in ToLocaleString()
276 if (cacheable) { in ToLocaleString()
295 locales, options, intl::GlobalFormatterType::DateFormatter, cacheable); in ToLocaleString()
335 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in ToLocaleDateString() local
337 if (cacheable) { in ToLocaleDateString()
353 IcuCacheType type = cacheable ? IcuCacheType::DATE : IcuCacheType::NOT_CACHE; in ToLocaleDateString()
357 if (cacheable) { in ToLocaleDateString()
376 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.cpp335 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in ToLocaleString() local
337 if (cacheable) { in ToLocaleString()
351 JSNumberFormat::InitializeNumberFormat(thread, numberFormat, locales, options, cacheable); in ToLocaleString()
353 if (cacheable) { in ToLocaleString()
371 locales, options, intl::GlobalFormatterType::NumberFormatter, cacheable); in ToLocaleString()
Dbuiltins_string.h164 JSHandle<JSTaggedValue> options, bool cacheable);
Dbuiltins_string.cpp549 …[[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUn… in LocaleCompare() local
551 if (cacheable) { in LocaleCompare()
564 JSCollator::InitializeCollator(thread, collator, locales, options, cacheable); in LocaleCompare()
567 if (cacheable) { in LocaleCompare()
581 locales, options, intl::GlobalFormatterType::Collator, cacheable); in LocaleCompare()
595 JSHandle<JSTaggedValue> options, bool cacheable) in LocaleCompareGC() argument
603 JSCollator::InitializeCollator(thread, collator, locales, options, cacheable); in LocaleCompareGC()
606 if (cacheable) { in LocaleCompareGC()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp3077 …[[maybe_unused]] bool cacheable = options->IsUndefined() && (locales->IsUndefined() || locales->Is… in DEF_RUNTIME_STUBS() local
3079 if (cacheable) { in DEF_RUNTIME_STUBS()
3092 JSCollator::InitializeCollator(thread, collator, locales, options, cacheable, true); in DEF_RUNTIME_STUBS()
3095 if (cacheable) { in DEF_RUNTIME_STUBS()
3109 locales, options, intl::GlobalFormatterType::Collator, cacheable); in DEF_RUNTIME_STUBS()
3296 bool cacheable = options->IsUndefined() && (locales->IsUndefined() || locales->IsString()); in DEF_RUNTIME_STUBS() local
3298 options, cacheable).GetRawData(); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp1896 … GateRef cacheable = BoolAnd(BoolOr(localesIsUndef, TaggedIsString(locales)), optionsIsUndef); in LocaleCompare() local
1901 Branch(cacheable, &cacheAble, &uncacheable); in LocaleCompare()