Lines Matching refs:resultlength
68 int32_t resultlength;
152 resultlength=0;
153 resultlengthneeded=udat_format(def, d, NULL, resultlength, NULL, &status);
157 resultlength=resultlengthneeded+1;
162 result=(UChar*)malloc(sizeof(UChar) * resultlength);
163 udat_format(def, d, result, resultlength, NULL, &status);
265 resultlength=0;
266 resultlengthneeded=udat_toPattern(def1, FALSE, NULL, resultlength, &status);
270 resultlength=resultlengthneeded + 1;
271 result=(UChar*)malloc(sizeof(UChar) * resultlength);
272 udat_toPattern(def1, FALSE, result, resultlength, &status);
534 int32_t resultlength;
580 resultlength=0;
581 resultlengthout=udat_getSymbols(fr, UDAT_WEEKDAYS, 5 , NULL, resultlength, &status);
585 resultlength=resultlengthout+1;
590 result=(UChar*)malloc(sizeof(UChar) * resultlength);
591 udat_getSymbols(fr, UDAT_WEEKDAYS, 5, result, resultlength, &status);
634 resultlength=0;
635 resultlengthout=udat_toPattern(fr, FALSE, NULL, resultlength, &status);
639 resultlength=resultlengthout + 1;
640 pattern=(UChar*)malloc(sizeof(UChar) * resultlength);
641 udat_toPattern(fr, FALSE, pattern, resultlength, &status);
650 resultlength=0;
651 resultlengthout=udat_toPattern(def, FALSE, NULL, resultlength,&status);
655 resultlength=resultlengthout + 1;
660 result=(UChar*)malloc(sizeof(UChar) * resultlength);
661 udat_toPattern(fr, FALSE,result, resultlength, &status);
675 resultlength=0;
676 resultlengthout=udat_getSymbols(fr, UDAT_MONTHS, 11 , NULL, resultlength, &status);
679 resultlength=resultlengthout+1;
684 result=(UChar*)malloc(sizeof(UChar) * resultlength);
685 udat_getSymbols(fr, UDAT_MONTHS, 11, result, resultlength, &status);
690 resultlength=resultlengthout+1;
692 udat_setSymbols(def, UDAT_MONTHS, 11, result, resultlength, &status);
700 resultlength=0;
701 resultlengthout=udat_getSymbols(def, UDAT_MONTHS, 11, NULL, resultlength, &status);
704 resultlength=resultlengthout+1;
705 value=(UChar*)malloc(sizeof(UChar) * resultlength);
706 udat_getSymbols(def, UDAT_MONTHS, 11, value, resultlength, &status);
866 int32_t resultlength, resultlengthout;
871 resultlength=0;
872 resultlengthout=udat_getSymbols(datfor, type, idx , NULL, resultlength, &status);
876 resultlength=resultlengthout+1;
877 result=(UChar*)malloc(sizeof(UChar) * resultlength);
878 udat_getSymbols(datfor, type, idx, result, resultlength, &status);
900 int32_t resultlength, resultlengthout;
912 resultlength=0;
913 resultlengthout=udat_getSymbols(datfor, type, idx, NULL, resultlength, &status);
916 resultlength=resultlengthout+1;
917 result=(UChar*)malloc(sizeof(UChar) * resultlength);
918 udat_getSymbols(datfor, type, idx, result, resultlength, &status);
942 int32_t resultlength, resultlengthout;
945 resultlength=0;
946 resultlengthout=udat_getSymbols(from, type, idx , NULL, resultlength, &status);
949 resultlength=resultlengthout+1;
950 result=(UChar*)malloc(sizeof(UChar) * resultlength);
951 udat_getSymbols(from, type, idx, result, resultlength, &status);
958 resultlength=resultlengthout+1;
959 udat_setSymbols(to, type, idx, result, resultlength, &status);
966 resultlength=0;
967 resultlengthout=udat_getSymbols(to, type, idx, NULL, resultlength, &status);
970 resultlength=resultlengthout+1;
971 value=(UChar*)malloc(sizeof(UChar) * resultlength);
972 udat_getSymbols(to, type, idx, value, resultlength, &status);
995 int32_t resultlength, resultlengthneeded;
998 resultlength=0;
999 resultlengthneeded=unum_formatDouble(numfor, d, NULL, resultlength, NULL, &status);
1003 resultlength=resultlengthneeded+1;
1004 /*result2=(UChar*)malloc(sizeof(UChar) * resultlength);*/ /* this leaks */
1005 result2=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); /*this won't*/
1006 unum_formatDouble(numfor, d, result2, resultlength, NULL, &status);