Home
last modified time | relevance | path

Searched refs:localeMatcher (Results 1 - 9 of 9) sorted by relevance

/base/global/i18n/frameworks/intl/src/
H A Dplural_rules.cpp65 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions()
66 localeMatcher = (localeMatcher == "") ? "best fit" : localeMatcher; in ParseAllOptions()
H A Dcollator.cpp48 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions()
49 if (localeMatcher == "") { in ParseAllOptions()
50 localeMatcher = "best fit"; in ParseAllOptions()
285 options.insert(std::pair<std::string, std::string>("localeMatcher", localeMatcher)); in ResolvedOptions()
H A Dnumber_format.cpp316 if (configs.count("localeMatcher") > 0) { in ParseDigitsConfigs()
317 localeMatcher = configs["localeMatcher"]; in ParseDigitsConfigs()
447 if (!localeMatcher.empty()) { in GetDigitsResolvedOptions()
448 map.insert(std::make_pair("localeMatcher", localeMatcher)); in GetDigitsResolvedOptions()
540 return localeMatcher; in GetLocaleMatcher()
H A Ddate_time_format.cpp400 if (configs.count("localeMatcher") > 0) { in ParseConfigsPartTwo()
401 localeMatcher = configs["localeMatcher"]; in ParseConfigsPartTwo()
694 if (!localeMatcher.empty()) { in GetAdditionalResolvedOptions()
695 map.insert(std::make_pair("localeMatcher", localeMatcher)); in GetAdditionalResolvedOptions()
/base/global/i18n/frameworks/intl/include/
H A Dplural_rules.h45 std::string localeMatcher; member in OHOS::Global::I18n::PluralRules
H A Dcollator.h48 std::string localeMatcher; member in OHOS::Global::I18n::Collator
H A Dnumber_format.h82 std::string localeMatcher; member in OHOS::Global::I18n::NumberFormat
H A Ddate_time_format.h79 std::string localeMatcher; member in OHOS::Global::I18n::DateTimeFormat
/base/global/i18n/interfaces/js/kits/src/
H A Dintl_addon.cpp266 GetOptionValue(env, options, "localeMatcher", map); in GetDateOptionValues()
273 GetOptionValue(env, options, "localeMatcher", map); in GetRelativeTimeOptionValues()
565 GetOptionValue(env, options, "localeMatcher", map); in GetNumberOptionValues()
1098 SetOptionProperties(env, result, options, "localeMatcher"); in GetDateTimeResolvedOptions()
1137 SetOptionProperties(env, result, options, "localeMatcher"); in GetNumberResolvedOptions()
1168 GetOptionValue(env, options, "localeMatcher", map); in GetCollatorLocaleMatcher()
1169 auto it = map.find("localeMatcher"); in GetCollatorLocaleMatcher()
1171 std::string localeMatcher = it->second; in GetCollatorLocaleMatcher() local
1172 if (localeMatcher != "lookup" && localeMatcher ! in GetCollatorLocaleMatcher()
[all...]

Completed in 11 milliseconds