Home
last modified time | relevance | path

Searched refs:formattedString (Results 1 – 12 of 12) 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.h267 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
Ddtfmttst.cpp4445 UnicodeString formattedString; in TestDotAndAtLeniency() local
4450 format->format(TEST_DATE, formattedString); in TestDotAndAtLeniency()
4452 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4457formattedString = dateFormat->format(TEST_DATE, ds) + " " + timeFormat->format(TEST_DATE, ts); in TestDotAndAtLeniency()
4458 if (!showParse(*format, formattedString)) { in TestDotAndAtLeniency()
4461 …if (formattedString.indexOf("n ") >= 0) { // will add "." after the end of text ending in 'n', lik… in TestDotAndAtLeniency()
4462 UnicodeString plusDot(formattedString); in TestDotAndAtLeniency()
4468 … if (formattedString.indexOf(". ") >= 0) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4469 UnicodeString minusDot(formattedString); in TestDotAndAtLeniency()
4480 UBool DateFormatTest::showParse(DateFormat &format, const UnicodeString &formattedString) { in showParse() argument
[all …]
Ddtfmrgts.cpp1569 UnicodeString formattedString(""); in TestT10334() local
1572 format.format(referenceDate, formattedString, fp, status); in TestT10334()
1573 logln("ref date: " + formattedString); in TestT10334()
Dnumberformat2test.cpp1486 UnicodeString formattedString; in TestAffixPatternDoubleQuote() local
1487 assertEquals("", "Don''t", actual.toUserString(formattedString)); in TestAffixPatternDoubleQuote()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4653 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4655 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4657formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4658 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4659 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4660 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4662 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4663 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4669 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4670 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1352 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1353 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1354 logln("ref date: " + formattedString); in TestT10334()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4656 String formattedString = format.format(TEST_DATE); in TestDotAndAtLeniency() local
4658 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4660formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
4661 tests.add(new Object[]{format, formattedString}); in TestDotAndAtLeniency()
4662 …if (formattedString.contains("n ")) { // will add "." after the end of text ending in 'n', like Ja… in TestDotAndAtLeniency()
4663 tests.add(new Object[]{format, formattedString.replace("n ", "n. ") + "."}); in TestDotAndAtLeniency()
4665 … if (formattedString.contains(". ")) { // will subtract "." at the end of strings. in TestDotAndAtLeniency()
4666 tests.add(new Object[]{format, formattedString.replace(". ", " ")}); in TestDotAndAtLeniency()
4672 String formattedString = (String) test[1]; in TestDotAndAtLeniency() local
4673 if (!showParse(format, formattedString)) { in TestDotAndAtLeniency()
[all …]
DDateFormatRegressionTest.java1355 StringBuffer formattedString = new StringBuffer(); in TestT10334() local
1356 formattedString = format.format(referenceDate, formattedString, fp); in TestT10334()
1357 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/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m1622 NSString *formattedString = [[NSString alloc] initWithFormat:format arguments:arg_list];
1626 NSLog(@"[SR] %@", formattedString);
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...