Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfTest.java178 RuleBasedNumberFormat fmt4 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH); in TestCoverage() local
180 str = fmt4.toString(); in TestCoverage()
182 if (!fmt4.equals(fmt5)) { in TestCoverage()
185 str = fmt4.format(123L); in TestCoverage()
188 Number num = fmt4.parse(str); in TestCoverage()
195 str = fmt4.format(.000123); in TestCoverage()
198 Number num = fmt4.parse(str); in TestCoverage()
205 str = fmt4.format(456.000123); in TestCoverage()
208 Number num = fmt4.parse(str); in TestCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRbnfTest.java177 RuleBasedNumberFormat fmt4 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH); in TestCoverage() local
179 str = fmt4.toString(); in TestCoverage()
181 if (!fmt4.equals(fmt5)) { in TestCoverage()
184 str = fmt4.format(123L); in TestCoverage()
187 Number num = fmt4.parse(str); in TestCoverage()
194 str = fmt4.format(.000123); in TestCoverage()
197 Number num = fmt4.parse(str); in TestCoverage()
204 str = fmt4.format(456.000123); in TestCoverage()
207 Number num = fmt4.parse(str); in TestCoverage()
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1416 MessageFormat* fmt4 = NULL; in _testCopyConstructor2() local
1432 fmt4 = (MessageFormat*) fmt2->clone(); in _testCopyConstructor2()
1438 if (fmt4 == NULL) { in _testCopyConstructor2()
1446 result = fmt4->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1452 delete fmt4; in _testCopyConstructor2()
Ddtfmttst.cpp3660 SimpleDateFormat *fmt4 = new SimpleDateFormat(UnicodeString("y M d"), Locale("en-us"), status); in Test6338() local
3665 str4 = fmt4->format(dt4, str4); in Test6338()
3668 UDate dt44 = fmt4->parse(str4, status); in Test6338()
3672 str44 = fmt4->format(dt44, str44); in Test6338()
3679 delete fmt4; in Test6338()
Dnumfmtst.cpp3618 NumberFormat* fmt4= NumberFormat::createInstance(loc4, ec); in TestNumberingSystems() local
3621 delete fmt4; in TestNumberingSystems()