Home
last modified time | relevance | path

Searched refs:strBuf (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/tools/unicodetools/com/ibm/rbm/
DRBICUExporter.java144 StringBuffer strBuf = new StringBuffer(); in escapeString() local
164 strBuf.append("\\U"); in escapeString()
168 strBuf.append("\\u"); in escapeString()
170 strBuf.append(zeros.substring(hexNum.length()) + hexNum.toUpperCase()); in escapeString()
173 strBuf.append(ch); in escapeString()
177 strBuf.append("\\\""); in escapeString()
182 strBuf.append(ch); in escapeString()
186 strBuf.insert(0, '\"'); in escapeString()
187 strBuf.append('\"'); in escapeString()
189 return strBuf.toString(); in escapeString()
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/
DDebugOutput.cpp43 char strBuf[1024]; in CallPrint() local
44 vsnprintf_s(strBuf, _TRUNCATE, fmt, args); in CallPrint()
45 OutputDebugStringA(strBuf); in CallPrint()
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp442 char strBuf[200]; in warmup() local
443 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
445 fFile,fLine,getName(),strBuf,fCStr, u_errorName(setupStatus)); in warmup()
566 char strBuf[200]; in warmup() local
567 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
569 fFile,fLine,getName(),strBuf,trial,fCStr,fLen, u_errorName(setupStatus)); in warmup()
657 char strBuf[200]; in warmup() local
658 u_strToUTF8(strBuf,200,NULL,buf.getTerminatedBuffer(),buf.length()+1,&setupStatus); in warmup()
660 fFile,fLine,getName(),strBuf,buf.length(),fCStr,fLen, u_errorName(setupStatus)); in warmup()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DSelectFormatAPITest.java148 StringBuffer strBuf = new StringBuffer("AppendHere-"); in TestFormat() local
151 , (selFmt1.format("other", strBuf, new FieldPosition(0))).toString()); in TestFormat()
DNumberFormatTest.java727 …String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency() local
730 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(strBuf); in TestCurrency()
805 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat() local
813 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
814 …Result.length() + "): \"" + formatResult + "\", actual(" + strBuf.length() + "): \"" + strBuf + "\… in TestCurrencyIsoPluralFormat()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DSelectFormatAPITest.java145 StringBuffer strBuf = new StringBuffer("AppendHere-"); in TestFormat() local
148 , (selFmt1.format("other", strBuf, new FieldPosition(0))).toString()); in TestFormat()
DNumberFormatTest.java724 …String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency() local
727 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(strBuf); in TestCurrency()
802 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat() local
810 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
811 …Result.length() + "): \"" + formatResult + "\", actual(" + strBuf.length() + "): \"" + strBuf + "\… in TestCurrencyIsoPluralFormat()
/third_party/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp3883 UnicodeString strBuf; in TestCurrencyIsoPluralFormat() local
3884 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
3889 if (strBuf.compare(formatResult)) { in TestCurrencyIsoPluralFormat()
3890 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
3998 UnicodeString strBuf; in TestCurrencyParsing() local
3999 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyParsing()
4004 if (strBuf.compare(formatResult)) { in TestCurrencyParsing()
4005 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyParsing()
4034 errln((UnicodeString)" round-trip would be: " + strBuf); in TestCurrencyParsing()