Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/intl/
Dglobal_intl_helper.cpp27 GlobalIntlHelper::GlobalIntlHelper(JSThread *thread, in GlobalIntlHelper() function in panda::ecmascript::intl::GlobalIntlHelper
49 uint64_t *GlobalIntlHelper::ConvertDateToUnit(uint64_t timestamp) in ConvertDateToUnit()
72 void GlobalIntlHelper::InitCollatorData(const GlobalEnvConstants *globalConst) in InitCollatorData()
85 void GlobalIntlHelper::InitDateData(const GlobalEnvConstants *globalConst) in InitDateData()
110 void GlobalIntlHelper::InitNumberData(const GlobalEnvConstants *globalConst) in InitNumberData()
133 std::map<std::string, std::string> GlobalIntlHelper::OptionsToMap(JSThread *thread, in OptionsToMap()
173 std::map<std::string, std::string> GlobalIntlHelper::OptionsWithDataFormatter(std::map<std::string, in OptionsWithDataFormatter()
195 int64_t GlobalIntlHelper::DoubleToInt64(double value) in DoubleToInt64()
200 std::string GlobalIntlHelper::EcmaConvertToStr(const JSHandle<EcmaString> &string) in EcmaConvertToStr()
205 std::vector<std::string> GlobalIntlHelper::LocalesToVector(JSThread *thread, in LocalesToVector()
[all …]
Dglobal_intl_helper.h61 class GlobalIntlHelper {
63 GlobalIntlHelper(JSThread *thread, const GlobalFormatterType matterType);
64 ~GlobalIntlHelper() in ~GlobalIntlHelper()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_date.cpp293 intl::GlobalIntlHelper gh(thread, intl::GlobalFormatterType::DateFormatter); in ToLocaleString()
300 std::string result = dateFormatter->Format(intl::GlobalIntlHelper::DoubleToInt64(x)); in ToLocaleString()
374 intl::GlobalIntlHelper gh(thread, intl::GlobalFormatterType::SimpleDateFormatDate); in ToLocaleDateString()
381 std::string result = dateFormatter->Format(intl::GlobalIntlHelper::DoubleToInt64(x)); in ToLocaleDateString()
455 intl::GlobalIntlHelper gh(thread, intl::GlobalFormatterType::SimpleDateFormatTime); in ToLocaleTimeString()
462 std::string result = dateFormatter->Format(intl::GlobalIntlHelper::DoubleToInt64(x)); in ToLocaleTimeString()
Dbuiltins_bigint.cpp135 intl::GlobalIntlHelper gh(thread, intl::GlobalFormatterType::NumberFormatter); in ToLocaleString()
Dbuiltins_number.cpp346 intl::GlobalIntlHelper gh(thread, intl::GlobalFormatterType::NumberFormatter); in ToLocaleString()
Dbuiltins_string.cpp575 intl::GlobalIntlHelper gh(thread, intl::GlobalFormatterType::Collator); in LocaleCompare()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp2432 intl::GlobalIntlHelper gh(thread, intl::GlobalFormatterType::Collator); in DEF_RUNTIME_STUBS()