Home
last modified time | relevance | path

Searched refs:PluralFormat (Results 1 – 25 of 61) sorted by relevance

123

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralFormatUnitTest.java31 import ohos.global.icu.text.PluralFormat;
48 PluralFormat plFmts[] = new PluralFormat[10]; in TestConstructor()
49 plFmts[0] = new PluralFormat(); in TestConstructor()
51 plFmts[1] = new PluralFormat(PluralRules.DEFAULT); in TestConstructor()
53 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}"); in TestConstructor()
54 plFmts[3] = new PluralFormat("other{#}"); in TestConstructor()
55 plFmts[4] = new PluralFormat(ULocale.getDefault()); in TestConstructor()
57 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT); in TestConstructor()
59 plFmts[6] = new PluralFormat(ULocale.getDefault(), in TestConstructor()
62 plFmts[7] = new PluralFormat(ULocale.getDefault(), "other{#}"); in TestConstructor()
[all …]
DPluralFormatTest.java24 import ohos.global.icu.text.PluralFormat;
60 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules()
335 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, "one{#kg}other{#kgs}"); in TestFractionRounding()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatUnitTest.java30 import com.ibm.icu.text.PluralFormat;
45 PluralFormat plFmts[] = new PluralFormat[10]; in TestConstructor()
46 plFmts[0] = new PluralFormat(); in TestConstructor()
48 plFmts[1] = new PluralFormat(PluralRules.DEFAULT); in TestConstructor()
50 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}"); in TestConstructor()
51 plFmts[3] = new PluralFormat("other{#}"); in TestConstructor()
52 plFmts[4] = new PluralFormat(ULocale.getDefault()); in TestConstructor()
54 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT); in TestConstructor()
56 plFmts[6] = new PluralFormat(ULocale.getDefault(), in TestConstructor()
59 plFmts[7] = new PluralFormat(ULocale.getDefault(), "other{#}"); in TestConstructor()
[all …]
DPluralFormatTest.java23 import com.ibm.icu.text.PluralFormat;
57 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules()
332 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, "one{#kg}other{#kgs}"); in TestFractionRounding()
/third_party/icu/icu4c/source/i18n/
Dplurfmt.cpp38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
40 PluralFormat::PluralFormat(UErrorCode& status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) in PluralFormat() function in PluralFormat
56 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) in PluralFormat() function in PluralFormat
64 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
74 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
84 PluralFormat::PluralFormat(const UnicodeString& pat, in PluralFormat() function in PluralFormat
94 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
105 PluralFormat::PluralFormat(const PluralRules& rules, in PluralFormat() function in PluralFormat
116 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
[all …]
Dnfrule.h29 class PluralFormat; variable
116 const PluralFormat* rulePatternFormat;
/third_party/node/deps/icu-small/source/i18n/
Dplurfmt.cpp38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
40 PluralFormat::PluralFormat(UErrorCode& status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) in PluralFormat() function in PluralFormat
56 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) in PluralFormat() function in PluralFormat
64 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
74 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
84 PluralFormat::PluralFormat(const UnicodeString& pat, in PluralFormat() function in PluralFormat
94 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
105 PluralFormat::PluralFormat(const PluralRules& rules, in PluralFormat() function in PluralFormat
116 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
[all …]
Dnfrule.h29 class PluralFormat; variable
116 const PluralFormat* rulePatternFormat;
/third_party/skia/third_party/externals/icu/source/i18n/
Dplurfmt.cpp38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
40 PluralFormat::PluralFormat(UErrorCode& status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) in PluralFormat() function in PluralFormat
56 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) in PluralFormat() function in PluralFormat
64 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
74 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
84 PluralFormat::PluralFormat(const UnicodeString& pat, in PluralFormat() function in PluralFormat
94 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
105 PluralFormat::PluralFormat(const PluralRules& rules, in PluralFormat() function in PluralFormat
116 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
[all …]
Dnfrule.h29 class PluralFormat; variable
116 const PluralFormat* rulePatternFormat;
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dplurfmt.cpp38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
40 PluralFormat::PluralFormat(UErrorCode& status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) in PluralFormat() function in PluralFormat
56 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) in PluralFormat() function in PluralFormat
64 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
74 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
84 PluralFormat::PluralFormat(const UnicodeString& pat, in PluralFormat() function in PluralFormat
94 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
105 PluralFormat::PluralFormat(const PluralRules& rules, in PluralFormat() function in PluralFormat
116 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
[all …]
Dnfrule.h29 class PluralFormat; variable
116 const PluralFormat* rulePatternFormat;
/third_party/node/deps/icu-small/source/i18n/unicode/
Dplurfmt.h148 class U_I18N_API PluralFormat : public Format {
159 PluralFormat(UErrorCode& status);
170 PluralFormat(const Locale& locale, UErrorCode& status);
181 PluralFormat(const PluralRules& rules, UErrorCode& status);
199 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
211 PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status);
223 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
239 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
252 PluralFormat(const PluralRules& rules,
270 PluralFormat(const Locale& locale,
[all …]
/third_party/icu/icu4c/source/i18n/unicode/
Dplurfmt.h148 class U_I18N_API PluralFormat : public Format {
159 PluralFormat(UErrorCode& status);
170 PluralFormat(const Locale& locale, UErrorCode& status);
181 PluralFormat(const PluralRules& rules, UErrorCode& status);
199 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
211 PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status);
223 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
239 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
252 PluralFormat(const PluralRules& rules,
270 PluralFormat(const Locale& locale,
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dplurfmt.h148 class U_I18N_API PluralFormat : public Format {
159 PluralFormat(UErrorCode& status);
170 PluralFormat(const Locale& locale, UErrorCode& status);
181 PluralFormat(const PluralRules& rules, UErrorCode& status);
199 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
211 PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status);
223 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
239 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
252 PluralFormat(const PluralRules& rules,
270 PluralFormat(const Locale& locale,
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dplurfmt.h146 class U_I18N_API PluralFormat : public Format {
157 PluralFormat(UErrorCode& status);
168 PluralFormat(const Locale& locale, UErrorCode& status);
179 PluralFormat(const PluralRules& rules, UErrorCode& status);
197 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
209 PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status);
221 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
237 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
250 PluralFormat(const PluralRules& rules,
268 PluralFormat(const Locale& locale,
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dplurfmts.cpp55 PluralFormat* plFmt[8]; in pluralFormatBasicTest()
74 plFmt[0] = new PluralFormat(status[0]); in pluralFormatBasicTest()
75 plFmt[1] = new PluralFormat(*plRules, status[1]); in pluralFormatBasicTest()
76 plFmt[2] = new PluralFormat(locale, status[2]); in pluralFormatBasicTest()
77 plFmt[3] = new PluralFormat(locale, *plRules, status[3]); in pluralFormatBasicTest()
78 plFmt[4] = new PluralFormat(otherPattern, status[4]); in pluralFormatBasicTest()
79 plFmt[5] = new PluralFormat(*plRules, otherPattern, status[5]); in pluralFormatBasicTest()
80 plFmt[6] = new PluralFormat(locale, otherPattern, status[6]); in pluralFormatBasicTest()
81 plFmt[7] = new PluralFormat(locale, *plRules, otherPattern, status[7]); in pluralFormatBasicTest()
94 plFmt[0]= new PluralFormat(status[0]); in pluralFormatBasicTest()
[all …]
Dplurfmts.h38 void numberFormatTest(PluralFormat* plFmt,
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java135 public class PluralFormat extends UFormat { class
190 public PluralFormat() { in PluralFormat() method in PluralFormat
201 public PluralFormat(ULocale ulocale) { in PluralFormat() method in PluralFormat
213 public PluralFormat(Locale locale) { in PluralFormat() method in PluralFormat
225 public PluralFormat(PluralRules rules) { in PluralFormat() method in PluralFormat
238 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() method in PluralFormat
251 public PluralFormat(Locale locale, PluralRules rules) { in PluralFormat() method in PluralFormat
263 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() method in PluralFormat
275 public PluralFormat(Locale locale, PluralType type) { in PluralFormat() method in PluralFormat
288 public PluralFormat(String pattern) { in PluralFormat() method in PluralFormat
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DPluralFormat.java135 public class PluralFormat extends UFormat { class
189 public PluralFormat() { in PluralFormat() method in PluralFormat
199 public PluralFormat(ULocale ulocale) { in PluralFormat() method in PluralFormat
210 public PluralFormat(Locale locale) { in PluralFormat() method in PluralFormat
221 public PluralFormat(PluralRules rules) { in PluralFormat() method in PluralFormat
233 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() method in PluralFormat
245 public PluralFormat(Locale locale, PluralRules rules) { in PluralFormat() method in PluralFormat
256 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() method in PluralFormat
267 public PluralFormat(Locale locale, PluralType type) { in PluralFormat() method in PluralFormat
279 public PluralFormat(String pattern) { in PluralFormat() method in PluralFormat
[all …]
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/pluralformat/
DPluralFormatSample.java14 import com.ibm.icu.text.PluralFormat;
40 PluralFormat plfmtEn = new PluralFormat(locEn, patEn); in PluralFormatExample()
41 PluralFormat plfmtSl = new PluralFormat(locSl, patSl); in PluralFormatExample()
/third_party/icu/icu4c/source/samples/plurfmtsample/
Dplurfmtsample.cpp39 PluralFormat plfmtEn = PluralFormat(locEn, patEn,status); in PluralFormatExample()
40 PluralFormat plfmtSl = PluralFormat(locSl, patSl,status); in PluralFormatExample()
/third_party/flutter/skia/third_party/externals/icu/source/samples/plurfmtsample/
Dplurfmtsample.cpp39 PluralFormat plfmtEn = PluralFormat(locEn, patEn,status); in PluralFormatExample()
40 PluralFormat plfmtSl = PluralFormat(locSl, patSl,status); in PluralFormatExample()
/third_party/skia/third_party/externals/icu/source/samples/plurfmtsample/
Dplurfmtsample.cpp39 PluralFormat plfmtEn = PluralFormat(locEn, patEn,status); in PluralFormatExample()
40 PluralFormat plfmtSl = PluralFormat(locSl, patSl,status); in PluralFormatExample()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
DFormatHandler.java37 import ohos.global.icu.text.PluralFormat;
2285 PluralFormat[] plfmts = new PluralFormat[locales.length]; in getTestObjects()
2289 plfmts[i] = new PluralFormat(uloc, "one{1 foo} other{# foo}"); in getTestObjects()
2298 PluralFormat pfa = (PluralFormat)a; in hasSameBehavior()
2299 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior()

123