Lines Matching refs:resultlength
84 int32_t resultlength; in TestDateFormat() local
168 resultlength=0; in TestDateFormat()
169 resultlengthneeded=udat_format(def, d, NULL, resultlength, NULL, &status); in TestDateFormat()
173 resultlength=resultlengthneeded+1; in TestDateFormat()
178 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestDateFormat()
179 udat_format(def, d, result, resultlength, NULL, &status); in TestDateFormat()
286 resultlength=0; in TestDateFormat()
287 resultlengthneeded=udat_toPattern(def1, FALSE, NULL, resultlength, &status); in TestDateFormat()
291 resultlength=resultlengthneeded + 1; in TestDateFormat()
292 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestDateFormat()
293 udat_toPattern(def1, FALSE, result, resultlength, &status); in TestDateFormat()
586 int32_t resultlength; in TestSymbols() local
642 resultlength=0; in TestSymbols()
643 resultlengthout=udat_getSymbols(fr, UDAT_WEEKDAYS, 5 , NULL, resultlength, &status); in TestSymbols()
647 resultlength=resultlengthout+1; in TestSymbols()
652 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
653 udat_getSymbols(fr, UDAT_WEEKDAYS, 5, result, resultlength, &status); in TestSymbols()
705 resultlength=0; in TestSymbols()
706 resultlengthout=udat_toPattern(fr, FALSE, NULL, resultlength, &status); in TestSymbols()
710 resultlength=resultlengthout + 1; in TestSymbols()
711 pattern=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
712 udat_toPattern(fr, FALSE, pattern, resultlength, &status); in TestSymbols()
721 resultlength=0; in TestSymbols()
722 resultlengthout=udat_toPattern(def, FALSE, NULL, resultlength,&status); in TestSymbols()
726 resultlength=resultlengthout + 1; in TestSymbols()
731 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
732 udat_toPattern(fr, FALSE,result, resultlength, &status); in TestSymbols()
746 resultlength=0; in TestSymbols()
747 resultlengthout=udat_getSymbols(fr, UDAT_MONTHS, 11 , NULL, resultlength, &status); in TestSymbols()
750 resultlength=resultlengthout+1; in TestSymbols()
755 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
756 udat_getSymbols(fr, UDAT_MONTHS, 11, result, resultlength, &status); in TestSymbols()
761 resultlength=resultlengthout+1; in TestSymbols()
763 udat_setSymbols(def, UDAT_MONTHS, 11, result, resultlength, &status); in TestSymbols()
771 resultlength=0; in TestSymbols()
772 resultlengthout=udat_getSymbols(def, UDAT_MONTHS, 11, NULL, resultlength, &status); in TestSymbols()
775 resultlength=resultlengthout+1; in TestSymbols()
776 value=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
777 udat_getSymbols(def, UDAT_MONTHS, 11, value, resultlength, &status); in TestSymbols()
1069 int32_t resultlength, resultlengthout; in VerifygetSymbols() local
1074 resultlength=0; in VerifygetSymbols()
1075 resultlengthout=udat_getSymbols(datfor, type, idx , NULL, resultlength, &status); in VerifygetSymbols()
1079 resultlength=resultlengthout+1; in VerifygetSymbols()
1080 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetSymbols()
1081 udat_getSymbols(datfor, type, idx, result, resultlength, &status); in VerifygetSymbols()
1103 int32_t resultlength, resultlengthout; in VerifysetSymbols() local
1116 resultlength=0; in VerifysetSymbols()
1117 resultlengthout=udat_getSymbols(datfor, type, idx, NULL, resultlength, &status); in VerifysetSymbols()
1120 resultlength=resultlengthout+1; in VerifysetSymbols()
1121 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifysetSymbols()
1122 udat_getSymbols(datfor, type, idx, result, resultlength, &status); in VerifysetSymbols()
1146 int32_t resultlength, resultlengthout; in VerifygetsetSymbols() local
1149 resultlength=0; in VerifygetsetSymbols()
1150 resultlengthout=udat_getSymbols(from, type, idx , NULL, resultlength, &status); in VerifygetsetSymbols()
1153 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1154 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetsetSymbols()
1155 udat_getSymbols(from, type, idx, result, resultlength, &status); in VerifygetsetSymbols()
1162 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1163 udat_setSymbols(to, type, idx, result, resultlength, &status); in VerifygetsetSymbols()
1170 resultlength=0; in VerifygetsetSymbols()
1171 resultlengthout=udat_getSymbols(to, type, idx, NULL, resultlength, &status); in VerifygetsetSymbols()
1174 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1175 value=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetsetSymbols()
1176 udat_getSymbols(to, type, idx, value, resultlength, &status); in VerifygetsetSymbols()
1199 int32_t resultlength, resultlengthneeded; in myNumformat() local
1202 resultlength=0; in myNumformat()
1203 resultlengthneeded=unum_formatDouble(numfor, d, NULL, resultlength, NULL, &status); in myNumformat()
1207 resultlength=resultlengthneeded+1; in myNumformat()
1209 result2=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); /*this won't*/ in myNumformat()
1210 unum_formatDouble(numfor, d, result2, resultlength, NULL, &status); in myNumformat()