/external/icu/icu4c/source/test/cintltst/ |
D | crelativedateformattest.c | 162 enum { kUBufMax = 64, kBBufMax = 256 }; enumerator 193 UChar ubufget[kUBufMax]; in TestRelDateFmt() 201 …nget = ureldatefmt_format(reldatefmt, offsets[iOffset], itemPtr->unit, ubufget, kUBufMax, &status); in TestRelDateFmt() 207 UChar ubufexp[kUBufMax]; in TestRelDateFmt() 208 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2], ubufexp, kUBufMax); in TestRelDateFmt() 211 u_austrncpy(bbufget, ubufget, kUBufMax); in TestRelDateFmt() 223 …ureldatefmt_formatNumeric(reldatefmt, offsets[iOffset], itemPtr->unit, ubufget, kUBufMax, &status); in TestRelDateFmt() 229 UChar ubufexp[kUBufMax]; in TestRelDateFmt() 230 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2 + 1], ubufexp, kUBufMax); in TestRelDateFmt() 233 u_austrncpy(bbufget, ubufget, kUBufMax); in TestRelDateFmt() [all …]
|
D | ulistfmttest.c | 59 kUBufMax = 128, enumerator 71 UChar ubufActual[kUBufMax]; in TestUListFmt() 72 …listfmt_format(listfmt, strings, stringLengths, lftep->stringCount, ubufActual, kUBufMax, &status); in TestUListFmt() 76 UChar ubufExpected[kUBufMax]; in TestUListFmt() 77 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt() 85 …tfmt_format(listfmt, strings, stringLengthsNeg, lftep->stringCount, ubufActual, kUBufMax, &status); in TestUListFmt() 89 UChar ubufExpected[kUBufMax]; in TestUListFmt() 90 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); in TestUListFmt() 98 …ctual = ulistfmt_format(listfmt, strings, NULL, lftep->stringCount, ubufActual, kUBufMax, &status); in TestUListFmt() 102 UChar ubufExpected[kUBufMax]; in TestUListFmt() [all …]
|
D | utransts.c | 588 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 …]
|
D | cldrtest.c | 1258 enum { kUBufMax = 32 }; enumerator 1261 UChar pattern[kUBufMax] = {0,}; in TestLocaleDisplayPattern() 1262 UChar separator[kUBufMax] = {0,}; in TestLocaleDisplayPattern() 1274 ulocdata_getLocaleDisplayPattern(uld, pattern, kUBufMax, &status); in TestLocaleDisplayPattern() 1281 ulocdata_getLocaleSeparator(uld, separator, kUBufMax, &status); in TestLocaleDisplayPattern() 1295 ulocdata_getLocaleDisplayPattern(uld, pattern, kUBufMax, &status); in TestLocaleDisplayPattern() 1302 ulocdata_getLocaleSeparator(uld, separator, kUBufMax, &status); in TestLocaleDisplayPattern()
|
D | cnumtst.c | 2460 enum { kUBufMax = 64 }; enumerator 2519 UChar ubufResult[kUBufMax]; in TestCurrencyIsoPluralFormat() 2520 UChar ubufExpected[kUBufMax]; in TestCurrencyIsoPluralFormat() 2533 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat() 2537 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax); in TestCurrencyIsoPluralFormat() 2590 UChar ubufResult[kUBufMax]; in TestContext() 2601 ulenRes = unum_formatDouble(unum, 123.45, ubufResult, kUBufMax, NULL, &status); in TestContext() 2606 UChar ubufExpected[kUBufMax]; in TestContext() 2607 int32_t ulenExp = u_unescape(itemPtr->expectedResult, ubufExpected, kUBufMax); in TestContext() 2609 char bbuf[kUBufMax*2]; in TestContext()
|