Searched refs:PluralRules (Results 1 – 12 of 12) sorted by relevance
/base/global/i18n/frameworks/intl/src/ |
D | plural_rules.cpp | 41 std::string PluralRules::ParseOption(std::map<std::string, std::string> &options, const std::string… in ParseOption() 51 int PluralRules::GetValidInteger(std::string &integerStr, int minValue, int maxValue, int defaultVa… in GetValidInteger() 67 void PluralRules::ParseAllOptions(std::map<std::string, std::string> &options) in ParseAllOptions() 106 void PluralRules::InitPluralRules(std::vector<std::string> &localeTags, in InitPluralRules() 126 pluralRules = icu::PluralRules::forLocale(locale, uPluralType, status); in InitPluralRules() 140 void PluralRules::InitNumberFormatter() in InitNumberFormatter() 159 PluralRules::PluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &… in PluralRules() function in OHOS::Global::I18n::PluralRules 166 PluralRules::~PluralRules() in ~PluralRules() 174 std::string PluralRules::Select(double number) in Select()
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | plural_rules.cpp | 20 PluralRules::PluralRules(std::string *rules, const int rulesLength, const int *ruleSize, const int … in PluralRules() function in PluralRules 39 PluralRules::~PluralRules() {} in ~PluralRules()
|
D | plural_format_impl.cpp | 57 PluralRules *PluralFormatImpl::InitPluralRules(std::string unprocessedPluralData) in InitPluralRules() 68 return new PluralRules(rules, RULES_NUM, ruleSizes, RULES_NUM); in InitPluralRules() 71 PluralRules *PluralFormatImpl::GetPluralData(I18nStatus status) const in GetPluralData()
|
/base/global/i18n_lite/frameworks/i18n/include/ |
D | plural_rules.h | 24 class PluralRules { 26 …PluralRules(std::string *rules, const int rulesLength, const int *rulesSize, const int sizesLength… 27 virtual ~PluralRules();
|
D | plural_format_impl.h | 35 PluralRules *mPluralRules = nullptr; 36 PluralRules *mDecimalPluralRules = nullptr; 38 PluralRules *GetPluralData(I18nStatus status) const; 49 PluralRules *InitPluralRules(std::string unprocessedPluralData);
|
/base/global/i18n/frameworks/intl/include/ |
D | plural_rules.h | 32 class PluralRules { 34 PluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options); 35 ~PluralRules(); 42 icu::PluralRules *pluralRules = nullptr;
|
/base/global/i18n/frameworks/intl/test/fuzztest/pluralrules_fuzzer/ |
D | pluralrules_fuzzer.cpp | 34 PluralRules pluralRules(localeTags, options); in DoSomethingInterestingWithMyAPI()
|
/base/global/i18n/frameworks/intl/test/unittest/ |
D | intl_test.cpp | 812 PluralRules *plurals = new PluralRules(locales, options); 841 PluralRules *plurals = new PluralRules(locales, options); 863 PluralRules *pluralRules = new PluralRules(locales, options); 887 PluralRules *plurals = new PluralRules(locales, options); 925 PluralRules *plurals = new PluralRules(locales, options);
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | hap_manager.h | 378 std::vector<std::pair<std::string, icu::PluralRules *>> plurRulesCache_;
|
/base/global/i18n/interfaces/js/kits/include/ |
D | intl_addon.h | 126 std::unique_ptr<PluralRules> pluralrules_ = nullptr;
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | hap_manager.cpp | 112 icu::PluralRules *pluralRules = nullptr; in GetPluralRulesAndSelect() 130 pluralRules = icu::PluralRules::forLocale(locale, status); in GetPluralRulesAndSelect()
|
/base/global/i18n/interfaces/js/kits/src/ |
D | intl_addon.cpp | 1750 pluralrules_ = std::make_unique<PluralRules>(localeTags, map); in InitPluralRulesContext()
|