• Home
  • Raw
  • Download

Lines Matching refs:lneed

61     int32_t pat_length, i, lneed;  in TestPatterns()  local
84 lneed=0; in TestPatterns()
85 lneed=unum_toPattern(fmt, FALSE, NULL, lneed, &status); in TestPatterns()
88 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns()
89 unum_toPattern(fmt, FALSE, unewp, lneed+1, &status); in TestPatterns()
98 lneed=0; in TestPatterns()
99 lneed=unum_format(fmt, 0, NULL, lneed, NULL, &status); in TestPatterns()
102 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestPatterns()
103 unum_format(fmt, 0, str, lneed+1, NULL, &status); in TestPatterns()
123 int32_t lneed; in TestQuotes() local
136 lneed=0; in TestQuotes()
137 lneed=unum_format(fmt, 123, NULL, lneed, NULL, &status); in TestQuotes()
140 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes()
141 unum_format(fmt, 123, str, lneed+1, NULL, &status); in TestQuotes()
165 lneed=0; in TestQuotes()
166 lneed=unum_format(fmt, 123, NULL, lneed, NULL, &status); in TestQuotes()
169 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestQuotes()
170 unum_format(fmt, 123, str, lneed+1, NULL, &status); in TestQuotes()
190 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()
467 int32_t lneed, i; in TestCurrencyObject() local
519 lneed=0; in TestCurrencyObject()
520 lneed= unum_formatDouble(currencyFmt, 1234.56, NULL, lneed, NULL, &status); in TestCurrencyObject()
523 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in TestCurrencyObject()
525 unum_formatDouble(currencyFmt, 1234.56, str, lneed+1, &pos, &status); in TestCurrencyObject()
579 int32_t lneed; in roundingTest() local
582 lneed=0; in roundingTest()
583 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest()
586 out=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in roundingTest()
588 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest()
1009 int32_t lneed; in roundingTest2() local
1012 lneed=0; in roundingTest2()
1013 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest2()
1016 out=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); in roundingTest2()
1018 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest2()