Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp508 UnicodeString formattedString = "1 minutes"; in test10219Plurals() local
509 tuf.parseObject(formattedString, result, pos); in test10219Plurals()
510 if (formattedString.length() != pos.getIndex()) { in test10219Plurals()
Ddtfmttst.h271 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
Ddtfmttst.cpp4507 UnicodeString formattedString; in TestDotAndAtLeniency() local
4512 format->format(TEST_DATE, formattedString); in TestDotAndAtLeniency()
4514 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4519formattedString = dateFormat->format(TEST_DATE, ds) + " " + timeFormat->format(TEST_DATE, ts); in TestDotAndAtLeniency()
4520 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4523 …if (formattedString.indexOf("n ") >= 0) { // will add "." after the end of text ending in 'n', lik… in TestDotAndAtLeniency()
4524 UnicodeString plusDot(formattedString); in TestDotAndAtLeniency()
4530 … if (formattedString.indexOf(". ") >= 0) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4531 UnicodeString minusDot(formattedString); in TestDotAndAtLeniency()
4542 UBool DateFormatTest::showParse(DateFormat &format, const UnicodeString &formattedString) { in showParse() argument
[all …]
Ddtfmrgts.cpp1593 UnicodeString formattedString(""); in TestT10334() local
1596 format.format(referenceDate, formattedString, fp, status); in TestT10334()
1597 logln("ref date: " + formattedString); in TestT10334()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4741 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4743 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4745formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4746 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4747 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4748 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4750 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4751 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4757 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4758 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1384 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1385 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1386 logln("ref date: " + formattedString); in TestT10334()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4744 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4746 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4748formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4749 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4750 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4751 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4753 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4754 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4760 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4761 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1387 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1388 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1389 logln("ref date: " + formattedString); in TestT10334()
/external/python/cpython3/Tools/msi/bundle/bootstrap/
DPythonBootstrapperApplication.cpp556 LPWSTR formattedString = nullptr; in SuccessPage_Show() local
557 BalFormatString(successText->wzText, &formattedString); in SuccessPage_Show()
558 if (formattedString) { in SuccessPage_Show()
559 ThemeSetTextControl(_theme, ID_SUCCESS_TEXT, formattedString); in SuccessPage_Show()
560 StrFree(formattedString); in SuccessPage_Show()
/external/webrtc/examples/objc/AppRTCMobile/third_party/SocketRocket/
DSRWebSocket.m1624 NSString *formattedString = [[NSString alloc] initWithFormat:format arguments:arg_list];
1628 NSLog(@"[SR] %@", formattedString);