Home
last modified time | relevance | path

Searched refs:formatResult (Results 1 – 10 of 10) 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.cpp933 UnicodeString formatResult; (*(DateFormat*)&sdf).format(d, formatResult); in tryPattern() local
934 logln((UnicodeString)" format -> " + formatResult); in tryPattern()
936 UDate d2 = sdf.parse(formatResult, status); in tryPattern()
937 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
941 if (!(formatResult == format2)) errln((UnicodeString)"FAIL: Round trip drift"); in tryPattern()
4624 UnicodeString formatResult(""); in TestDateFormatLeniency() local
4625 sdmft->format(d, formatResult); in TestDateFormatLeniency()
4626 if(formatResult.compare(itemPtr->expectedResult) != 0) { in TestDateFormatLeniency()
4627 …mPtr->pattern+"] expected[" + itemPtr->expectedResult + "] but result was[" + formatResult + "]"); in TestDateFormatLeniency()
4630 logln("formatted results match! - " + formatResult); in TestDateFormatLeniency()
[all …]
Dnumfmtst.cpp3887 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyIsoPluralFormat() local
3888 if (strBuf.compare(formatResult)) { in TestCurrencyIsoPluralFormat()
3889 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
4002 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyParsing() local
4003 if (strBuf.compare(formatResult)) { in TestCurrencyParsing()
4004 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyParsing()
9015 UnicodeString formatResult; in TestParseNaN() local
9016 df.format(parseResult.getDouble(), formatResult); in TestParseNaN()
9017 assertEquals("NaN should round-trip", u"NaN", formatResult); in TestParseNaN()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceSubscriber.java162 int formatResult = ContactNumberUtils.getDefault().validate(formatedNumbers); in requestCapability() local
163 if (formatResult != ContactNumberUtils.NUMBER_VALID) { in requestCapability()
164 logger.error("requestCapability formatResult=" + formatResult); in requestCapability()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java1852 String formatResult = ((DateFormat) sdf).format(d); in tryPattern() local
1853 logln(" format -> " + formatResult); in tryPattern()
1855 Date d2 = sdf.parse(formatResult); in tryPattern()
1856 logln(" parse(" + formatResult + ") -> " + d2); in tryPattern()
1861 if (!formatResult.equals(format2)) in tryPattern()
DNumberFormatTest.java809 String formatResult = DATA[i][resultDataIndex]; in TestCurrencyIsoPluralFormat() local
810 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
811 …("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + formatResul… in TestCurrencyIsoPluralFormat()
2281 String formatResult = mfmt.format(target); in TestCases() local
2283 str, formatResult); in TestCases()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java1855 String formatResult = ((DateFormat) sdf).format(d); in tryPattern() local
1856 logln(" format -> " + formatResult); in tryPattern()
1858 Date d2 = sdf.parse(formatResult); in tryPattern()
1859 logln(" parse(" + formatResult + ") -> " + d2); in tryPattern()
1864 if (!formatResult.equals(format2)) in tryPattern()
DNumberFormatTest.java812 String formatResult = DATA[i][resultDataIndex]; in TestCurrencyIsoPluralFormat() local
813 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
814 …("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + formatResul… in TestCurrencyIsoPluralFormat()
2284 String formatResult = mfmt.format(target); in TestCases() local
2286 str, formatResult); in TestCases()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp5259 …const VkResult formatResult = vki.getPhysicalDeviceImageFormatProperties(physDevice, imageInfo.fo… in Resource() local
5261 if (formatResult != VK_SUCCESS) in Resource()