Home
last modified time | relevance | path

Searched refs:resultStr (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dloctest.cpp1227 UnicodeString dollarStr("USD", ""), euroStr("EUR", ""), genericStr((UChar)0x00a4), resultStr; in TestEuroSupport() local
1232 resultStr.setTo(tmp); in TestEuroSupport()
1233 if (dollarStr != resultStr) { in TestEuroSupport()
1237 resultStr.setTo(tmp); in TestEuroSupport()
1238 if (euroStr != resultStr) { in TestEuroSupport()
1242 resultStr.setTo(tmp); in TestEuroSupport()
1243 if (euroStr != resultStr) { in TestEuroSupport()
1247 resultStr.setTo(tmp); in TestEuroSupport()
1248 if (dollarStr != resultStr) { in TestEuroSupport()
1252 resultStr.setTo(tmp); in TestEuroSupport()
[all …]
Ddcfmapts.cpp486 UnicodeString resultStr; in testRounding() local
496 pat.format(Roundingnumber, resultStr); in testRounding()
498 verify(message, resultStr, result[i++]); in testRounding()
500 resultStr.remove(); in testRounding()
503 pat.format(Roundingnumber1, resultStr); in testRounding()
505 verify(message, resultStr, result[i++]); in testRounding()
507 resultStr.remove(); in testRounding()
583 UnicodeString resultStr; in TestScale() local
593 pat.format(testData[i].inputValue, resultStr); in TestScale()
597 verifyString(message, resultStr, exp); in TestScale()
[all …]
Ditrbnf.cpp375 UnicodeString resultStr; in TestMultiplePluralRules() local
383 formatter.parse(formatter.format(1000.0, resultStr, pos, status), result, status); in TestMultiplePluralRules()
384 if (1000 != result.getLong() || resultStr != UNICODE_STRING_SIMPLE("one thousand")) { in TestMultiplePluralRules()
386 errln(resultStr); in TestMultiplePluralRules()
388 resultStr.remove(); in TestMultiplePluralRules()
389 …r.format(1000.0, UnicodeString("%spellout-cardinal-feminine-genitive"), resultStr, pos, status), r… in TestMultiplePluralRules()
390 if (1000 != result.getLong() || resultStr != UNICODE_STRING_SIMPLE("ono thousand")) { in TestMultiplePluralRules()
392 errln(resultStr); in TestMultiplePluralRules()
394 resultStr.remove(); in TestMultiplePluralRules()
395 …(formatter.format(1000.0, UnicodeString("%spellout-cardinal-feminine"), resultStr, pos, status), r… in TestMultiplePluralRules()
[all …]
Dtmsgfmt.cpp1407 UnicodeString resultStr(" ", ""); in _testCopyConstructor2() local
1424 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1443 result = fmt1->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1444 result = fmt2->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1445 result = fmt3->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
1446 result = fmt4->format( &fargs, 1, resultStr, fp, status ); in _testCopyConstructor2()
Dnumfmtst.cpp397 UnicodeString resultStr(UnicodeString::fromUTF8(result.getDecimalNumber(status))); in isParsePass() local
399 …appendErrorMessage.append(UnicodeString("Parse succeeded: ") + resultStr + ", but was expected to … in isParsePass()
410 UnicodeString("Expected: ") + tuple.output + ", got: " + resultStr + ". "); in isParsePass()
444 UnicodeString resultStr(UnicodeString::fromUTF8(resultFormattable.getDecimalNumber(status))); in isParseCurrencyPass() local
446 …appendErrorMessage.append(UnicodeString("Parse succeeded: ") + resultStr + ", but was expected to … in isParseCurrencyPass()
457 UnicodeString("Expected: ") + tuple.output + ", got: " + resultStr + ". "); in isParseCurrencyPass()
/external/deqp/framework/delibs/depool/
DdePoolStringBuilder.c120 char* resultStr = (char*)deMemPool_alloc(pool, (size_t)builder->length + 1); in dePoolStringBuilder_dupToPool() local
122 if (resultStr) in dePoolStringBuilder_dupToPool()
125 char* dstPtr = resultStr; in dePoolStringBuilder_dupToPool()
137 DE_ASSERT((int)strlen(resultStr) == builder->length); in dePoolStringBuilder_dupToPool()
140 return resultStr; in dePoolStringBuilder_dupToPool()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java283 String resultStr; in TestRounding() local
293 resultStr = pat.format(Roundingnumber); in TestRounding()
296 verify(message, resultStr, result[i++]); in TestRounding()
298 resultStr = ""; in TestRounding()
301 resultStr = pat.format(Roundingnumber1); in TestRounding()
304 verify(message, resultStr, result[i++]); in TestRounding()
306 resultStr = ""; in TestRounding()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java282 String resultStr; in TestRounding() local
292 resultStr = pat.format(Roundingnumber); in TestRounding()
295 verify(message, resultStr, result[i++]); in TestRounding()
297 resultStr = ""; in TestRounding()
300 resultStr = pat.format(Roundingnumber1); in TestRounding()
303 verify(message, resultStr, result[i++]); in TestRounding()
305 resultStr = ""; in TestRounding()
/external/dng_sdk/source/
Ddng_fingerprint.cpp123 void dng_fingerprint::ToUtf8HexString (char resultStr [2 * kDNGFingerprintSize + 1]) const in ToUtf8HexString()
131 resultStr [i * 2] = NumToHexChar (c >> 4); in ToUtf8HexString()
132 resultStr [i * 2 + 1] = NumToHexChar (c & 15); in ToUtf8HexString()
136 resultStr [kDNGFingerprintSize * 2] = '\0'; in ToUtf8HexString()
Ddng_fingerprint.h88 void ToUtf8HexString (char resultStr [2 * kDNGFingerprintSize + 1]) const;
/external/icu/icu4c/source/i18n/
Dunum.cpp279 UnicodeString resultStr; in unum_formatDecimal() local
282 resultStr.setTo(result, 0, resultLength); in unum_formatDecimal()
284 ((const NumberFormat*)fmt)->format(numFmtbl, resultStr, fp, *status); in unum_formatDecimal()
289 return resultStr.extract(result, resultLength, *status); in unum_formatDecimal()
Dumsg.cpp473 UnicodeString resultStr; in umsg_vformat() local
477 ((const MessageFormat*)fmt)->format(args,count,resultStr,fieldPosition,*status); in umsg_vformat()
485 return resultStr.extract(result, resultLength, *status); in umsg_vformat()
/external/deqp/framework/qphelper/
DqpTestLog.c497 const char* resultStr = QP_LOOKUP_STRING(s_qpTestResultMap, result); in qpTestLog_terminateCase() local
512 fprintf(log->outputFile, "\n#terminateTestCaseResult %s\n", resultStr); in qpTestLog_terminateCase()