/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | PluralSamples.java | 39 private PluralRules pluralRules; field in PluralSamples 56 public PluralSamples(PluralRules pluralRules) { in PluralSamples() argument 57 this.pluralRules = pluralRules; in PluralSamples() 58 Set<String> keywords = pluralRules.getKeywords(); in PluralSamples() 68 temp.put(k, pluralRules.isLimited(k)); in PluralSamples() 78 …keywordsRemaining = addSimpleSamples(pluralRules, MAX_SAMPLES, sampleMap, keywordsRemaining, i / 2… in PluralSamples() 81 …keywordsRemaining = addSimpleSamples(pluralRules, MAX_SAMPLES, sampleMap, keywordsRemaining, 10000… in PluralSamples() 90 String keyword = pluralRules.select(s); in PluralSamples() 104 …("Failed to find sample for each keyword: " + foundKeywords + "\n\t" + pluralRules + "\n\t" + ment… in PluralSamples() 113 String keyword = pluralRules.select(s); in PluralSamples() [all …]
|
D | CurrencyPluralInfo.java | 101 return pluralRules; in getPluralRules() 146 pluralRules = PluralRules.createRules(ruleDescription); in setPluralRules() 207 return pluralRules.equals(other.pluralRules) && in equals() 221 ^ pluralRules.hashCode() in hashCode() 233 return pluralRules.select(number); in select() 244 return pluralRules.select(numberInfo); in select() 261 pluralRules = PluralRules.forLocale(uloc); in initialize() 322 private PluralRules pluralRules = null; field in CurrencyPluralInfo
|
D | PluralFormat.java | 149 private PluralRules pluralRules = null; field in PluralFormat 378 pluralRules = (rules == null) ? PluralRules.forLocale(ulocale, type) in init() 546 return pluralRules.select(dec); in select() 818 Objects.equals(pluralRules, pf.pluralRules) && in equals() 837 return pluralRules.hashCode() ^ parsedValues.hashCode(); in hashCode() 847 buf.append(", rules='" + pluralRules + "'"); in toString()
|
D | QuantityFormatter.java | 64 public String format(double number, NumberFormat numberFormat, PluralRules pluralRules) { in format() argument 66 StandardPlural p = selectPlural(number, numberFormat, pluralRules); in format()
|
D | TimeUnitFormat.java | 96 private transient PluralRules pluralRules; field in TimeUnitFormat 347 pluralRules = PluralRules.forLocale(locale); in setup() 349 Set<String> pluralKeywords = pluralRules.getKeywords(); in setup() 465 Set<String> keywords = pluralRules.getKeywords(); in setup()
|
D | RelativeDateTimeFormatter.java | 615 pluralKeyword = pluralRules.select(dq); in formatImpl() 619 pluralKeyword = pluralRules.select(quantity); in formatImpl() 975 PluralRules pluralRules, in RelativeDateTimeFormatter() argument 984 this.pluralRules = pluralRules; in RelativeDateTimeFormatter() 1032 private final PluralRules pluralRules; field in RelativeDateTimeFormatter
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyPluralInfo.java | 109 return pluralRules; in getPluralRules() 158 pluralRules = PluralRules.createRules(ruleDescription); in setPluralRules() 225 return pluralRules.equals(other.pluralRules) && in equals() 239 ^ pluralRules.hashCode() in hashCode() 251 return pluralRules.select(number); in select() 262 return pluralRules.select(numberInfo); in select() 279 pluralRules = PluralRules.forLocale(uloc); in initialize() 340 private PluralRules pluralRules = null; field in CurrencyPluralInfo
|
D | PluralFormat.java | 149 private PluralRules pluralRules = null; field in PluralFormat 391 pluralRules = (rules == null) ? PluralRules.forLocale(ulocale, type) in init() 561 return pluralRules.select(dec); in select() 844 Objects.equals(pluralRules, pf.pluralRules) && in equals() 865 return pluralRules.hashCode() ^ parsedValues.hashCode(); in hashCode() 876 buf.append(", rules='" + pluralRules + "'"); in toString()
|
D | QuantityFormatter.java | 63 public String format(double number, NumberFormat numberFormat, PluralRules pluralRules) { in format() argument 65 StandardPlural p = selectPlural(number, numberFormat, pluralRules); in format()
|
D | TimeUnitFormat.java | 94 private transient PluralRules pluralRules; field in TimeUnitFormat 345 pluralRules = PluralRules.forLocale(locale); in setup() 347 Set<String> pluralKeywords = pluralRules.getKeywords(); in setup() 463 Set<String> keywords = pluralRules.getKeywords(); in setup()
|
D | RelativeDateTimeFormatter.java | 695 pluralKeyword = pluralRules.select(dq); in formatImpl() 699 pluralKeyword = pluralRules.select(quantity); in formatImpl() 1065 PluralRules pluralRules, in RelativeDateTimeFormatter() argument 1074 this.pluralRules = pluralRules; in RelativeDateTimeFormatter() 1122 private final PluralRules pluralRules; field in RelativeDateTimeFormatter
|
/third_party/node/deps/icu-small/source/i18n/ |
D | plurfmt.cpp | 155 if (pluralRulesWrapper.pluralRules != nullptr) { in copyObjects() 156 delete pluralRulesWrapper.pluralRules; in copyObjects() 164 if (other.pluralRulesWrapper.pluralRules == nullptr) { in copyObjects() 165 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, status); in copyObjects() 167 pluralRulesWrapper.pluralRules = other.pluralRulesWrapper.pluralRules->clone(); in copyObjects() 183 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, type, status); in init() 185 pluralRulesWrapper.pluralRules = rules->clone(); in init() 186 if (pluralRulesWrapper.pluralRules == nullptr) { in init() 398 … (pluralRulesWrapper.pluralRules == nullptr) == (o.pluralRulesWrapper.pluralRules == nullptr) && in operator ==() 399 (pluralRulesWrapper.pluralRules == nullptr || in operator ==() [all …]
|
D | measfmt.cpp | 357 pluralRules(nullptr), in MeasureFormat() 370 pluralRules(nullptr), in MeasureFormat() 380 pluralRules(other.pluralRules), in MeasureFormat() 385 pluralRules->addRef(); in MeasureFormat() 398 SharedObject::copyPtr(other.pluralRules, pluralRules); in operator =() 412 pluralRules(nullptr), in MeasureFormat() 424 if (pluralRules != nullptr) { in ~MeasureFormat() 425 pluralRules->removeRef(); in ~MeasureFormat() 605 SharedObject::copyPtr(pr, pluralRules); in initMeasureFormat() 663 return **pluralRules; in getPluralRules() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | plurfmt.cpp | 155 if (pluralRulesWrapper.pluralRules != NULL) { in copyObjects() 156 delete pluralRulesWrapper.pluralRules; in copyObjects() 164 if (other.pluralRulesWrapper.pluralRules == NULL) { in copyObjects() 165 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, status); in copyObjects() 167 pluralRulesWrapper.pluralRules = other.pluralRulesWrapper.pluralRules->clone(); in copyObjects() 183 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, type, status); in init() 185 pluralRulesWrapper.pluralRules = rules->clone(); in init() 186 if (pluralRulesWrapper.pluralRules == NULL) { in init() 398 (pluralRulesWrapper.pluralRules == NULL) == (o.pluralRulesWrapper.pluralRules == NULL) && in operator ==() 399 (pluralRulesWrapper.pluralRules == NULL || in operator ==() [all …]
|
D | measfmt.cpp | 357 pluralRules(NULL), in MeasureFormat() 370 pluralRules(NULL), in MeasureFormat() 380 pluralRules(other.pluralRules), in MeasureFormat() 385 pluralRules->addRef(); in MeasureFormat() 398 SharedObject::copyPtr(other.pluralRules, pluralRules); in operator =() 412 pluralRules(NULL), in MeasureFormat() 424 if (pluralRules != NULL) { in ~MeasureFormat() 425 pluralRules->removeRef(); in ~MeasureFormat() 605 SharedObject::copyPtr(pr, pluralRules); in initMeasureFormat() 663 return **pluralRules; in getPluralRules() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | plurfmt.cpp | 155 if (pluralRulesWrapper.pluralRules != NULL) { in copyObjects() 156 delete pluralRulesWrapper.pluralRules; in copyObjects() 164 if (other.pluralRulesWrapper.pluralRules == NULL) { in copyObjects() 165 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, status); in copyObjects() 167 pluralRulesWrapper.pluralRules = other.pluralRulesWrapper.pluralRules->clone(); in copyObjects() 183 pluralRulesWrapper.pluralRules = PluralRules::forLocale(locale, type, status); in init() 185 pluralRulesWrapper.pluralRules = rules->clone(); in init() 186 if (pluralRulesWrapper.pluralRules == NULL) { in init() 398 (pluralRulesWrapper.pluralRules == NULL) == (o.pluralRulesWrapper.pluralRules == NULL) && in operator ==() 399 (pluralRulesWrapper.pluralRules == NULL || in operator ==() [all …]
|
D | measfmt.cpp | 357 pluralRules(NULL), in MeasureFormat() 370 pluralRules(NULL), in MeasureFormat() 380 pluralRules(other.pluralRules), in MeasureFormat() 385 pluralRules->addRef(); in MeasureFormat() 398 SharedObject::copyPtr(other.pluralRules, pluralRules); in operator =() 412 pluralRules(NULL), in MeasureFormat() 424 if (pluralRules != NULL) { in ~MeasureFormat() 425 pluralRules->removeRef(); in ~MeasureFormat() 605 SharedObject::copyPtr(pr, pluralRules); in initMeasureFormat() 663 return **pluralRules; in getPluralRules() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | DecimalFormatProperties.java | 125 private transient PluralRules pluralRules; field in DecimalFormatProperties 197 pluralRules = null; in _clear() 243 pluralRules = other.pluralRules; in _copyFrom() 290 eq = eq && _equalsHelper(pluralRules, other.pluralRules); in _equals() 353 hashCode ^= _hashCodeHelper(pluralRules); in _hashCode() 552 return pluralRules; in getPluralRules() 1201 public DecimalFormatProperties setPluralRules(PluralRules pluralRules) { in setPluralRules() argument 1202 this.pluralRules = pluralRules; in setPluralRules()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalFormatProperties.java | 121 private transient PluralRules pluralRules; field in DecimalFormatProperties 194 pluralRules = null; in _clear() 241 pluralRules = other.pluralRules; in _copyFrom() 289 eq = eq && _equalsHelper(pluralRules, other.pluralRules); in _equals() 353 hashCode ^= _hashCodeHelper(pluralRules); in _hashCode() 556 return pluralRules; in getPluralRules() 1217 public DecimalFormatProperties setPluralRules(PluralRules pluralRules) { in setPluralRules() argument 1218 this.pluralRules = pluralRules; in setPluralRules()
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | plurfmt.h | 546 PluralSelectorAdapter() : pluralRules(nullptr) { in PluralSelectorAdapter() 555 PluralRules* pluralRules; variable
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | plurfmt.h | 546 PluralSelectorAdapter() : pluralRules(NULL) { in PluralSelectorAdapter() 555 PluralRules* pluralRules; variable
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | plurfmt.h | 546 PluralSelectorAdapter() : pluralRules(NULL) { in PluralSelectorAdapter() 555 PluralRules* pluralRules; variable
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | PluralRulesTest.java | 906 PluralRules pluralRules = factory.forLocale(locale); 914 … KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue); 915 … assertEquals(getAssertMessage("Unique Value", locale, pluralRules, keyword), uniqueExpected, 917 …assertEquals(getAssertMessage("Keyword Status", locale, pluralRules, keyword), statusExpected, sta… 921 … status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL); 922 … assertEquals(getAssertMessage("Unique Value - decimal", locale, pluralRules, keyword), 924 … assertEquals(getAssertMessage("Keyword Status - decimal", locale, pluralRules, keyword), 929 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, null, uniqueValue);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberFormatterImpl.java | 403 PluralRules pluralRules = macros.rules != null ? in macrosToMicroGenerator() local 414 pluralRules, in macrosToMicroGenerator() 422 pluralRules, in macrosToMicroGenerator() 442 pluralRules, in macrosToMicroGenerator()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 1207 PluralRules pluralRules = factory.forLocale(locale); 1215 … KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue); 1216 … assertEquals(getAssertMessage("Unique Value", locale, pluralRules, keyword), uniqueExpected, 1218 …assertEquals(getAssertMessage("Keyword Status", locale, pluralRules, keyword), statusExpected, sta… 1222 … status = pluralRules.getKeywordStatus(keyword, 0, explicits, uniqueValue, SampleType.DECIMAL); 1223 … assertEquals(getAssertMessage("Unique Value - decimal", locale, pluralRules, keyword), 1225 … assertEquals(getAssertMessage("Keyword Status - decimal", locale, pluralRules, keyword), 1230 KeywordStatus status = pluralRules.getKeywordStatus(keyword, 0, null, uniqueValue);
|