Home
last modified time | relevance | path

Searched refs:fmt3 (Results 1 – 14 of 14) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfTest.java133 RuleBasedNumberFormat fmt3 = new RuleBasedNumberFormat(durationInSecondsRules); in TestCoverage() local
135 if (fmt0.equals(fmt3)) { in TestCoverage()
138 if (!fmt3.equals(fmt3)) { in TestCoverage()
141 str = fmt3.toString(); in TestCoverage()
144 String[] names = fmt3.getRuleSetNames(); in TestCoverage()
147 fmt3.setDefaultRuleSet(null); in TestCoverage()
148 fmt3.setDefaultRuleSet("%%foo"); in TestCoverage()
156 fmt3.setDefaultRuleSet("%bogus"); in TestCoverage()
164 str = fmt3.format(2.3, names[0]); in TestCoverage()
166 str = fmt3.format(2.3, "%%foo"); in TestCoverage()
[all …]
DNumberFormatTest.java5205 DecimalFormat fmt3 = new DecimalFormat(quotedPattern);
5206 … assertEquals("Should be treated as double currency sign", "USD\u00a4 12.34", fmt3.format(12.34));
5208 String outQuotedPattern = fmt3.toPattern();
5514 NumberFormat fmt3 = NumberFormat.getCurrencyInstance(loc3);
5516 String actualCurrencyAmount = fmt3.format(curAmt);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRbnfTest.java130 RuleBasedNumberFormat fmt3 = new RuleBasedNumberFormat(durationInSecondsRules); in TestCoverage() local
132 if (fmt0.equals(fmt3)) { in TestCoverage()
135 if (!fmt3.equals(fmt3)) { in TestCoverage()
138 str = fmt3.toString(); in TestCoverage()
141 String[] names = fmt3.getRuleSetNames(); in TestCoverage()
144 fmt3.setDefaultRuleSet(null); in TestCoverage()
145 fmt3.setDefaultRuleSet("%%foo"); in TestCoverage()
153 fmt3.setDefaultRuleSet("%bogus"); in TestCoverage()
161 str = fmt3.format(2.3, names[0]); in TestCoverage()
163 str = fmt3.format(2.3, "%%foo"); in TestCoverage()
[all …]
DNumberFormatTest.java5202 DecimalFormat fmt3 = new DecimalFormat(quotedPattern);
5203 … assertEquals("Should be treated as double currency sign", "USD\u00a4 12.34", fmt3.format(12.34));
5205 String outQuotedPattern = fmt3.toPattern();
5511 NumberFormat fmt3 = NumberFormat.getCurrencyInstance(loc3);
5513 String actualCurrencyAmount = fmt3.format(curAmt);
/external/icu/icu4c/source/test/intltest/
Dscientificnumberformattertest.cpp84 LocalPointer<ScientificNumberFormatter> fmt3(fmt->clone()); in TestBasic() local
85 if (fmt3.isNull()) { in TestBasic()
90 fmt3->format(1.23456e-78, appendTo, status); in TestBasic()
Dreldatefmttest.cpp880 RelativeDateTimeFormatter fmt3(status); in TestEnglishCaps() local
884 fmt3 = fmt2; in TestEnglishCaps()
886 RunTest(fmt3, kEnglishCaps, UPRV_LENGTHOF(kEnglishCaps), "en caps"); in TestEnglishCaps()
1008 RelativeDateTimeFormatter fmt3(status); in TestGetters() local
1012 fmt3 = fmt2; in TestGetters()
1013 assertEquals("style", (int32_t)UDAT_STYLE_NARROW, fmt3.getFormatStyle()); in TestGetters()
1017 fmt3.getCapitalizationContext()); in TestGetters()
Dtmsgfmt.cpp1419 MessageFormat* fmt3 = NULL; in _testCopyConstructor2() local
1435 fmt3 = (MessageFormat*) fmt1->clone(); in _testCopyConstructor2()
1438 if (fmt3 == NULL) { in _testCopyConstructor2()
1449 result = fmt3->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1455 delete fmt3; in _testCopyConstructor2()
Ddtfmttst.cpp3641 SimpleDateFormat *fmt3 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("en-us"), status); in Test6338() local
3646 str3 = fmt3->format(dt3, str3); in Test6338()
3649 UDate dt33 = fmt3->parse(str3, status); in Test6338()
3653 str33 = fmt3->format(dt33, str33); in Test6338()
3660 delete fmt3; in Test6338()
/external/syzkaller/sys/test/
Dfmt.txt9 foo$fmt3(a ptr[in, fmt[dec, proc[10, 20]]])
/external/python/cpython2/Lib/test/
Dtest_struct.py59 fmt3 = '3c3b18x12h6i6l6f3d3?'
61 sz3 = struct.calcsize(fmt3)
/external/syzkaller/pkg/compiler/testdata/
Dall.txt224 foo$fmt3(a ptr[in, fmt[dec, proc[10, 20]]])
Derrors.txt329 foo$fmt3(a ptr[in, fmt[foo, int8]]) ### unexpected value foo for format argument of fmt type, expe…
/external/u-boot/drivers/spi/
Ddavinci_spi.c114 dv_reg fmt3; /* 0x5c */ member
/external/python/cpython3/Lib/test/
Dtest_struct.py43 fmt3 = '3c3b18x12h6i6l6f3d3?'
45 sz3 = struct.calcsize(fmt3)