/external/icu/icu4c/source/test/cintltst/ |
D | crelativedateformattest.c | 140 enum { kUBufMax = 64, kBBufMax = 256 }; enumerator 171 UChar ubufget[kUBufMax]; in TestRelDateFmt() 179 …nget = ureldatefmt_format(reldatefmt, offsets[iOffset], itemPtr->unit, ubufget, kUBufMax, &status); in TestRelDateFmt() 185 UChar ubufexp[kUBufMax]; in TestRelDateFmt() 186 … int32_t ulenexp = u_unescape(itemPtr->expectedResults[iOffset*2], ubufexp, kUBufMax); in TestRelDateFmt() 189 u_austrncpy(bbufget, ubufget, kUBufMax); in TestRelDateFmt() 201 …ureldatefmt_formatNumeric(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 + 1], ubufexp, kUBufMax); in TestRelDateFmt() 211 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 | 586 enum { kUBufMax = 256 }; enumerator 592 UChar ubuf[kUBufMax]; in TestGetRulesAndSourceSet() 596 ulen = utrans_toRules(utrans, FALSE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet() 610 ulen = utrans_toRules(utrans, TRUE, ubuf, kUBufMax, &status); in TestGetRulesAndSourceSet() 618 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet() 627 ulen = uset_toPattern(uset, ubuf, kUBufMax, FALSE, &status); in TestGetRulesAndSourceSet()
|
D | cldrtest.c | 1255 enum { kUBufMax = 32 }; enumerator 1258 UChar pattern[kUBufMax] = {0,}; in TestLocaleDisplayPattern() 1259 UChar separator[kUBufMax] = {0,}; in TestLocaleDisplayPattern() 1271 ulocdata_getLocaleDisplayPattern(uld, pattern, kUBufMax, &status); in TestLocaleDisplayPattern() 1278 ulocdata_getLocaleSeparator(uld, separator, kUBufMax, &status); in TestLocaleDisplayPattern() 1292 ulocdata_getLocaleDisplayPattern(uld, pattern, kUBufMax, &status); in TestLocaleDisplayPattern() 1299 ulocdata_getLocaleSeparator(uld, separator, kUBufMax, &status); in TestLocaleDisplayPattern()
|
D | cnumtst.c | 2396 enum { kUBufMax = 64 }; enumerator 2455 UChar ubufResult[kUBufMax]; in TestCurrencyIsoPluralFormat() 2456 UChar ubufExpected[kUBufMax]; in TestCurrencyIsoPluralFormat() 2469 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat() 2473 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax); in TestCurrencyIsoPluralFormat() 2526 UChar ubufResult[kUBufMax]; in TestContext() 2537 ulenRes = unum_formatDouble(unum, 123.45, ubufResult, kUBufMax, NULL, &status); in TestContext() 2542 UChar ubufExpected[kUBufMax]; in TestContext() 2543 int32_t ulenExp = u_unescape(itemPtr->expectedResult, ubufExpected, kUBufMax); in TestContext() 2545 char bbuf[kUBufMax*2]; in TestContext()
|