Home
last modified time | relevance | path

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

/base/global/i18n/frameworks/intl/src/
Dcollator.cpp70 collation = ParseOption(options, "collation"); in ParseAllOptions()
101 bool Collator::IsValidCollation(std::string &collation) in IsValidCollation() argument
104 const char *currentCollation = uloc_toLegacyType("collation", collation.c_str()); in IsValidCollation()
131 if (collation != "") { in SetCollation()
132 if (IsValidCollation(collation)) { in SetCollation()
133 locale.setUnicodeKeywordValue("co", collation, status); in SetCollation()
135 collation = "default"; in SetCollation()
139 collation = localeInfo->GetCollation(); in SetCollation()
140 if (collation != "") { in SetCollation()
141 if (IsValidCollation(collation)) { in SetCollation()
[all …]
Dlocale_info.cpp48 collation = ""; in ResetFinalLocaleStatus()
110 if (!hourCycle.empty() || !numberingSystem.empty() || !calendar.empty() || !collation.empty() || in ComputeFinalLocaleTag()
123 if (!collation.empty()) { in ComputeFinalLocaleTag()
124 finalLocaleTag += collationTag + collation; in ComputeFinalLocaleTag()
150 collation = localeTag.substr(localeTag.find(collationTag) + CONFIG_TAG_LEN); in ParseLocaleTag()
151 collation = collation.substr(0, collation.find(flag)); in ParseLocaleTag()
181 collation = configs["collation"]; in ParseConfigs()
220 return collation; in GetCollation()
Dtaboo.cpp192 void Taboo::SplitValue(const std::string& value, std::set<std::string>& collation) in SplitValue() argument
198 collation.insert(value.substr(startPos)); in SplitValue()
201 collation.insert(value.substr(startPos, endPos - startPos)); in SplitValue()
/base/global/i18n/frameworks/intl/include/
Dcollator.h54 std::string collation; variable
64 bool IsValidCollation(std::string &collation);
Dtaboo.h46 void SplitValue(const std::string& value, std::set<std::string>& collation);
Dlocale_info.h59 std::string collation; variable
/base/global/i18n/interfaces/js/kits/src/
Dintl_addon.cpp1281 std::string collation = it->second; in GetCollatorCollation() local
1299 if (validCollation.find(collation) == validCollation.end()) { in GetCollatorCollation()