Home
last modified time | relevance | path

Searched refs:formatResult (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp297 UnicodeString formatResult; in doTest() local
298 formatter->format(i, formatResult); in doTest()
301 formatter->parse(formatResult, parseResult, status); in doTest()
324 UnicodeString formatResult; in doTest() local
325 formatter->format(d, formatResult); in doTest()
328 formatter->parse(formatResult, parseResult, status); in doTest()
342 msg.append(formatResult); in doTest()
Dtufmtts.cpp140 char formatResult[1000]; in testBasic() local
141 formatted.extract(0, formatted.length(), formatResult, "UTF-8"); in testBasic()
142 std::cout << "format result: " << formatResult << "\n"; in testBasic()
Ddtfmttst.cpp931 UnicodeString formatResult; (*(DateFormat*)&sdf).format(d, formatResult); in tryPattern() local
932 logln((UnicodeString)" format -> " + formatResult); in tryPattern()
934 UDate d2 = sdf.parse(formatResult, status); in tryPattern()
935 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
939 if (!(formatResult == format2)) errln((UnicodeString)"FAIL: Round trip drift"); in tryPattern()
4562 UnicodeString formatResult(""); in TestDateFormatLeniency() local
4563 sdmft->format(d, formatResult); in TestDateFormatLeniency()
4564 if(formatResult.compare(itemPtr->expectedResult) != 0) { in TestDateFormatLeniency()
4565 …mPtr->pattern+"] expected[" + itemPtr->expectedResult + "] but result was[" + formatResult + "]"); in TestDateFormatLeniency()
4568 logln("formatted results match! - " + formatResult); in TestDateFormatLeniency()
[all …]
Dnumfmtst.cpp3702 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyIsoPluralFormat() local
3703 if (strBuf.compare(formatResult)) { in TestCurrencyIsoPluralFormat()
3704 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
3817 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyParsing() local
3818 if (strBuf.compare(formatResult)) { in TestCurrencyParsing()
3819 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyParsing()
8769 UnicodeString formatResult; in TestParseNaN() local
8770 df.format(parseResult.getDouble(), formatResult); in TestParseNaN()
8771 assertEquals("NaN should round-trip", u"NaN", formatResult); in TestParseNaN()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java1764 String formatResult = ((DateFormat) sdf).format(d); in tryPattern() local
1765 logln(" format -> " + formatResult); in tryPattern()
1767 Date d2 = sdf.parse(formatResult); in tryPattern()
1768 logln(" parse(" + formatResult + ") -> " + d2); in tryPattern()
1773 if (!formatResult.equals(format2)) in tryPattern()
DNumberFormatTest.java788 String formatResult = DATA[i][resultDataIndex]; in TestCurrencyIsoPluralFormat() local
789 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
790 …("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + formatResul… in TestCurrencyIsoPluralFormat()
2229 String formatResult = mfmt.format(target); in TestCases() local
2231 str, formatResult); in TestCases()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java1767 String formatResult = ((DateFormat) sdf).format(d); in tryPattern() local
1768 logln(" format -> " + formatResult); in tryPattern()
1770 Date d2 = sdf.parse(formatResult); in tryPattern()
1771 logln(" parse(" + formatResult + ") -> " + d2); in tryPattern()
1776 if (!formatResult.equals(format2)) in tryPattern()
DNumberFormatTest.java791 String formatResult = DATA[i][resultDataIndex]; in TestCurrencyIsoPluralFormat() local
792 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
793 …("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + formatResul… in TestCurrencyIsoPluralFormat()
2232 String formatResult = mfmt.format(target); in TestCases() local
2234 str, formatResult); in TestCases()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp3409 …const VkResult formatResult = vki.getPhysicalDeviceImageFormatProperties(physDevice, imageInfo.fo… in Resource() local
3411 if (formatResult != VK_SUCCESS) in Resource()