| /arkcompiler/ets_runtime/ecmascript/tests/ |
| H A D | locale_helper_test.cpp | 112 JSHandle<EcmaString> locale = factory-> NewFromStdString("en-Us"); in HWTEST_F_L0() local [all...] |
| H A D | js_locale_test.cpp | 100 JSHandle<JSLocale> locale = in HWTEST_F_L0() local [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| H A D | escompat_Date.cpp | 62 extern "C" EtsString *EscompatDateGetLocaleString(EtsString *format, EtsString *locale, int64_t ms, uint8_t isUtc) in EscompatDateGetLocaleString() argument
|
| H A D | std_core_Double.cpp | 62 EtsString *StdCoreDoubleToLocaleString(ObjectHeader *obj, EtsString *locale) in StdCoreDoubleToLocaleString() argument
|
| H A D | std_core_String.cpp | 282 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 D | IntlNumberFormat.cpp | 41 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 D | builtins_displaynames_test.cpp | 28 static JSTaggedValue JSDisplayNamesCreateWithOptionTest(JSThread *thread, JSHandle<JSTaggedValue> &locale,
in JSDisplayNamesCreateWithOptionTest() argument [all...] |
| H A D | builtins_list_format_first_test.cpp | 90 JSHandle<EcmaString> CommonTest(JSThread* thread, JSHandle<JSTaggedValue>& locale, JSHandle<JSTaggedValue>& typeValue, in CommonTest() argument [all...] |
| H A D | builtins_list_format_second_test.cpp | 31 JSTaggedValue CommonTest(JSThread* thread, JSHandle<JSTaggedValue>& locale, JSHandle<JSTaggedValue>& typeValue, in CommonTest() argument [all...] |
| H A D | builtins_plural_rules_test.cpp | 51 static JSTaggedValue JSPluralRulesCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSPluralRulesCreateWithLocaleTest() argument
|
| H A D | builtins_relative_time_format_test.cpp | 51 static JSTaggedValue JSRelativeTimeFormatCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, in JSRelativeTimeFormatCreateWithLocaleTest() argument [all...] |
| H A D | builtin_test_util.h | 186 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 D | builtins_number_format_test.cpp | 52 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 D | builtins_segmenter_test.cpp | 30 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 D | builtins_collator_test.cpp | 129 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 D | builtins_locale_test.cpp | 344 JSHandle<EcmaString> locale = factory->NewFromASCII("zh"); in JSLocaleCreateWithOptionsTagsTest() local 447 JSHandle<EcmaString> locale = factory->NewFromASCII("en-US"); in HWTEST_F_L0() local
|
| H A D | builtins_string_test.cpp | 614 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 D | builtins_locale.cpp | 42 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 D | builtins_collator_stub_builder.cpp | 48 GateRef locale = Load(VariableType::JS_ANY(), thisValue, IntPtr(JSCollator::LOCALE_OFFSET)); in ResolvedOptions() local
|
| /arkcompiler/ets_runtime/ecmascript/intl/ |
| H A D | locale_helper.h | 158 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 D | locale_helper.cpp | 174 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 D | js_plural_rules.cpp | 118 const char *locale = nullptr; in GetNextLocale() local [all...] |
| H A D | ecma_context.h | 331 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 D | ecma_string.h | 1477 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 D | string_helper.h | 152 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
|