Lines Matching refs:resultlength
134 int32_t resultlength;
238 resultlength=0;
240 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status);
244 resultlength=resultlengthneeded+1;
245 result=(UChar*)malloc(sizeof(UChar) * resultlength);
248 unum_format(cur_def, l, result, resultlength, &pos1, &status);
271 resultlength=0;
273 resultlengthneeded=unum_formatDouble(cur_def, d, NULL, resultlength, &pos2, &status);
277 resultlength=resultlengthneeded+1;
278 result=(UChar*)malloc(sizeof(UChar) * resultlength);
281 unum_formatDouble(cur_def, d, result, resultlength, &pos2, &status);
326 resultlength=0;
328 resultlengthneeded=unum_formatDoubleCurrency(cur_def, a, temp, NULL, resultlength, &pos2, &status);
331 resultlength=resultlengthneeded+1;
332 result=(UChar*)malloc(sizeof(UChar) * resultlength);
333 unum_formatDoubleCurrency(cur_def, a, temp, result, resultlength, &pos2, &status);
380 resultlength=u_strlen(temp1);
384 d1=unum_parseDouble(cur_def, temp1, resultlength, &parsepos, &status);
388 log_err("parseDouble('%s') failed. The error is : %s\n", aescstrdup(temp1, resultlength), myErrorName(status));
415 resultlength=0;
417 resultlengthneeded=unum_format(per_fr, l, NULL, resultlength, &pos1, &status);
421 resultlength=resultlengthneeded+1;
422 result=(UChar*)malloc(sizeof(UChar) * resultlength);
425 unum_format(per_fr, l, result, resultlength, &pos1, &status);
465 resultlength=0;
466 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status);
470 resultlength=resultlengthneeded+1;
471 result=(UChar*)malloc(sizeof(UChar) * resultlength);
472 unum_toPattern(pattern, FALSE, result, resultlength, &status);
490 resultlength=0;
491 resultlengthneeded=unum_toPattern(cur_def, FALSE, NULL, resultlength, &status);
495 resultlength=resultlengthneeded+1;
496 result=(UChar*)malloc(sizeof(UChar) * resultlength);
497 unum_toPattern(cur_def, FALSE, result, resultlength, &status);
526 resultlength=0;
527 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status);
531 resultlength=resultlengthneeded+1;
532 result=(UChar*)malloc(sizeof(UChar) * resultlength);
533 unum_format(cur_def, l, result, resultlength, &pos1, &status);
559 resultlength=0;
560 resultlengthneeded=unum_format(cur_frpattern, l, NULL, resultlength, &pos1, &status);
564 resultlength=resultlengthneeded+1;
565 unum_format(cur_frpattern, l, temp1, resultlength, &pos1, &status);
600 resultlength = unum_getSymbol(cur_frpattern, (UNumberFormatSymbol)i, symbol, sizeof(symbol)/U_SIZEOF_UCHAR, &status);
605 if(resultlength != 2 || symbol[0] != 0x41 + i || symbol[1] != 0x61 + i) {
623 resultlength=5;
624 unum_getTextAttribute(cur_fr, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status);
634 unum_getTextAttribute(cur_def, UNUM_NEGATIVE_SUFFIX, suffix, resultlength, &status);
654 unum_getTextAttribute(def, UNUM_POSITIVE_PREFIX, temp, resultlength, &status);
671 unum_getTextAttribute(def, UNUM_NEGATIVE_PREFIX, temp, resultlength, &status);
688 unum_getTextAttribute(def, UNUM_NEGATIVE_SUFFIX, temp, resultlength, &status);
705 unum_getTextAttribute(def, UNUM_POSITIVE_SUFFIX, temp, resultlength, &status);
1164 int32_t resultlength;
1180 resultlength=0;
1181 resultlengthneeded=unum_formatDouble(fmt, d, NULL, resultlength, NULL, &status);
1185 resultlength=resultlengthneeded+1;
1186 result=(UChar*)malloc(sizeof(UChar) * resultlength);
1187 unum_formatDouble(fmt, d, result, resultlength, NULL, &status);
1245 int32_t resultlength;
1280 resultlength=0;
1281 resultlengthneeded=unum_toPattern(pattern, FALSE, NULL, resultlength, &status);
1285 resultlength=resultlengthneeded+1;
1286 result=(UChar*)malloc(sizeof(UChar) * resultlength);
1287 unum_toPattern(pattern, FALSE, result, resultlength, &status);
1303 resultlength=0;
1305 resultlengthneeded=unum_formatDouble(pattern, d, NULL, resultlength, &pos1, &status);
1309 resultlength=resultlengthneeded+1;
1310 result=(UChar*)malloc(sizeof(UChar) * resultlength);
1311 unum_formatDouble(pattern, d, result, resultlength, NULL, &status);