Lines Matching refs:plFmt

55     PluralFormat* plFmt[8];  in pluralFormatBasicTest()  local
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()
85 numberFormatTest(plFmt[i], numFmt, 1, 12, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
86 numberFormatTest(plFmt[i], numFmt, 100, 112, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
91 delete plFmt[i]; in pluralFormatBasicTest()
94 plFmt[0]= new PluralFormat(status[0]); in pluralFormatBasicTest()
95 plFmt[0]->setNumberFormat(numFmt,status[0]); in pluralFormatBasicTest()
97 plFmt[0]->toPattern(us); in pluralFormatBasicTest()
98 plFmt[1]= new PluralFormat(locale, status[1]); in pluralFormatBasicTest()
100 *plFmt[1] = *plFmt[0]; in pluralFormatBasicTest()
101 if (plFmt[1]!=NULL) { in pluralFormatBasicTest()
102 if ( *plFmt[1] != *plFmt[0] ) { in pluralFormatBasicTest()
110 delete plFmt[0]; in pluralFormatBasicTest()
113 plFmt[0]= new PluralFormat(locale, status[0]); in pluralFormatBasicTest()
115 *plFmt[1] = *plFmt[0]; in pluralFormatBasicTest()
116 if (plFmt[1]!=NULL) { in pluralFormatBasicTest()
117 if ( *plFmt[1] != *plFmt[0] ) { in pluralFormatBasicTest()
127 plFmt[2] = (PluralFormat*) plFmt[1]->clone(); in pluralFormatBasicTest()
129 if (plFmt[1]!=NULL) { in pluralFormatBasicTest()
130 if ( *plFmt[1] != *plFmt[2] ) { in pluralFormatBasicTest()
134 delete plFmt[1]; in pluralFormatBasicTest()
135 delete plFmt[2]; in pluralFormatBasicTest()
141 delete plFmt[0]; in pluralFormatBasicTest()
208 PluralFormat plFmt=PluralFormat(*plRules, status); in pluralFormatUnitTest() local
213 plFmt.applyPattern(checkSyntaxtData[i], status); in pluralFormatUnitTest()
233 PluralFormat plFmt=PluralFormat(*plRules, status); in pluralFormatUnitTest() local
238 plFmt.applyPattern(patternTestData[i], status); in pluralFormatUnitTest()
243 numberFormatTest(&plFmt, numFmt, 1, 10, (UnicodeString *)&patternOddTestResult[i], in pluralFormatUnitTest()
529 PluralFormat plFmt(ulocale, testPattern, status); in pluralFormatLocaleTest() local
535 UnicodeString plResult = plFmt.format(0.0, status); // retrun ONE in pluralFormatLocaleTest()
536 plResult = plFmt.format(0.5, status); // retrun ONE in pluralFormatLocaleTest()
537 plResult = plFmt.format(1.0, status); // retrun ONE in pluralFormatLocaleTest()
538 plResult = plFmt.format(1.9, status); // retrun ONE in pluralFormatLocaleTest()
539 plResult = plFmt.format(2.0, status); // retrun OTHER in pluralFormatLocaleTest()
688 PluralFormatTest::numberFormatTest(PluralFormat* plFmt, in numberFormatTest() argument
698 if ( (plFmt==NULL) || (numFmt==NULL) ) { in numberFormatTest()
707 plResult = plFmt->format(i, status); in numberFormatTest()
762 PluralFormat plFmt(ulocale, testPattern, status); in helperTestResults() local
770 plResult = plFmt.format(n, status); in helperTestResults()
776 plResult = plFmt.format(n, status); in helperTestResults()