Home
last modified time | relevance | path

Searched refs:kUBufMax (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcrelativedateformattest.c347 enum { kUBufMax = 64, kBBufMax = 256 }; enumerator
378 UChar ubufget[kUBufMax]; in TestRelDateFmt()
386 …nget = ureldatefmt_format(reldatefmt, offsets[iOffset], itemPtr->unit, ubufget, kUBufMax, &status); in TestRelDateFmt()
392 UChar ubufexp[kUBufMax]; in TestRelDateFmt()
393 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2], ubufexp, kUBufMax); in TestRelDateFmt()
396 u_austrncpy(bbufget, ubufget, kUBufMax); in TestRelDateFmt()
408 …ureldatefmt_formatNumeric(reldatefmt, offsets[iOffset], itemPtr->unit, ubufget, kUBufMax, &status); in TestRelDateFmt()
414 UChar ubufexp[kUBufMax]; in TestRelDateFmt()
415 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2 + 1], ubufexp, kUBufMax); in TestRelDateFmt()
418 u_austrncpy(bbufget, ubufget, kUBufMax); in TestRelDateFmt()
[all …]
Dulistfmttest.c64 kUBufMax = 128, enumerator
76 UChar ubufActual[kUBufMax]; in TestUListFmt()
77 …listfmt_format(listfmt, strings, stringLengths, lftep->stringCount, ubufActual, kUBufMax, &status); in TestUListFmt()
81 UChar ubufExpected[kUBufMax]; in TestUListFmt()
82 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
90 …tfmt_format(listfmt, strings, stringLengthsNeg, lftep->stringCount, ubufActual, kUBufMax, &status); in TestUListFmt()
94 UChar ubufExpected[kUBufMax]; in TestUListFmt()
95 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt()
103 …ctual = ulistfmt_format(listfmt, strings, NULL, lftep->stringCount, ubufActual, kUBufMax, &status); in TestUListFmt()
107 UChar ubufExpected[kUBufMax]; in TestUListFmt()
[all …]
Dutransts.c588 enum { kUBufMax = 256 }; enumerator
594 UChar ubuf[kUBufMax]; in TestGetRulesAndSourceSet()
598 ulen = utrans_toRules(utrans, FALSE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
612 ulen = utrans_toRules(utrans, TRUE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet()
620 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
629 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
678 UChar utrid[kUBufMax]; in TestDataVariantsCompounds()
679 int32_t utridlen = u_unescape(itemsPtr->transID, utrid, kUBufMax); in TestDataVariantsCompounds()
685 UChar text[kUBufMax]; in TestDataVariantsCompounds()
686 int32_t textLen = u_unescape(itemsPtr->sourceText, text, kUBufMax); in TestDataVariantsCompounds()
[all …]
Dcnumtst.c2545 enum { kUBufMax = 64 }; enumerator
2604 UChar ubufResult[kUBufMax]; in TestCurrencyIsoPluralFormat()
2605 UChar ubufExpected[kUBufMax]; in TestCurrencyIsoPluralFormat()
2618 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat()
2622 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax); in TestCurrencyIsoPluralFormat()
2675 UChar ubufResult[kUBufMax]; in TestContext()
2686 ulenRes = unum_formatDouble(unum, 123.45, ubufResult, kUBufMax, NULL, &status); in TestContext()
2691 UChar ubufExpected[kUBufMax]; in TestContext()
2692 int32_t ulenExp = u_unescape(itemPtr->expectedResult, ubufExpected, kUBufMax); in TestContext()
2694 char bbuf[kUBufMax*2]; in TestContext()
[all …]
Dcldrtest.c1263 enum { kUBufMax = 32 }; enumerator
1266 UChar pattern[kUBufMax] = {0,}; in TestLocaleDisplayPattern()
1267 UChar separator[kUBufMax] = {0,}; in TestLocaleDisplayPattern()
1279 ulocdata_getLocaleDisplayPattern(uld, pattern, kUBufMax, &status); in TestLocaleDisplayPattern()
1286 ulocdata_getLocaleSeparator(uld, separator, kUBufMax, &status); in TestLocaleDisplayPattern()
1300 ulocdata_getLocaleDisplayPattern(uld, pattern, kUBufMax, &status); in TestLocaleDisplayPattern()
1307 ulocdata_getLocaleSeparator(uld, separator, kUBufMax, &status); in TestLocaleDisplayPattern()