• Home
  • Raw
  • Download

Lines Matching refs:lneed

63     int32_t pat_length, i, lneed;  in TestPatterns()  local
86 lneed=0; in TestPatterns()
87 lneed=unum_toPattern(fmt, FALSE, NULL, lneed, &status); in TestPatterns()
90 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns()
91 unum_toPattern(fmt, FALSE, unewp, lneed+1, &status); in TestPatterns()
100 lneed=0; in TestPatterns()
101 lneed=unum_format(fmt, 0, NULL, lneed, NULL, &status); in TestPatterns()
104 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns()
105 unum_format(fmt, 0, str, lneed+1, NULL, &status); in TestPatterns()
125 int32_t lneed; in TestQuotes() local
138 lneed=0; in TestQuotes()
139 lneed=unum_format(fmt, 123, NULL, lneed, NULL, &status); in TestQuotes()
142 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes()
143 unum_format(fmt, 123, str, lneed+1, NULL, &status); in TestQuotes()
167 lneed=0; in TestQuotes()
168 lneed=unum_format(fmt, 123, NULL, lneed, NULL, &status); in TestQuotes()
171 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes()
172 unum_format(fmt, 123, str, lneed+1, NULL, &status); in TestQuotes()
192 int32_t ival, ilval, p, v, lneed; in TestExponential() local
263 lneed= u_strlen(upat) + 1; in TestExponential()
264 unum_toPattern(fmt, FALSE, pattern, lneed, &status); in TestExponential()
269 lneed=0; in TestExponential()
270 lneed=unum_formatDouble(fmt, val[v], NULL, lneed, NULL, &status); in TestExponential()
273 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestExponential()
274 unum_formatDouble(fmt, val[v], str, lneed+1, NULL, &status); in TestExponential()
301 lneed=0; in TestExponential()
302 lneed=unum_formatDouble(fmt, lval[v], NULL, lneed, NULL, &status); in TestExponential()
305 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestExponential()
306 unum_formatDouble(fmt, lval[v], str, lneed+1, NULL, &status); in TestExponential()
342 int32_t lneed; in TestCurrencySign() local
358 lneed=0; in TestCurrencySign()
359 lneed=unum_formatDouble(fmt, 1234.56, NULL, lneed, NULL, &status); in TestCurrencySign()
362 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign()
363 unum_formatDouble(fmt, 1234.56, str, lneed+1, NULL, &status); in TestCurrencySign()
368 lneed=0; in TestCurrencySign()
369 lneed=unum_toPattern(fmt, FALSE, NULL, lneed, &status); in TestCurrencySign()
372 pat=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign()
373 unum_formatDouble(fmt, FALSE, pat, lneed+1, NULL, &status); in TestCurrencySign()
388 lneed=0; in TestCurrencySign()
389 lneed=unum_formatDouble(fmt, -1234.56, NULL, lneed, NULL, &status); in TestCurrencySign()
392 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign()
393 unum_formatDouble(fmt, -1234.56, str, lneed+1, NULL, &status); in TestCurrencySign()
417 int32_t lneed, i; in TestCurrency() local
433 lneed=0; in TestCurrency()
434 lneed= unum_formatDouble(currencyFmt, 1.50, NULL, lneed, NULL, &status); in TestCurrency()
437 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrency()
439 unum_formatDouble(currencyFmt, 1.50, str, lneed+1, &pos, &status); in TestCurrency()
464 int32_t lneed, i; in TestCurrencyPreEuro() local
497 lneed=0; in TestCurrencyPreEuro()
498 lneed= unum_formatDouble(currencyFmt, 1.50, NULL, lneed, NULL, &status); in TestCurrencyPreEuro()
502 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencyPreEuro()
504 unum_formatDouble(currencyFmt, 1.50, str, lneed+1, &pos, &status); in TestCurrencyPreEuro()
534 int32_t lneed, i; in TestCurrencyObject() local
586 lneed=0; in TestCurrencyObject()
587 lneed= unum_formatDouble(currencyFmt, 1234.56, NULL, lneed, NULL, &status); in TestCurrencyObject()
590 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencyObject()
592 unum_formatDouble(currencyFmt, 1234.56, str, lneed+1, &pos, &status); in TestCurrencyObject()
646 int32_t lneed; in roundingTest() local
649 lneed=0; in roundingTest()
650 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest()
653 out=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in roundingTest()
655 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest()
1076 int32_t lneed; in roundingTest2() local
1079 lneed=0; in roundingTest2()
1080 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest2()
1083 out=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in roundingTest2()
1085 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest2()