Lines Matching refs:resultlength

155     int32_t resultlength;  in TestNumberFormat()  local
259 resultlength=0; in TestNumberFormat()
261 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
265 resultlength=resultlengthneeded+1; in TestNumberFormat()
266 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
269 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat()
292 resultlength=0; in TestNumberFormat()
294 resultlengthneeded=unum_formatDouble(cur_def, d, NULL, resultlength, &pos2, &status); in TestNumberFormat()
298 resultlength=resultlengthneeded+1; in TestNumberFormat()
299 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
302 unum_formatDouble(cur_def, d, result, resultlength, &pos2, &status); in TestNumberFormat()
349 resultlength=0; in TestNumberFormat()
351 …resultlengthneeded=unum_formatDoubleCurrency(cur_def, a, temp, NULL, resultlength, &pos2, &status); in TestNumberFormat()
354 resultlength=resultlengthneeded+1; in TestNumberFormat()
355 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
356 unum_formatDoubleCurrency(cur_def, a, temp, result, resultlength, &pos2, &status); in TestNumberFormat()
404 resultlength=u_strlen(temp1); in TestNumberFormat()
408 d1=unum_parseDouble(cur_def, temp1, resultlength, &parsepos, &status); in TestNumberFormat()
412 …log_err("parseDouble('%s') failed. The error is : %s\n", aescstrdup(temp1, resultlength), myError… in TestNumberFormat()
439 resultlength=0; in TestNumberFormat()
441 resultlengthneeded=unum_format(per_fr, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
445 resultlength=resultlengthneeded+1; in TestNumberFormat()
446 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
449 unum_format(per_fr, l, result, resultlength, &pos1, &status); in TestNumberFormat()
489 resultlength=0; in TestNumberFormat()
490 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status); in TestNumberFormat()
494 resultlength=resultlengthneeded+1; in TestNumberFormat()
495 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
496 unum_toPattern(pattern, FALSE, result, resultlength, &status); in TestNumberFormat()
514 resultlength=0; in TestNumberFormat()
515 resultlengthneeded=unum_toPattern(cur_def, FALSE, NULL, resultlength, &status); in TestNumberFormat()
519 resultlength=resultlengthneeded+1; in TestNumberFormat()
520 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
521 unum_toPattern(cur_def, FALSE, result, resultlength, &status); in TestNumberFormat()
550 resultlength=0; in TestNumberFormat()
551 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
555 resultlength=resultlengthneeded+1; in TestNumberFormat()
556 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
557 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat()
583 resultlength=0; in TestNumberFormat()
584 resultlengthneeded=unum_format(cur_frpattern, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
588 resultlength=resultlengthneeded+1; in TestNumberFormat()
589 unum_format(cur_frpattern, l, temp1, resultlength, &pos1, &status); in TestNumberFormat()
624resultlength = unum_getSymbol(cur_frpattern, (UNumberFormatSymbol)i, symbol, UPRV_LENGTHOF(symbol)… in TestNumberFormat()
629 if(resultlength != 2 || symbol[0] != 0x41 + i || symbol[1] != 0x61 + i) { in TestNumberFormat()
647 resultlength=5; in TestNumberFormat()
648 unum_getTextAttribute(cur_fr, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
658 unum_getTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, suffix, resultlength, &status); in TestNumberFormat()
678 unum_getTextAttribute(def, UNUM_POSITIVE_PREFIX, temp, resultlength, &status); in TestNumberFormat()
695 unum_getTextAttribute(def, UNUM_NEGATIVE_PREFIX, temp, resultlength, &status); in TestNumberFormat()
712 unum_getTextAttribute(def, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
729 unum_getTextAttribute(def, UNUM_POSITIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
1187 int32_t resultlength; in TestSignificantDigits() local
1203 resultlength=0; in TestSignificantDigits()
1204 resultlengthneeded=unum_formatDouble(fmt, d, NULL, resultlength, NULL, &status); in TestSignificantDigits()
1208 resultlength=resultlengthneeded+1; in TestSignificantDigits()
1209 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSignificantDigits()
1210 unum_formatDouble(fmt, d, result, resultlength, NULL, &status); in TestSignificantDigits()
1268 int32_t resultlength; in TestNumberFormatPadding() local
1303 resultlength=0; in TestNumberFormatPadding()
1304 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status); in TestNumberFormatPadding()
1308 resultlength=resultlengthneeded+1; in TestNumberFormatPadding()
1309 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormatPadding()
1310 unum_toPattern(pattern, FALSE, result, resultlength, &status); in TestNumberFormatPadding()
1326 resultlength=0; in TestNumberFormatPadding()
1328 resultlengthneeded=unum_formatDouble(pattern, d, NULL, resultlength, &pos1, &status); in TestNumberFormatPadding()
1332 resultlength=resultlengthneeded+1; in TestNumberFormatPadding()
1333 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormatPadding()
1334 unum_formatDouble(pattern, d, result, resultlength, NULL, &status); in TestNumberFormatPadding()