Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp509 UnicodeString formattedString = "1 minutes"; in test10219Plurals() local
510 tuf.parseObject(formattedString, result, pos); in test10219Plurals()
511 if (formattedString.length() != pos.getIndex()) { in test10219Plurals()
Ddtfmttst.h254 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
Ddtfmttst.cpp4366 UnicodeString formattedString; in TestDotAndAtLeniency() local
4371 format->format(TEST_DATE, formattedString); in TestDotAndAtLeniency()
4373 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4378formattedString = dateFormat->format(TEST_DATE, ds) + " " + timeFormat->format(TEST_DATE, ts); in TestDotAndAtLeniency()
4379 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4382 …if (formattedString.indexOf("n ") >= 0) { // will add "." after the end of text ending in 'n', lik… in TestDotAndAtLeniency()
4383 UnicodeString plusDot(formattedString); in TestDotAndAtLeniency()
4389 … if (formattedString.indexOf(". ") >= 0) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4390 UnicodeString minusDot(formattedString); in TestDotAndAtLeniency()
4401 UBool DateFormatTest::showParse(DateFormat &format, const UnicodeString &formattedString) { in showParse() argument
[all …]
Ddtfmrgts.cpp1565 UnicodeString formattedString(""); in TestT10334() local
1568 format.format(referenceDate, formattedString, fp, status); in TestT10334()
1569 logln("ref date: " + formattedString); in TestT10334()
Dnumberformat2test.cpp1484 UnicodeString formattedString; in TestAffixPatternDoubleQuote() local
1485 assertEquals("", "Don''t", actual.toUserString(formattedString)); in TestAffixPatternDoubleQuote()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4544 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4546 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4548formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4549 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4550 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4551 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4553 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4554 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4560 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4561 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1321 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1322 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1323 logln("ref date: " + formattedString); in TestT10334()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4540 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4542 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4544formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4545 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4546 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4547 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4549 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4550 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4556 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4557 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1317 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1318 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1319 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);