Home | History | Annotate | Download | only in cintltst

Lines Matching full:resultlength

51     int32_t resultlength, resultlengthneeded;
69 resultlength=0;
70 resultlengthneeded=udat_toPattern(df, TRUE, NULL, resultlength, &status);
74 resultlength=resultlengthneeded + 1;
75 pat=(UChar*)malloc(sizeof(UChar) * resultlength);
76 udat_toPattern(df, TRUE, pat, resultlength, &status);
241 int32_t resultlength, resultlengthneeded;
247 resultlength=0;
248 resultlengthneeded=udat_toPattern(fmt, TRUE, NULL, resultlength, &status);
252 resultlength=resultlengthneeded + 1;
253 pat=(UChar*)malloc(sizeof(UChar) * (resultlength));
254 udat_toPattern(fmt, TRUE, pat, resultlength, &status);
605 int32_t resultlength, resultlengthneeded;
608 resultlength=0;
609 resultlengthneeded=udat_format(datdef, d1, NULL, resultlength, NULL, &status);
613 resultlength=resultlengthneeded+1;
614 /*result1=(UChar*)malloc(sizeof(UChar) * resultlength);*/ /*this leaks*/
615 result1=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); /*this won't*/
616 udat_format(datdef, d1, result1, resultlength, NULL, &status);