Lines Matching defs:resultLength
111 int32_t resultLengthOut,resultlength,i, patternlength;
119 resultlength=1;
126 resultLengthOut=u_formatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength,
131 resultlength=resultLengthOut+1;
132 result=(UChar*)realloc(result,sizeof(UChar) * resultlength);
133 u_formatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength,
157 resultlength=0;
158 resultLengthOut=u_formatMessageWithError( "en_US",testCasePatterns[i], patternlength, result, resultlength,
163 resultlength=resultLengthOut+1;
164 result=(UChar*)malloc(sizeof(UChar) * resultlength);
165 u_formatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength,
195 int32_t resultLength =0,count=0;
209 resultLength = umsg_format(formatter,result,resultLength,&ec,1,3456.00,d1);
212 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2);
213 resultLength = umsg_format(formatter,result,resultLength+2,&ec,1,3456.00,d1);
243 umsg_parse(formatter,result,resultLength,&count,&ec,one,two,d2);
255 umsg_parse(formatter,result,resultLength,&count,&ec,&one,&two,&d2);
278 int32_t resultLengthOut, resultlength;
291 resultlength=1;
292 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
296 resultlength=resultLengthOut+1;
297 result=(UChar*)realloc(result, sizeof(UChar) * resultlength);
298 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d);
320 resultlength,
327 resultlength=resultLengthOut+1;
328 result=(UChar*)realloc(result, sizeof(UChar) * (resultlength+1));
329 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23);
347 resultlength=0;
348 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, str, 500.00);
352 resultlength=resultLengthOut+1;
353 result=(UChar*)realloc(result, sizeof(UChar) * resultlength);
354 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 500.00);
379 int32_t resultLengthOut, resultlength;
411 resultlength=1;
417 result=(UChar*)malloc(sizeof(UChar) * resultlength);
419 resultLengthOut=umsg_format(fmt ,result, resultlength,&status, d1, str, 7);
423 resultlength=resultLengthOut+1;
424 result=(UChar*)realloc(result, sizeof(UChar) * resultlength);
425 u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError, &status, d1, str, 7);
481 int32_t resultLengthOut, resultlength;
511 resultlength=1;
512 result=(UChar*)malloc(sizeof(UChar) * resultlength);
513 resultLengthOut=u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError, &status, d1, str, 7);
517 resultlength=resultLengthOut+1;
518 result=(UChar*)realloc(result, sizeof(UChar) * resultlength);
519 u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError, &status, d1, str, 7);
575 int32_t resultLengthOut, resultlength;
604 resultlength=1;
605 result=(UChar*)malloc(sizeof(UChar) * resultlength);
606 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7);
610 resultlength=resultLengthOut+1;
611 result=(UChar*)realloc(result, sizeof(UChar) * resultlength);
612 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7);
670 int32_t resultlength,resultLengthOut;
679 resultlength=0;
680 resultLengthOut=u_formatMessage( "fr", pattern, u_strlen(pattern), NULL, resultlength, &status, str , str1);
684 resultlength=resultLengthOut+1;
685 result=(UChar*)malloc(sizeof(UChar) * resultlength);
686 u_formatMessage( "fr", pattern, u_strlen(pattern), result, resultlength, &status, str , str1);
709 resultlength=0;
710 resultLengthOut=u_formatMessage( "fr", pattern, u_strlen(pattern), NULL, resultlength, &status, str , str1,6);
714 resultlength=resultLengthOut+1;
715 result=(UChar*)malloc(sizeof(UChar) * resultlength);
716 u_formatMessage( "fr", pattern, u_strlen(pattern), result, resultlength, &status, str , str1);
740 int32_t resultlength,resultLengthOut;
754 resultlength=0;
755 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, 100., str);
759 resultlength=resultLengthOut+1;
760 result=(UChar*)malloc(sizeof(UChar) * resultlength);
761 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, 100., str);
776 resultlength=0;
777 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, 0., str);
781 resultlength=resultLengthOut+1;
782 result=(UChar*)malloc(sizeof(UChar) * resultlength);
783 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, 0., str);
799 resultlength=0;
800 resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, 1., str);
804 resultlength=resultLengthOut+1;
805 result=(UChar*)malloc(sizeof(UChar) * resultlength);
806 u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, 1., str);
869 UChar* result, int32_t resultLength, UErrorCode *status, ...)
874 len = u_vformatMessage(locale, testCasePattern, patternLength, result, resultLength, ap, status);
885 int32_t resultLengthOut,resultlength,i, patternlength;
893 resultlength=1;
900 resultLengthOut=CallFormatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength,
905 resultlength=resultLengthOut+1;
906 result=(UChar*)realloc(result,sizeof(UChar) * resultlength);
907 CallFormatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength,