/third_party/icu/icu4c/source/test/cintltst/ |
D | custrtrn.c | 1174 int32_t reqLen= 0 ; in Test_UChar_WCHART_API() local 1202 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in Test_UChar_WCHART_API() 1206 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); in Test_UChar_WCHART_API() 1207 wDestLen = reqLen+1; in Test_UChar_WCHART_API() 1208 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in Test_UChar_WCHART_API() 1212 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,reqLen,&err); in Test_UChar_WCHART_API() 1217 uDest = (UChar*) malloc(sizeof(UChar) * (reqLen+1)); in Test_UChar_WCHART_API() 1218 uDestLen = reqLen + 1; in Test_UChar_WCHART_API() 1219 u_strFromWCS(uDest, uDestLen,&reqLen,wDest,reqLen,&err); in Test_UChar_WCHART_API() 1251 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in Test_UChar_WCHART_API() [all …]
|
D | nfsprep.c | 218 int32_t pLen=0, sLen=0, reqLen=0, in nfs4_mixed_prepare() local 260 reqLen = pLen+sLen+1 /* for the delimiter */; in nfs4_mixed_prepare() 261 if(dest != NULL && reqLen <= destCapacity){ in nfs4_mixed_prepare() 278 return u_terminateChars(dest, destCapacity, reqLen, status); in nfs4_mixed_prepare()
|
D | capitst.c | 2096 uint32_t reqLen = 0; in TestMergeSortKeys() local 2098 reqLen = ucol_mergeSortkeys(prefixKey, prefixKeyLen, suffixKey, suffixKeyLen, smallBuf, 3); in TestMergeSortKeys() 2099 if(reqLen != (prefixKeyLen+suffixKeyLen)) { in TestMergeSortKeys()
|
/third_party/icu/icu4c/source/test/perf/normperf/ |
D | normperf.cpp | 78 int32_t reqLen = 0; in normalizeInput() local 82 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); in normalizeInput() 85 dest->name = new UChar[reqLen+1]; in normalizeInput() 86 reqLen= unorm_normalize(src,srcLen,mode, options,dest->name,reqLen+1,&status); in normalizeInput() 87 dest->len=reqLen; in normalizeInput() 95 int32_t reqLen = 0; in normalizeInput() local 100 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); in normalizeInput() 103 dest = new UChar[reqLen+1]; in normalizeInput() 104 reqLen= unorm_normalize(src,srcLen,mode, options,dest,reqLen+1,&status); in normalizeInput() 105 len=reqLen; in normalizeInput()
|
/third_party/icu/icu4c/source/test/perf/ustrperf/ |
D | stringperf.h | 283 int32_t reqLen= 0 ; in prepareBulkForStd() local 287 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen,&err); in prepareBulkForStd() 291 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen)); in prepareBulkForStd() 292 wDestLen = reqLen; in prepareBulkForStd() 293 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen,&err); in prepareBulkForStd() 304 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in prepareBulkForStd() 308 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); in prepareBulkForStd() 309 wDestLen = reqLen+1; in prepareBulkForStd() 310 u_strToWCS(wDest,wDestLen,&reqLen,uSrc,uSrcLen-1,&err); in prepareBulkForStd()
|