Home
last modified time | relevance | path

Searched refs:fmt4 (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRbnfTest.java180 RuleBasedNumberFormat fmt4 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH); in TestCoverage() local
182 str = fmt4.toString(); in TestCoverage()
184 if (!fmt4.equals(fmt5)) { in TestCoverage()
187 str = fmt4.format(123L); in TestCoverage()
190 Number num = fmt4.parse(str); in TestCoverage()
197 str = fmt4.format(.000123); in TestCoverage()
200 Number num = fmt4.parse(str); in TestCoverage()
207 str = fmt4.format(456.000123); in TestCoverage()
210 Number num = fmt4.parse(str); in TestCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfTest.java183 RuleBasedNumberFormat fmt4 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH); in TestCoverage() local
185 str = fmt4.toString(); in TestCoverage()
187 if (!fmt4.equals(fmt5)) { in TestCoverage()
190 str = fmt4.format(123L); in TestCoverage()
193 Number num = fmt4.parse(str); in TestCoverage()
200 str = fmt4.format(.000123); in TestCoverage()
203 Number num = fmt4.parse(str); in TestCoverage()
210 str = fmt4.format(456.000123); in TestCoverage()
213 Number num = fmt4.parse(str); in TestCoverage()
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1421 MessageFormat* fmt4 = NULL; in _testCopyConstructor2() local
1437 fmt4 = fmt2->clone(); in _testCopyConstructor2()
1443 if (fmt4 == NULL) { in _testCopyConstructor2()
1451 result = fmt4->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1457 delete fmt4; in _testCopyConstructor2()
Ddtfmttst.cpp3738 SimpleDateFormat fmt4(UnicodeString("y M d"), Locale("en-us"), status); in Test6338() local
3743 str4 = fmt4.format(dt4, str4); in Test6338()
3746 UDate dt44 = fmt4.parse(str4, status); in Test6338()
3750 str44 = fmt4.format(dt44, str44); in Test6338()
Dnumfmtst.cpp3579 NumberFormat* fmt4= NumberFormat::createInstance(loc4, ec); in TestNumberingSystems() local
3582 delete fmt4; in TestNumberingSystems()