/external/chromium/third_party/icu/source/test/cintltst/ |
H A D | cformtst.c | 56 int32_t resultlength, resultlengthneeded; local 60 resultlength=0; 61 resultlengthneeded=udat_format(dat, d1, NULL, resultlength, NULL, &status); 65 resultlength=resultlengthneeded+1; 66 result1=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); 67 udat_format(dat, d1, result1, resultlength, NULL, &status);
|
H A D | cmsgtst.c | 107 int32_t resultLengthOut,resultlength,i, patternlength; local 115 resultlength=1; 122 resultLengthOut=u_formatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength, 127 resultlength=resultLengthOut+1; 128 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); 129 u_formatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength, 153 resultlength=0; 154 resultLengthOut=u_formatMessageWithError( "en_US",testCasePatterns[i], patternlength, result, resultlength, 159 resultlength=resultLengthOut+1; 160 result=(UChar*)malloc(sizeof(UChar) * resultlength); 266 int32_t resultLengthOut, resultlength; local 367 int32_t resultLengthOut, resultlength; local 469 int32_t resultLengthOut, resultlength; local 563 int32_t resultLengthOut, resultlength; local 657 int32_t resultlength,resultLengthOut; local 796 int32_t resultLengthOut,resultlength,i, patternlength; local [all...] |
H A D | cdattst.c | 68 int32_t resultlength; local 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); 534 int32_t resultlength; local 866 int32_t resultlength, resultlengthout; local 900 int32_t resultlength, resultlengthout; local 942 int32_t resultlength, resultlengthout; local 995 int32_t resultlength, resultlengthneeded; local [all...] |
H A D | cnumtst.c | 102 int32_t resultlength; local 206 resultlength=0; 208 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); 212 resultlength=resultlengthneeded+1; 213 result=(UChar*)malloc(sizeof(UChar) * resultlength); 216 unum_format(cur_def, l, result, resultlength, &pos1, &status); 239 resultlength=0; 241 resultlengthneeded=unum_formatDouble(cur_def, d, NULL, resultlength, &pos2, &status); 245 resultlength=resultlengthneeded+1; 246 result=(UChar*)malloc(sizeof(UChar) * resultlength); 830 int32_t resultlength; local 874 int32_t resultlength; local [all...] |
H A D | cdtrgtst.c | 51 int32_t resultlength, resultlengthneeded; local 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); 240 int32_t resultlength, resultlengthneeded; local 246 resultlength=0; 247 resultlengthneeded=udat_toPattern(fmt, TRUE, NULL, resultlength, &status); 251 resultlength 590 int32_t resultlength, resultlengthneeded; local [all...] |
H A D | ccaltst.c | 87 int32_t resultlength, resultlengthneeded; local 218 resultlength = ucal_getCanonicalTimeZoneID(PST, -1, 305 resultlength=0; 306 resultlengthneeded=ucal_getTimeZoneDisplayName(caldef, UCAL_DST, "en_US", NULL, resultlength, &status); 311 resultlength=resultlengthneeded+1; 312 result=(UChar*)malloc(sizeof(UChar) * resultlength); 313 ucal_getTimeZoneDisplayName(caldef, UCAL_DST, "en_US", result, resultlength, &status); 335 ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_DST, "en_US", result, resultlength, &status); 341 ucal_getTimeZoneDisplayName(caldef, UCAL_STANDARD, "en_US", result, resultlength, &status); 347 ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_STANDARD, "en_US", result, resultlength, [all...] |
/external/icu4c/test/cintltst/ |
H A D | cformtst.c | 56 int32_t resultlength, resultlengthneeded; local 60 resultlength=0; 61 resultlengthneeded=udat_format(dat, d1, NULL, resultlength, NULL, &status); 65 resultlength=resultlengthneeded+1; 66 result1=(UChar*)ctst_malloc(sizeof(UChar) * resultlength); 67 udat_format(dat, d1, result1, resultlength, NULL, &status);
|
H A D | cmsgtst.c | 105 int32_t resultLengthOut,resultlength,i, patternlength; local 113 resultlength=1; 120 resultLengthOut=u_formatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength, 125 resultlength=resultLengthOut+1; 126 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); 127 u_formatMessage( "en_US",testCasePatterns[i], patternlength, result, resultlength, 151 resultlength=0; 152 resultLengthOut=u_formatMessageWithError( "en_US",testCasePatterns[i], patternlength, result, resultlength, 157 resultlength=resultLengthOut+1; 158 result=(UChar*)malloc(sizeof(UChar) * resultlength); 264 int32_t resultLengthOut, resultlength; local 365 int32_t resultLengthOut, resultlength; local 467 int32_t resultLengthOut, resultlength; local 561 int32_t resultLengthOut, resultlength; local 656 int32_t resultlength,resultLengthOut; local 726 int32_t resultlength,resultLengthOut; local 865 int32_t resultLengthOut,resultlength,i, patternlength; local [all...] |
H A D | cdattst.c | 68 int32_t resultlength; local 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); 534 int32_t resultlength; local 866 int32_t resultlength, resultlengthout; local 900 int32_t resultlength, resultlengthout; local 942 int32_t resultlength, resultlengthout; local 995 int32_t resultlength, resultlengthneeded; local [all...] |
H A D | cnumtst.c | 102 int32_t resultlength; local 206 resultlength=0; 208 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); 212 resultlength=resultlengthneeded+1; 213 result=(UChar*)malloc(sizeof(UChar) * resultlength); 216 unum_format(cur_def, l, result, resultlength, &pos1, &status); 239 resultlength=0; 241 resultlengthneeded=unum_formatDouble(cur_def, d, NULL, resultlength, &pos2, &status); 245 resultlength=resultlengthneeded+1; 246 result=(UChar*)malloc(sizeof(UChar) * resultlength); 851 int32_t resultlength; local 895 int32_t resultlength; local [all...] |
H A D | cdtrgtst.c | 51 int32_t resultlength, resultlengthneeded; local 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; local 247 resultlength=0; 248 resultlengthneeded=udat_toPattern(fmt, TRUE, NULL, resultlength, &status); 252 resultlength 591 int32_t resultlength, resultlengthneeded; local [all...] |
H A D | ccaltst.c | 91 int32_t resultlength, resultlengthneeded; local 222 resultlength = ucal_getCanonicalTimeZoneID(PST, -1, 309 resultlength=0; 310 resultlengthneeded=ucal_getTimeZoneDisplayName(caldef, UCAL_DST, "en_US", NULL, resultlength, &status); 315 resultlength=resultlengthneeded+1; 316 result=(UChar*)malloc(sizeof(UChar) * resultlength); 317 ucal_getTimeZoneDisplayName(caldef, UCAL_DST, "en_US", result, resultlength, &status); 339 ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_DST, "en_US", result, resultlength, &status); 345 ucal_getTimeZoneDisplayName(caldef, UCAL_STANDARD, "en_US", result, resultlength, &status); 351 ucal_getTimeZoneDisplayName(caldef, UCAL_SHORT_STANDARD, "en_US", result, resultlength, [all...] |
/external/openssl/apps/ |
H A D | s_cb.c | 698 unsigned int length, resultlength; local 774 buffer, length, result, &resultlength); local 777 memcpy(cookie, result, resultlength); 778 *cookie_len = resultlength; 786 unsigned int length, resultlength; local 855 buffer, length, result, &resultlength); local 858 if (cookie_len == resultlength && memcmp(result, cookie, resultlength) == 0)
|