Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DRbnfTest.java183 RuleBasedNumberFormat fmt4 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH); in TestCoverage()
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()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DRbnfTest.java180 RuleBasedNumberFormat fmt4 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH); in TestCoverage()
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()
/third_party/icu/icu4c/source/test/intltest/
H A Dtmsgfmt.cpp1423 MessageFormat* fmt4 = NULL; in _testCopyConstructor2() local
1439 fmt4 = fmt2->clone(); in _testCopyConstructor2()
1445 if (fmt4 == NULL) { in _testCopyConstructor2()
1446 it_err("testCopyConstructor2: (fmt4 != NULL)"); in _testCopyConstructor2()
1453 result = fmt4->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1459 delete fmt4; in _testCopyConstructor2()
H A Ddtfmttst.cpp3752 SimpleDateFormat fmt4(UnicodeString("y M d"), Locale("en-us"), status); in Test6338()
3757 str4 = fmt4.format(dt4, str4); in Test6338()
3760 UDate dt44 = fmt4.parse(str4, status); in Test6338()
3764 str44 = fmt4.format(dt44, str44); in Test6338()
H A Dnumfmtst.cpp3585 NumberFormat* fmt4= NumberFormat::createInstance(loc4, ec); in TestNumberingSystems() local
3588 delete fmt4; in TestNumberingSystems()

Completed in 30 milliseconds