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()
696 resultlength=0; in TestSymbols()
697 resultlengthout=udat_toPattern(fr, FALSE, NULL, resultlength, &status); in TestSymbols()
701 resultlength=resultlengthout + 1; in TestSymbols()
702 pattern=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
703 udat_toPattern(fr, FALSE, pattern, resultlength, &status); in TestSymbols()
712 resultlength=0; in TestSymbols()
713 resultlengthout=udat_toPattern(def, FALSE, NULL, resultlength,&status); in TestSymbols()
717 resultlength=resultlengthout + 1; in TestSymbols()
722 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
723 udat_toPattern(fr, FALSE,result, resultlength, &status); in TestSymbols()
737 resultlength=0; in TestSymbols()
738 resultlengthout=udat_getSymbols(fr, UDAT_MONTHS, 11 , NULL, resultlength, &status); in TestSymbols()
741 resultlength=resultlengthout+1; in TestSymbols()
746 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
747 udat_getSymbols(fr, UDAT_MONTHS, 11, result, resultlength, &status); in TestSymbols()
752 resultlength=resultlengthout+1; in TestSymbols()
754 udat_setSymbols(def, UDAT_MONTHS, 11, result, resultlength, &status); in TestSymbols()
762 resultlength=0; in TestSymbols()
763 resultlengthout=udat_getSymbols(def, UDAT_MONTHS, 11, NULL, resultlength, &status); in TestSymbols()
766 resultlength=resultlengthout+1; in TestSymbols()
767 value=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSymbols()
768 udat_getSymbols(def, UDAT_MONTHS, 11, value, resultlength, &status); in TestSymbols()
1060 int32_t resultlength, resultlengthout; in VerifygetSymbols() local
1065 resultlength=0; in VerifygetSymbols()
1066 resultlengthout=udat_getSymbols(datfor, type, idx , NULL, resultlength, &status); in VerifygetSymbols()
1070 resultlength=resultlengthout+1; in VerifygetSymbols()
1071 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetSymbols()
1072 udat_getSymbols(datfor, type, idx, result, resultlength, &status); in VerifygetSymbols()
1094 int32_t resultlength, resultlengthout; in VerifysetSymbols() local
1107 resultlength=0; in VerifysetSymbols()
1108 resultlengthout=udat_getSymbols(datfor, type, idx, NULL, resultlength, &status); in VerifysetSymbols()
1111 resultlength=resultlengthout+1; in VerifysetSymbols()
1112 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifysetSymbols()
1113 udat_getSymbols(datfor, type, idx, result, resultlength, &status); in VerifysetSymbols()
1137 int32_t resultlength, resultlengthout; in VerifygetsetSymbols() local
1140 resultlength=0; in VerifygetsetSymbols()
1141 resultlengthout=udat_getSymbols(from, type, idx , NULL, resultlength, &status); in VerifygetsetSymbols()
1144 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1145 result=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetsetSymbols()
1146 udat_getSymbols(from, type, idx, result, resultlength, &status); in VerifygetsetSymbols()
1153 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1154 udat_setSymbols(to, type, idx, result, resultlength, &status); in VerifygetsetSymbols()
1161 resultlength=0; in VerifygetsetSymbols()
1162 resultlengthout=udat_getSymbols(to, type, idx, NULL, resultlength, &status); in VerifygetsetSymbols()
1165 resultlength=resultlengthout+1; in VerifygetsetSymbols()
1166 value=(UChar*)malloc(sizeof(UChar) * resultlength); in VerifygetsetSymbols()
1167 udat_getSymbols(to, type, idx, value, resultlength, &status); in VerifygetsetSymbols()
1190 int32_t resultlength, resultlengthneeded; in myNumformat() local
1193 resultlength=0; in myNumformat()
1194 resultlengthneeded=unum_formatDouble(numfor, d, NULL, resultlength, NULL, &status); in myNumformat()
1198 resultlength=resultlengthneeded+1; in myNumformat()
1200 result2=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); /*this won't*/ in myNumformat()
1201 unum_formatDouble(numfor, d, result2, resultlength, NULL, &status); in myNumformat()