• Home
  • Raw
  • Download

Lines Matching refs:resultlength

178     int32_t resultlength;  in TestNumberFormat()  local
282 resultlength=0; in TestNumberFormat()
284 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
288 resultlength=resultlengthneeded+1; in TestNumberFormat()
289 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
292 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat()
315 resultlength=0; in TestNumberFormat()
317 resultlengthneeded=unum_formatDouble(cur_def, d, NULL, resultlength, &pos2, &status); in TestNumberFormat()
321 resultlength=resultlengthneeded+1; in TestNumberFormat()
322 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
325 unum_formatDouble(cur_def, d, result, resultlength, &pos2, &status); in TestNumberFormat()
372 resultlength=0; in TestNumberFormat()
374 …resultlengthneeded=unum_formatDoubleCurrency(cur_def, a, temp, NULL, resultlength, &pos2, &status); in TestNumberFormat()
377 resultlength=resultlengthneeded+1; in TestNumberFormat()
378 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
379 unum_formatDoubleCurrency(cur_def, a, temp, result, resultlength, &pos2, &status); in TestNumberFormat()
427 resultlength=u_strlen(temp1); in TestNumberFormat()
431 d1=unum_parseDouble(cur_def, temp1, resultlength, &parsepos, &status); in TestNumberFormat()
435 …log_err("parseDouble('%s') failed. The error is : %s\n", aescstrdup(temp1, resultlength), myError… in TestNumberFormat()
462 resultlength=0; in TestNumberFormat()
464 resultlengthneeded=unum_format(per_fr, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
468 resultlength=resultlengthneeded+1; in TestNumberFormat()
469 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
472 unum_format(per_fr, l, result, resultlength, &pos1, &status); in TestNumberFormat()
512 resultlength=0; in TestNumberFormat()
513 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status); in TestNumberFormat()
517 resultlength=resultlengthneeded+1; in TestNumberFormat()
518 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
519 unum_toPattern(pattern, FALSE, result, resultlength, &status); in TestNumberFormat()
537 resultlength=0; in TestNumberFormat()
538 resultlengthneeded=unum_toPattern(cur_def, FALSE, NULL, resultlength, &status); in TestNumberFormat()
542 resultlength=resultlengthneeded+1; in TestNumberFormat()
543 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
544 unum_toPattern(cur_def, FALSE, result, resultlength, &status); in TestNumberFormat()
573 resultlength=0; in TestNumberFormat()
574 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
578 resultlength=resultlengthneeded+1; in TestNumberFormat()
579 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormat()
580 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat()
606 resultlength=0; in TestNumberFormat()
607 resultlengthneeded=unum_format(cur_frpattern, l, NULL, resultlength, &pos1, &status); in TestNumberFormat()
611 resultlength=resultlengthneeded+1; in TestNumberFormat()
612 unum_format(cur_frpattern, l, temp1, resultlength, &pos1, &status); in TestNumberFormat()
647resultlength = unum_getSymbol(cur_frpattern, (UNumberFormatSymbol)i, symbol, UPRV_LENGTHOF(symbol)… in TestNumberFormat()
652 if(resultlength != 2 || symbol[0] != 0x41 + i || symbol[1] != 0x61 + i) { in TestNumberFormat()
670 resultlength=5; in TestNumberFormat()
671 unum_getTextAttribute(cur_fr, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
681 unum_getTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, suffix, resultlength, &status); in TestNumberFormat()
701 unum_getTextAttribute(def, UNUM_POSITIVE_PREFIX, temp, resultlength, &status); in TestNumberFormat()
718 unum_getTextAttribute(def, UNUM_NEGATIVE_PREFIX, temp, resultlength, &status); in TestNumberFormat()
735 unum_getTextAttribute(def, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
752 unum_getTextAttribute(def, UNUM_POSITIVE_SUFFIX, temp, resultlength, &status); in TestNumberFormat()
1219 int32_t resultlength; in TestSignificantDigits() local
1235 resultlength=0; in TestSignificantDigits()
1236 resultlengthneeded=unum_formatDouble(fmt, d, NULL, resultlength, NULL, &status); in TestSignificantDigits()
1240 resultlength=resultlengthneeded+1; in TestSignificantDigits()
1241 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSignificantDigits()
1242 unum_formatDouble(fmt, d, result, resultlength, NULL, &status); in TestSignificantDigits()
1301 int32_t resultlength; in TestNumberFormatPadding() local
1337 resultlength=0; in TestNumberFormatPadding()
1338 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status); in TestNumberFormatPadding()
1342 resultlength=resultlengthneeded+1; in TestNumberFormatPadding()
1343 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormatPadding()
1344 unum_toPattern(pattern, FALSE, result, resultlength, &status); in TestNumberFormatPadding()
1365 resultlength=0; in TestNumberFormatPadding()
1367 resultlengthneeded=unum_formatDouble(pattern, d, NULL, resultlength, &pos1, &status); in TestNumberFormatPadding()
1371 resultlength=resultlengthneeded+1; in TestNumberFormatPadding()
1372 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNumberFormatPadding()
1373 unum_formatDouble(pattern, d, result, resultlength, NULL, &status); in TestNumberFormatPadding()