Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_date.cpp249 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined(); in ToLocaleString() local
251 if (cacheable) { in ToLocaleString()
267 IcuCacheType type = cacheable ? IcuCacheType::DEFAULT : IcuCacheType::NOT_CACHE; in ToLocaleString()
271 if (cacheable) { in ToLocaleString()
290 locales, options, intl::GlobalFormatterType::DateFormatter, cacheable); in ToLocaleString()
330 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined(); in ToLocaleDateString() local
332 if (cacheable) { in ToLocaleDateString()
348 IcuCacheType type = cacheable ? IcuCacheType::DATE : IcuCacheType::NOT_CACHE; in ToLocaleDateString()
352 if (cacheable) { in ToLocaleDateString()
371 locales, options, intl::GlobalFormatterType::SimpleDateFormatDate, cacheable); in ToLocaleDateString()
411 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined(); ToLocaleTimeString() local
[all...]
H A Dbuiltins_bigint.cpp111 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined(); in ToLocaleString() local
113 if (cacheable) { in ToLocaleString()
127 JSNumberFormat::InitializeNumberFormat(thread, numberFormat, locales, options, cacheable); in ToLocaleString()
129 if (cacheable) { in ToLocaleString()
147 locales, options, intl::GlobalFormatterType::NumberFormatter, cacheable); in ToLocaleString()
H A Dbuiltins_number.cpp310 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined(); in ToLocaleString() local
312 if (cacheable) { in ToLocaleString()
326 JSNumberFormat::InitializeNumberFormat(thread, numberFormat, locales, options, cacheable); in ToLocaleString()
328 if (cacheable) { in ToLocaleString()
346 locales, options, intl::GlobalFormatterType::NumberFormatter, cacheable); in ToLocaleString()
H A Dbuiltins_string.cpp543 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined(); in DoLocaleCompare() local
546 if (cacheable) { in DoLocaleCompare()
553 return LocaleCompareGC(thread, thisHandle, thatHandle, locales, options, csOption, cacheable); in DoLocaleCompare()
560 locales, options, intl::GlobalFormatterType::Collator, cacheable); in DoLocaleCompare()
578 bool cacheable) in LocaleCompareGC()
586 JSCollator::InitializeCollator(thread, collator, locales, options, cacheable); in LocaleCompareGC()
589 if (cacheable) { in LocaleCompareGC()
572 LocaleCompareGC(JSThread *thread, const JSHandle<EcmaString> &thisHandle, const JSHandle<EcmaString> &thatHandle, const JSHandle<JSTaggedValue> &locales, const JSHandle<JSTaggedValue> &options, CompareStringsOption csOption, bool cacheable) LocaleCompareGC() argument
H A Dbuiltins_string.h181 bool cacheable);
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_string_stub_builder.cpp2442 GateRef cacheable = LogicAndBuilder(env).And(localesIsUndefOrString).And(TaggedIsUndefined(options)).Done(); in LocaleCompare() local
2447 BRANCH(cacheable, &cacheAble, &uncacheable); in LocaleCompare()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp3839 bool cacheable = options->IsUndefined() && (locales->IsUndefined() || locales->IsString()); in DEF_RUNTIME_STUBS() local
3842 options, csOption, cacheable).GetRawData(); in DEF_RUNTIME_STUBS()

Completed in 23 milliseconds