Home
last modified time | relevance | path

Searched refs:formattedString (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp511 UnicodeString formattedString = "1 minutes"; in test10219Plurals() local
512 tuf.parseObject(formattedString, result, pos); in test10219Plurals()
513 if (formattedString.length() != pos.getIndex()) { in test10219Plurals()
Ddtfmttst.h266 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
Ddtfmttst.cpp4440 UnicodeString formattedString; in TestDotAndAtLeniency() local
4445 format->format(TEST_DATE, formattedString); in TestDotAndAtLeniency()
4447 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4452formattedString = dateFormat->format(TEST_DATE, ds) + " " + timeFormat->format(TEST_DATE, ts); in TestDotAndAtLeniency()
4453 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4456 …if (formattedString.indexOf("n ") >= 0) { // will add "." after the end of text ending in 'n', lik… in TestDotAndAtLeniency()
4457 UnicodeString plusDot(formattedString); in TestDotAndAtLeniency()
4463 … if (formattedString.indexOf(". ") >= 0) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4464 UnicodeString minusDot(formattedString); in TestDotAndAtLeniency()
4475 UBool DateFormatTest::showParse(DateFormat &format, const UnicodeString &formattedString) { in showParse() argument
[all …]
Ddtfmrgts.cpp1568 UnicodeString formattedString(""); in TestT10334() local
1571 format.format(referenceDate, formattedString, fp, status); in TestT10334()
1572 logln("ref date: " + formattedString); in TestT10334()
Dnumberformat2test.cpp1486 UnicodeString formattedString; in TestAffixPatternDoubleQuote() local
1487 assertEquals("", "Don''t", actual.toUserString(formattedString)); in TestAffixPatternDoubleQuote()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4649 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4651 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4653formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4654 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4655 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4656 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4658 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4659 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4665 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4666 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1351 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1352 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1353 logln("ref date: " + formattedString); in TestT10334()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4648 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4650 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4652formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4653 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4654 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4655 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4657 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4658 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4664 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4665 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1350 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1351 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1352 logln("ref date: " + formattedString); in TestT10334()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m1622 NSString *formattedString = [[NSString alloc] initWithFormat:format arguments:arg_list];
1626 NSLog(@"[SR] %@", formattedString);