Home
last modified time | relevance | path

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

/external/cronet/third_party/icu/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.cpp934 UnicodeString formatResult; (*(DateFormat*)&sdf).format(d, formatResult); in tryPattern() local
935 logln((UnicodeString)" format -> " + formatResult); in tryPattern()
937 UDate d2 = sdf.parse(formatResult, status); in tryPattern()
938 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
942 if (!(formatResult == format2)) errln((UnicodeString)"FAIL: Round trip drift"); in tryPattern()
4638 UnicodeString formatResult(""); in TestDateFormatLeniency() local
4639 sdmft->format(d, formatResult); in TestDateFormatLeniency()
4640 if(formatResult.compare(itemPtr->expectedResult) != 0) { in TestDateFormatLeniency()
4641 …mPtr->pattern+"] expected[" + itemPtr->expectedResult + "] but result was[" + formatResult + "]"); in TestDateFormatLeniency()
4644 logln("formatted results match! - " + formatResult); in TestDateFormatLeniency()
[all …]
Dnumfmtst.cpp3893 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyIsoPluralFormat() local
3894 if (strBuf.compare(formatResult)) { in TestCurrencyIsoPluralFormat()
3895 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
4008 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyParsing() local
4009 if (strBuf.compare(formatResult)) { in TestCurrencyParsing()
4010 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyParsing()
9021 UnicodeString formatResult; in TestParseNaN() local
9022 df.format(parseResult.getDouble(), formatResult); in TestParseNaN()
9023 assertEquals("NaN should round-trip", u"NaN", formatResult); in TestParseNaN()
/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.cpp934 UnicodeString formatResult; (*(DateFormat*)&sdf).format(d, formatResult); in tryPattern() local
935 logln((UnicodeString)" format -> " + formatResult); in tryPattern()
937 UDate d2 = sdf.parse(formatResult, status); in tryPattern()
938 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
942 if (!(formatResult == format2)) errln((UnicodeString)"FAIL: Round trip drift"); in tryPattern()
4638 UnicodeString formatResult(""); in TestDateFormatLeniency() local
4639 sdmft->format(d, formatResult); in TestDateFormatLeniency()
4640 if(formatResult.compare(itemPtr->expectedResult) != 0) { in TestDateFormatLeniency()
4641 …mPtr->pattern+"] expected[" + itemPtr->expectedResult + "] but result was[" + formatResult + "]"); in TestDateFormatLeniency()
4644 logln("formatted results match! - " + formatResult); in TestDateFormatLeniency()
[all …]
Dnumfmtst.cpp3893 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyIsoPluralFormat() local
3894 if (strBuf.compare(formatResult)) { in TestCurrencyIsoPluralFormat()
3895 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
4008 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyParsing() local
4009 if (strBuf.compare(formatResult)) { in TestCurrencyParsing()
4010 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyParsing()
9021 UnicodeString formatResult; in TestParseNaN() local
9022 df.format(parseResult.getDouble(), formatResult); in TestParseNaN()
9023 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/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationSingleQueueTests.cpp661 …const VkResult formatResult = instance.getPhysicalDeviceImageFormatProperties(physicalDevice,… in checkSupport() local
663 if (formatResult != VK_SUCCESS) in checkSupport()
DvktSynchronizationOperationMultiQueueTests.cpp924 …const VkResult formatResult = instance.getPhysicalDeviceImageFormatProperties(physicalDevice, … in checkSupport() local
926 if (formatResult != VK_SUCCESS) in checkSupport()
DvktSynchronizationOperation.cpp5282 …const VkResult formatResult = vki.getPhysicalDeviceImageFormatProperties(physDevice, imageInfo.fo… in Resource() local
5284 if (formatResult != VK_SUCCESS) in Resource()
/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()