Searched refs:localeMatcher (Results 1 - 9 of 9) sorted by relevance
/base/global/i18n/frameworks/intl/src/ |
H A D | plural_rules.cpp | 65 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions() 66 localeMatcher = (localeMatcher == "") ? "best fit" : localeMatcher; in ParseAllOptions()
|
H A D | collator.cpp | 48 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 D | number_format.cpp | 316 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 D | date_time_format.cpp | 400 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 D | plural_rules.h | 45 std::string localeMatcher; member in OHOS::Global::I18n::PluralRules
|
H A D | collator.h | 48 std::string localeMatcher; member in OHOS::Global::I18n::Collator
|
H A D | number_format.h | 82 std::string localeMatcher; member in OHOS::Global::I18n::NumberFormat
|
H A D | date_time_format.h | 79 std::string localeMatcher; member in OHOS::Global::I18n::DateTimeFormat
|
/base/global/i18n/interfaces/js/kits/src/ |
H A D | intl_addon.cpp | 266 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