Lines Matching refs:lneed

60     int32_t pat_length, i, lneed;  in TestPatterns()  local
83 lneed=0; in TestPatterns()
84 lneed=unum_toPattern(fmt, FALSE, NULL, lneed, &status); in TestPatterns()
87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns()
88 unum_toPattern(fmt, FALSE, unewp, lneed+1, &status); in TestPatterns()
97 lneed=0; in TestPatterns()
98 lneed=unum_format(fmt, 0, NULL, lneed, NULL, &status); in TestPatterns()
101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns()
102 unum_format(fmt, 0, str, lneed+1, NULL, &status); in TestPatterns()
122 int32_t lneed; in TestQuotes() local
135 lneed=0; in TestQuotes()
136 lneed=unum_format(fmt, 123, NULL, lneed, NULL, &status); in TestQuotes()
139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes()
140 unum_format(fmt, 123, str, lneed+1, NULL, &status); in TestQuotes()
164 lneed=0; in TestQuotes()
165 lneed=unum_format(fmt, 123, NULL, lneed, NULL, &status); in TestQuotes()
168 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes()
169 unum_format(fmt, 123, str, lneed+1, NULL, &status); in TestQuotes()
189 int32_t ival, ilval, p, v, lneed; in TestExponential() local
260 lneed= u_strlen(upat) + 1; in TestExponential()
261 unum_toPattern(fmt, FALSE, pattern, lneed, &status); in TestExponential()
266 lneed=0; in TestExponential()
267 lneed=unum_formatDouble(fmt, val[v], NULL, lneed, NULL, &status); in TestExponential()
270 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestExponential()
271 unum_formatDouble(fmt, val[v], str, lneed+1, NULL, &status); in TestExponential()
298 lneed=0; in TestExponential()
299 lneed=unum_formatDouble(fmt, lval[v], NULL, lneed, NULL, &status); in TestExponential()
302 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestExponential()
303 unum_formatDouble(fmt, lval[v], str, lneed+1, NULL, &status); in TestExponential()
339 int32_t lneed; in TestCurrencySign() local
355 lneed=0; in TestCurrencySign()
356 lneed=unum_formatDouble(fmt, 1234.56, NULL, lneed, NULL, &status); in TestCurrencySign()
359 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign()
360 unum_formatDouble(fmt, 1234.56, str, lneed+1, NULL, &status); in TestCurrencySign()
365 lneed=0; in TestCurrencySign()
366 lneed=unum_toPattern(fmt, FALSE, NULL, lneed, &status); in TestCurrencySign()
369 pat=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign()
370 unum_formatDouble(fmt, FALSE, pat, lneed+1, NULL, &status); in TestCurrencySign()
385 lneed=0; in TestCurrencySign()
386 lneed=unum_formatDouble(fmt, -1234.56, NULL, lneed, NULL, &status); in TestCurrencySign()
389 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencySign()
390 unum_formatDouble(fmt, -1234.56, str, lneed+1, NULL, &status); in TestCurrencySign()
414 int32_t lneed, i; in TestCurrency() local
430 lneed=0; in TestCurrency()
431 lneed= unum_formatDouble(currencyFmt, 1.50, NULL, lneed, NULL, &status); in TestCurrency()
434 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrency()
436 unum_formatDouble(currencyFmt, 1.50, str, lneed+1, &pos, &status); in TestCurrency()
461 int32_t lneed, i; in TestCurrencyPreEuro() local
494 lneed=0; in TestCurrencyPreEuro()
495 lneed= unum_formatDouble(currencyFmt, 1.50, NULL, lneed, NULL, &status); in TestCurrencyPreEuro()
499 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencyPreEuro()
501 unum_formatDouble(currencyFmt, 1.50, str, lneed+1, &pos, &status); in TestCurrencyPreEuro()
531 int32_t lneed, i; in TestCurrencyObject() local
583 lneed=0; in TestCurrencyObject()
584 lneed= unum_formatDouble(currencyFmt, 1234.56, NULL, lneed, NULL, &status); in TestCurrencyObject()
587 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencyObject()
589 unum_formatDouble(currencyFmt, 1234.56, str, lneed+1, &pos, &status); in TestCurrencyObject()
643 int32_t lneed; in roundingTest() local
646 lneed=0; in roundingTest()
647 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest()
650 out=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in roundingTest()
652 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest()
1041 int32_t lneed; in roundingTest2() local
1044 lneed=0; in roundingTest2()
1045 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest2()
1048 out=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in roundingTest2()
1050 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest2()