Lines Matching refs:resultlength
80 int32_t resultlength; in TestDateFormat() local
164 resultlength=0; in TestDateFormat()
165 resultlengthneeded=udat_format(def, d, NULL, resultlength, NULL, &status); in TestDateFormat()
169 resultlength=resultlengthneeded+1; in TestDateFormat()
174 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestDateFormat()
175 udat_format(def, d, result, resultlength, NULL, &status); in TestDateFormat()
277 resultlength=0; in TestDateFormat()
278 resultlengthneeded=udat_toPattern(def1, FALSE, NULL, resultlength, &status); in TestDateFormat()
282 resultlength=resultlengthneeded + 1; in TestDateFormat()
283 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestDateFormat()
284 udat_toPattern(def1, FALSE, result, resultlength, &status); in TestDateFormat()
577 int32_t resultlength; in TestSymbols() local
633 resultlength=0; in TestSymbols()
634 resultlengthout=udat_getSymbols(fr, UDAT_WEEKDAYS, 5 , NULL, resultlength, &status); in TestSymbols()
638 resultlength=resultlengthout+1; in TestSymbols()
643 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
644 udat_getSymbols(fr, UDAT_WEEKDAYS, 5, result, resultlength, &status); in TestSymbols()
692 resultlength=0; in TestSymbols()
693 resultlengthout=udat_toPattern(fr, FALSE, NULL, resultlength, &status); in TestSymbols()
697 resultlength=resultlengthout + 1; in TestSymbols()
698 pattern=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
699 udat_toPattern(fr, FALSE, pattern, resultlength, &status); in TestSymbols()
708 resultlength=0; in TestSymbols()
709 resultlengthout=udat_toPattern(def, FALSE, NULL, resultlength,&status); in TestSymbols()
713 resultlength=resultlengthout + 1; in TestSymbols()
718 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
719 udat_toPattern(fr, FALSE,result, resultlength, &status); in TestSymbols()
733 resultlength=0; in TestSymbols()
734 resultlengthout=udat_getSymbols(fr, UDAT_MONTHS, 11 , NULL, resultlength, &status); in TestSymbols()
737 resultlength=resultlengthout+1; in TestSymbols()
742 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
743 udat_getSymbols(fr, UDAT_MONTHS, 11, result, resultlength, &status); in TestSymbols()
748 resultlength=resultlengthout+1; in TestSymbols()
750 udat_setSymbols(def, UDAT_MONTHS, 11, result, resultlength, &status); in TestSymbols()
758 resultlength=0; in TestSymbols()
759 resultlengthout=udat_getSymbols(def, UDAT_MONTHS, 11, NULL, resultlength, &status); in TestSymbols()
762 resultlength=resultlengthout+1; in TestSymbols()
763 value=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
764 udat_getSymbols(def, UDAT_MONTHS, 11, value, resultlength, &status); in TestSymbols()
1056 int32_t resultlength, resultlengthout; in VerifygetSymbols() local
1061 resultlength=0; in VerifygetSymbols()
1062 resultlengthout=udat_getSymbols(datfor, type, idx , NULL, resultlength, &status); in VerifygetSymbols()
1066 resultlength=resultlengthout+1; in VerifygetSymbols()
1067 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetSymbols()
1068 udat_getSymbols(datfor, type, idx, result, resultlength, &status); in VerifygetSymbols()
1090 int32_t resultlength, resultlengthout; in VerifysetSymbols() local
1103 resultlength=0; in VerifysetSymbols()
1104 resultlengthout=udat_getSymbols(datfor, type, idx, NULL, resultlength, &status); in VerifysetSymbols()
1107 resultlength=resultlengthout+1; in VerifysetSymbols()
1108 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifysetSymbols()
1109 udat_getSymbols(datfor, type, idx, result, resultlength, &status); in VerifysetSymbols()
1133 int32_t resultlength, resultlengthout; in VerifygetsetSymbols() local
1136 resultlength=0; in VerifygetsetSymbols()
1137 resultlengthout=udat_getSymbols(from, type, idx , NULL, resultlength, &status); in VerifygetsetSymbols()
1140 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1141 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetsetSymbols()
1142 udat_getSymbols(from, type, idx, result, resultlength, &status); in VerifygetsetSymbols()
1149 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1150 udat_setSymbols(to, type, idx, result, resultlength, &status); in VerifygetsetSymbols()
1157 resultlength=0; in VerifygetsetSymbols()
1158 resultlengthout=udat_getSymbols(to, type, idx, NULL, resultlength, &status); in VerifygetsetSymbols()
1161 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1162 value=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetsetSymbols()
1163 udat_getSymbols(to, type, idx, value, resultlength, &status); in VerifygetsetSymbols()
1186 int32_t resultlength, resultlengthneeded; in myNumformat() local
1189 resultlength=0; in myNumformat()
1190 resultlengthneeded=unum_formatDouble(numfor, d, NULL, resultlength, NULL, &status); in myNumformat()
1194 resultlength=resultlengthneeded+1; in myNumformat()
1196 result2=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); /*this won't*/ in myNumformat()
1197 unum_formatDouble(numfor, d, result2, resultlength, NULL, &status); in myNumformat()