Home
last modified time | relevance | path

Searched refs:numberfmt_ (Results 1 – 2 of 2) sorted by relevance

/base/global/i18n/interfaces/js/kits/include/
Dintl_addon.h121 std::unique_ptr<NumberFormat> numberfmt_ = nullptr; variable
/base/global/i18n/interfaces/js/kits/src/
Dintl_addon.cpp628 numberfmt_ = std::make_unique<NumberFormat>(localeTags, map); in InitNumberFormatContext()
630 return numberfmt_ != nullptr; in InitNumberFormatContext()
1127 if (status != napi_ok || !obj || !obj->numberfmt_) { in GetNumberResolvedOptions()
1134 obj->numberfmt_->GetResolvedOptions(options); in GetNumberResolvedOptions()
1168 if (status != napi_ok || !obj || !obj->numberfmt_) { in FormatNumber()
1172 std::string value = obj->numberfmt_->Format(number); in FormatNumber()