Lines Matching refs:resultlength

153     int32_t resultlength;  in TestNumberFormat()  local
257 resultlength=0; in TestNumberFormat()
259 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
263 resultlength=resultlengthneeded+1; in TestNumberFormat()
264 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
267 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat()
290 resultlength=0; in TestNumberFormat()
292 resultlengthneeded=unum_formatDouble(cur_def, d, NULL, resultlength, &pos2, &status); in TestNumberFormat()
296 resultlength=resultlengthneeded+1; in TestNumberFormat()
297 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
300 unum_formatDouble(cur_def, d, result, resultlength, &pos2, &status); in TestNumberFormat()
347 resultlength=0; in TestNumberFormat()
349 …resultlengthneeded=unum_formatDoubleCurrency(cur_def, a, temp, NULL, resultlength, &pos2, &status); in TestNumberFormat()
352 resultlength=resultlengthneeded+1; in TestNumberFormat()
353 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
354 unum_formatDoubleCurrency(cur_def, a, temp, result, resultlength, &pos2, &status); in TestNumberFormat()
402 resultlength=u_strlen(temp1); in TestNumberFormat()
406 d1=unum_parseDouble(cur_def, temp1, resultlength, &parsepos, &status); in TestNumberFormat()
410 …log_err("parseDouble('%s') failed. The error is : %s\n", aescstrdup(temp1, resultlength), myError… in TestNumberFormat()
437 resultlength=0; in TestNumberFormat()
439 resultlengthneeded=unum_format(per_fr, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
443 resultlength=resultlengthneeded+1; in TestNumberFormat()
444 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
447 unum_format(per_fr, l, result, resultlength, &pos1, &status); in TestNumberFormat()
487 resultlength=0; in TestNumberFormat()
488 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status); in TestNumberFormat()
492 resultlength=resultlengthneeded+1; in TestNumberFormat()
493 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
494 unum_toPattern(pattern, FALSE, result, resultlength, &status); in TestNumberFormat()
512 resultlength=0; in TestNumberFormat()
513 resultlengthneeded=unum_toPattern(cur_def, FALSE, NULL, resultlength, &status); in TestNumberFormat()
517 resultlength=resultlengthneeded+1; in TestNumberFormat()
518 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
519 unum_toPattern(cur_def, FALSE, result, resultlength, &status); in TestNumberFormat()
548 resultlength=0; in TestNumberFormat()
549 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
553 resultlength=resultlengthneeded+1; in TestNumberFormat()
554 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
555 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat()
581 resultlength=0; in TestNumberFormat()
582 resultlengthneeded=unum_format(cur_frpattern, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
586 resultlength=resultlengthneeded+1; in TestNumberFormat()
587 unum_format(cur_frpattern, l, temp1, resultlength, &pos1, &status); in TestNumberFormat()
622resultlength = unum_getSymbol(cur_frpattern, (UNumberFormatSymbol)i, symbol, sizeof(symbol)/U_SIZE… in TestNumberFormat()
627 if(resultlength != 2 || symbol[0] != 0x41 + i || symbol[1] != 0x61 + i) { in TestNumberFormat()
645 resultlength=5; in TestNumberFormat()
646 unum_getTextAttribute(cur_fr, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
656 unum_getTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, suffix, resultlength, &status); in TestNumberFormat()
676 unum_getTextAttribute(def, UNUM_POSITIVE_PREFIX, temp, resultlength, &status); in TestNumberFormat()
693 unum_getTextAttribute(def, UNUM_NEGATIVE_PREFIX, temp, resultlength, &status); in TestNumberFormat()
710 unum_getTextAttribute(def, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
727 unum_getTextAttribute(def, UNUM_POSITIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
1183 int32_t resultlength; in TestSignificantDigits() local
1199 resultlength=0; in TestSignificantDigits()
1200 resultlengthneeded=unum_formatDouble(fmt, d, NULL, resultlength, NULL, &status); in TestSignificantDigits()
1204 resultlength=resultlengthneeded+1; in TestSignificantDigits()
1205 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSignificantDigits()
1206 unum_formatDouble(fmt, d, result, resultlength, NULL, &status); in TestSignificantDigits()
1264 int32_t resultlength; in TestNumberFormatPadding() local
1299 resultlength=0; in TestNumberFormatPadding()
1300 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status); in TestNumberFormatPadding()
1304 resultlength=resultlengthneeded+1; in TestNumberFormatPadding()
1305 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormatPadding()
1306 unum_toPattern(pattern, FALSE, result, resultlength, &status); in TestNumberFormatPadding()
1322 resultlength=0; in TestNumberFormatPadding()
1324 resultlengthneeded=unum_formatDouble(pattern, d, NULL, resultlength, &pos1, &status); in TestNumberFormatPadding()
1328 resultlength=resultlengthneeded+1; in TestNumberFormatPadding()
1329 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormatPadding()
1330 unum_formatDouble(pattern, d, result, resultlength, NULL, &status); in TestNumberFormatPadding()