Home
last modified time | relevance | path

Searched defs:locale (Results 1 - 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/tests/
H A Dlocale_helper_test.cpp112 JSHandle<EcmaString> locale = factory-> NewFromStdString("en-Us"); in HWTEST_F_L0() local
[all...]
H A Djs_locale_test.cpp100 JSHandle<JSLocale> locale = in HWTEST_F_L0() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Descompat_Date.cpp62 extern "C" EtsString *EscompatDateGetLocaleString(EtsString *format, EtsString *locale, int64_t ms, uint8_t isUtc) in EscompatDateGetLocaleString() argument
H A Dstd_core_Double.cpp62 EtsString *StdCoreDoubleToLocaleString(ObjectHeader *obj, EtsString *locale) in StdCoreDoubleToLocaleString() argument
H A Dstd_core_String.cpp282 EtsString *ToLowerCase(EtsString *thisStr, const icu::Locale &locale) in ToLowerCase() argument
298 EtsString *ToUpperCase(EtsString *thisStr, const icu::Locale &locale) in ToUpperCase() argument
314 UErrorCode ParseSingleBCP47LanguageTag(EtsString *langTag, icu::Locale &locale) in ParseSingleBCP47LanguageTag() argument
343 icu::Locale locale; in StdCoreStringToLocaleUpperCase() local
357 icu::Locale locale; StdCoreStringToLocaleLowerCase() local
371 icu::Locale locale; StdCoreStringLocaleCmp() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/native/core/
H A DIntlNumberFormat.cpp41 const icu::number::LocalizedNumberFormatter &FormattersCacheInvalidation(EtsEnv *env, ets_string locale) in FormattersCacheInvalidation() argument
71 ets_string IcuFormatDouble(EtsEnv *env, [[maybe_unused]] ets_class klass, ets_string locale, ets_double value) in IcuFormatDouble() argument
85 ets_string IcuFormatDecimal(EtsEnv *env, [[maybe_unused]] ets_class klass, ets_string locale, ets_string value) in IcuFormatDecimal() argument
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_displaynames_test.cpp28 static JSTaggedValue JSDisplayNamesCreateWithOptionTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSDisplayNamesCreateWithOptionTest() argument
[all...]
H A Dbuiltins_list_format_first_test.cpp90 JSHandle<EcmaString> CommonTest(JSThread* thread, JSHandle<JSTaggedValue>& locale, JSHandle<JSTaggedValue>& typeValue, in CommonTest() argument
[all...]
H A Dbuiltins_list_format_second_test.cpp31 JSTaggedValue CommonTest(JSThread* thread, JSHandle<JSTaggedValue>& locale, JSHandle<JSTaggedValue>& typeValue, in CommonTest() argument
[all...]
H A Dbuiltins_plural_rules_test.cpp51 static JSTaggedValue JSPluralRulesCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSPluralRulesCreateWithLocaleTest() argument
H A Dbuiltins_relative_time_format_test.cpp51 static JSTaggedValue JSRelativeTimeFormatCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSRelativeTimeFormatCreateWithLocaleTest() argument
[all...]
H A Dbuiltin_test_util.h186 static JSTaggedValue JSDateTimeFormatCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale) in JSDateTimeFormatCreateWithLocaleTest() argument
206 static JSTaggedValue JSListFormatCreateWithOptionTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSListFormatCreateWithOptionTest() argument
H A Dbuiltins_number_format_test.cpp52 BuiltinsFormatTest(JSThread *thread, JSHandle<JSObject> &options, JSHandle<JSTaggedValue> &number, JSHandle<JSTaggedValue> &locale) BuiltinsFormatTest() argument
211 NumberFormatCreateTest(JSThread *thread, JSHandle<JSObject> &options, JSHandle<JSTaggedValue> &locale) NumberFormatCreateTest() argument
H A Dbuiltins_segmenter_test.cpp30 static JSTaggedValue JSSegmenterCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale) in JSSegmenterCreateWithLocaleTest() argument
48 static JSTaggedValue JSSegmenterCreateWithLocaleAndOptionsTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSSegmenterCreateWithLocaleAndOptionsTest() argument
74 static JSTaggedValue JSSegmentsCreateTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSSegmentsCreateTest() argument
[all...]
H A Dbuiltins_collator_test.cpp129 static JSTaggedValue JSCollatorCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale) in JSCollatorCreateWithLocaleTest() argument
142 static JSTaggedValue JSCollatorCreateWithLocaleAndOptionsTest(JSThread *thread, JSHandle<JSTaggedValue> &locale) in JSCollatorCreateWithLocaleAndOptionsTest() argument
[all...]
H A Dbuiltins_locale_test.cpp344 JSHandle<EcmaString> locale = factory->NewFromASCII("zh"); in JSLocaleCreateWithOptionsTagsTest() local
447 JSHandle<EcmaString> locale = factory->NewFromASCII("en-US"); in HWTEST_F_L0() local
H A Dbuiltins_string_test.cpp614 JSHandle<EcmaString> locale = factory->NewFromASCII("zh-Hans"); in HWTEST_F_L0() local
637 JSHandle<EcmaString> locale = factory->NewFromASCII("de"); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_locale.cpp42 JSHandle<JSLocale> locale =JSHandle<JSLocale>::Cast(newObject); in LocaleConstructor() local
95 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); in Maximize() local
128 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); in Minimize() local
177 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetBaseName() local
196 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetCalendar() local
214 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetCaseFirst() local
231 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetCollation() local
248 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetHourCycle() local
266 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetNumeric() local
286 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetNumberingSystem() local
304 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetLanguage() local
330 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetScript() local
361 JSHandle<JSLocale> locale = JSHandle<JSLocale>::Cast(loc); GetRegion() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_collator_stub_builder.cpp48 GateRef locale = Load(VariableType::JS_ANY(), thisValue, IntPtr(JSCollator::LOCALE_OFFSET)); in ResolvedOptions() local
/arkcompiler/ets_runtime/ecmascript/intl/
H A Dlocale_helper.h158 static bool ValidateOtherTags(const icu::Locale &locale, const char *packageName, const char *key, bool &res) in ValidateOtherTags() argument
175 CheckLocales(const icu::Locale &locale, const char *key, const char *packageName, bool &res) CheckLocales() argument
[all...]
H A Dlocale_helper.cpp174 JSHandle<EcmaString> LocaleHelper::CanonicalizeUnicodeLocaleId(JSThread *thread, const JSHandle<EcmaString> &locale) in CanonicalizeUnicodeLocaleId() argument
211 ToStdStringLanguageTag(JSThread *thread, const icu::Locale &locale) ToStdStringLanguageTag() argument
259 ToLanguageTag(JSThread *thread, const icu::Locale &locale) ToLanguageTag() argument
482 BestAvailableLocale(const std::vector<std::string> &availableLocales, const std::string &locale) BestAvailableLocale() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Djs_plural_rules.cpp118 const char *locale = nullptr; in GetNextLocale() local
[all...]
H A Decma_context.h331 void SetDefaultLocale(const std::string& locale) in SetDefaultLocale() argument
377 void SetIcuFormatterToCache(IcuFormatterType type, const std::string &locale, void *icuObj, in SetIcuFormatterToCache() argument
384 ARK_INLINE void *GetIcuFormatterFromCache(IcuFormatterType type, std::string &locale) in GetIcuFormatterFromCache() argument
732 std::string locale; member
[all...]
H A Decma_string.h1477 static EcmaString *ToLocaleLower(const EcmaVM *vm, const JSHandle<EcmaString> &src, const icu::Locale &locale) in ToLocaleLower() argument
1482 static EcmaString *ToLocaleUpper(const EcmaVM *vm, const JSHandle<EcmaString> &src, const icu::Locale &locale) in ToLocaleUpper() argument
/arkcompiler/ets_runtime/ecmascript/base/
H A Dstring_helper.h152 static inline std::string ToLocaleUpper(const std::u16string &str, const icu::Locale &locale) in ToLocaleUpper() argument
172 static inline std::string ToLocaleLower(const std::u16string &str, const icu::Locale &locale) in ToLocaleLower() argument

Completed in 22 milliseconds

12