Searched refs:numberInfo (Results 1 - 4 of 4) sorted by relevance
/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | plural_format_impl.cpp | 88 int numberInfo[NUMBER_INFO_SIZE];
in GetPluralRuleIndex() local 89 ComputeDecimalInfo(number, integerNumber, numberInfo, NUMBER_INFO_SIZE);
in GetPluralRuleIndex() 91 mDecimalPluralRules->mZeroRuleSize, numberInfo, NUMBER_INFO_SIZE)) {
in GetPluralRuleIndex() 94 mDecimalPluralRules->mOneRuleSize, numberInfo, NUMBER_INFO_SIZE)) {
in GetPluralRuleIndex() 97 mDecimalPluralRules->mTwoRuleSize, numberInfo, NUMBER_INFO_SIZE)) {
in GetPluralRuleIndex() 100 mDecimalPluralRules->mFewRuleSize, numberInfo, NUMBER_INFO_SIZE)) {
in GetPluralRuleIndex() 103 mDecimalPluralRules->mManyRuleSize, numberInfo, NUMBER_INFO_SIZE)) {
in GetPluralRuleIndex() 106 if (!CheckContainsIntegerRule() && numberInfo[FRACTION_NUMBER_INDEX] == 0) {
in GetPluralRuleIndex() 135 void PluralFormatImpl::ComputeDecimalInfo(double number, int integerNumber, int *numberInfo,
in ComputeDecimalInfo() argument 158 numberInfo[INTEGER_NUMBER_INDE in ComputeDecimalInfo() 163 ParseDecimalRule(const std::string &rule, const int ruleSize, const int *numberInfo, const int numberInfoSize) const ParseDecimalRule() argument 203 ParseDecimalFormula(const std::string &rule, const int ruleSize, int &index, const int *numberInfo, const int numberInfoSize) const ParseDecimalFormula() argument [all...] |
/base/global/i18n_lite/frameworks/i18n/include/ |
H A D | plural_format_impl.h | 44 bool ParseDecimalRule(const std::string &rule, const int ruleSize, const int *numberInfo,
46 bool ParseDecimalFormula(const std::string &rule, const int ruleSize, int &index, const int *numberInfo,
48 void ComputeDecimalInfo(double number, int integerNumber, int *numberInfo, const int numberInfoSize) const;
|
/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/ |
H A D | regex_rule.cpp | 378 MatchedNumberInfo numberInfo; in HandleSlant() local 399 numberInfo.SetBegin(tempList[1].GetBegin() + start + possibleNumber->start()); in HandleSlant() 400 numberInfo.SetEnd(tempList[1].GetEnd() + possibleNumber->start()); in HandleSlant() 402 numberInfo.SetContent(contentSecond); in HandleSlant() 403 matchedNumberInfoList.push_back(numberInfo); in HandleSlant()
|
H A D | positive_rule.cpp | 189 MatchedNumberInfo numberInfo; in HandleSlant() local 210 numberInfo.SetBegin(tempList[1].GetBegin() + start + possibleNumber->start()); in HandleSlant() 211 numberInfo.SetEnd(tempList[1].GetEnd() + possibleNumber->start()); in HandleSlant() 213 numberInfo.SetContent(contentSecond); in HandleSlant() 214 matchedNumberInfoList.push_back(numberInfo); in HandleSlant()
|
Completed in 3 milliseconds